Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gregberge/svgr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6158fe7027da781425d544d942f0996a973689c5
Choose a base ref
...
head repository: gregberge/svgr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d5efedd372999692f84d30072e502b5a6b8fe734
Choose a head ref

Commits on Jan 30, 2022

  1. 1
    Copy the full SHA
    bbcf10b View commit details
  2. 1
    Copy the full SHA
    161d1b1 View commit details

Commits on Mar 8, 2022

  1. 1
    Copy the full SHA
    a491ace View commit details
  2. Copy the full SHA
    84c1ae2 View commit details
  3. 1
    Copy the full SHA
    54e68ae View commit details
  4. 1
    Copy the full SHA
    97e1b3a View commit details

Commits on Mar 9, 2022

  1. 1
    Copy the full SHA
    846d24f View commit details

Commits on Mar 13, 2022

  1. 1
    Copy the full SHA
    755bd68 View commit details

Commits on Apr 14, 2022

  1. 1
    Copy the full SHA
    0ec1fbd View commit details

Commits on May 14, 2022

  1. docs: grammar fixes (#715)

    SKempin authored May 14, 2022
    1
    Copy the full SHA
    846cd20 View commit details

Commits on Jun 19, 2022

  1. 1
    Copy the full SHA
    a0637d4 View commit details

Commits on Jun 20, 2022

  1. chore: upgrade deps (#733)

    gregberge authored Jun 20, 2022
    1
    Copy the full SHA
    e524416 View commit details

Commits on Jul 13, 2022

  1. 1
    Copy the full SHA
    876b1e2 View commit details

Commits on Jul 18, 2022

  1. 1
    Copy the full SHA
    2a368d1 View commit details
  2. v6.3.0

    gregberge committed Jul 18, 2022
    1
    Copy the full SHA
    d29884e View commit details
  3. 1
    Copy the full SHA
    d2a2f07 View commit details

Commits on Jul 19, 2022

  1. 1
    Copy the full SHA
    3c6a54c View commit details

Commits on Jul 22, 2022

  1. 1
    Copy the full SHA
    f3e304c View commit details
  2. v6.3.1

    gregberge committed Jul 22, 2022
    1
    Copy the full SHA
    1dbc3e2 View commit details

Commits on Sep 28, 2022

  1. feat: support spaces in file names (#779)

    Co-authored-by: Viktor Honti <viktor.honti@airtame.com>
    jamonserrano and Viktor Honti authored Sep 28, 2022
    1
    Copy the full SHA
    6ee639a View commit details
  2. docs: update vite plugin recommendation (#766)

    The plugin listed in the current docs has been deprecated: lucsky/vite-plugin-svgr#5
    mhyfritz authored Sep 28, 2022
    1
    Copy the full SHA
    725bd87 View commit details
  3. 1
    Copy the full SHA
    a9d9e98 View commit details
  4. 1
    Copy the full SHA
    8b9edc4 View commit details

Commits on Oct 1, 2022

  1. fix(deps): add babel-preset to core dependencies (#782)

    * Run `npm install`
    
    * Add "@svgr/babel-preset" to "@svgr/core" dependencies
    emlai authored Oct 1, 2022
    1
    Copy the full SHA
    464ec5f View commit details
  2. v6.4.0

    gregberge committed Oct 1, 2022
    1
    Copy the full SHA
    fd423ae View commit details
  3. 1
    Copy the full SHA
    7c290d1 View commit details

Commits on Oct 5, 2022

  1. docs: rename "master" to "main" in package.json repository fields (#784)

    This updates the "Repository" links on npmjs.com package pages; right now, following those links gives a redirect, "Branch master was renamed to main."
    joshkel authored Oct 5, 2022
    Copy the full SHA
    80e8833 View commit details
  2. fix: fix Yarn peer dependency warning from @babel/core (#786)

    Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:
    
    ```
    ➤ YN0002: │ @svgr/core@npm:6.4.0 doesn't provide @babel/core (p0b84c), requested by @svgr/babel-preset
    ```
    
    Fixes #785
    joshkel authored Oct 5, 2022
    Copy the full SHA
    db35837 View commit details

Commits on Oct 14, 2022

  1. Copy the full SHA
    35d85e0 View commit details
  2. v6.5.0

    gregberge committed Oct 14, 2022
    1
    Copy the full SHA
    b385279 View commit details

Commits on Oct 26, 2022

  1. Copy the full SHA
    1382232 View commit details
  2. Copy the full SHA
    21fef1b View commit details

Commits on Oct 27, 2022

  1. Merge pull request #789 from pachuka/fix/svgr-788-accessibility-docs

    docs(a11y): revert #750 and add accessibility documentation for `svgProps` override
    gregberge authored Oct 27, 2022
    1
    Copy the full SHA
    e700943 View commit details
  2. chore: upgrade deps

    gregberge committed Oct 27, 2022
    Copy the full SHA
    290748b View commit details
  3. Merge pull request #791 from gregberge/upgrade-deps

    chore: upgrade deps
    gregberge authored Oct 27, 2022
    1
    Copy the full SHA
    1b65014 View commit details
  4. v6.5.1

    gregberge committed Oct 27, 2022
    1
    Copy the full SHA
    d5efedd View commit details
Showing with 28,996 additions and 35,619 deletions.
  1. +4 −7 .github/workflows/ci.yml
  2. +1 −1 .gitignore
  3. +1 −1 .nvmrc
  4. +190 −333 CHANGELOG.md
  5. +5 −9 babel.config.js
  6. +1 −1 examples/mocha-esm/package.json
  7. +4 −4 examples/webpack/package.json
  8. +1 −1 jest.config.js
  9. +2 −4 lerna.json
  10. +11,117 −9,792 package-lock.json
  11. +20 −20 package.json
  12. +18 −12 packages/babel-plugin-add-jsx-attribute/CHANGELOG.md
  13. +10 −4 packages/babel-plugin-add-jsx-attribute/package.json
  14. +2 −2 packages/babel-plugin-add-jsx-attribute/src/index.test.ts
  15. +30 −0 packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md
  16. +10 −4 packages/babel-plugin-remove-jsx-attribute/package.json
  17. +30 −0 packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md
  18. +10 −4 packages/babel-plugin-remove-jsx-empty-expression/package.json
  19. +21 −11 packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md
  20. +10 −4 packages/babel-plugin-replace-jsx-attribute-value/package.json
  21. +1 −1 packages/babel-plugin-replace-jsx-attribute-value/src/index.test.ts
  22. +23 −28 packages/babel-plugin-svg-dynamic-title/CHANGELOG.md
  23. +4 −0 packages/babel-plugin-svg-dynamic-title/README.md
  24. +10 −4 packages/babel-plugin-svg-dynamic-title/package.json
  25. +58 −5 packages/babel-plugin-svg-dynamic-title/src/index.test.ts
  26. +41 −26 packages/babel-plugin-svg-dynamic-title/src/index.ts
  27. +18 −12 packages/babel-plugin-svg-em-dimensions/CHANGELOG.md
  28. +10 −4 packages/babel-plugin-svg-em-dimensions/package.json
  29. +4 −8 packages/babel-plugin-svg-em-dimensions/src/index.test.ts
  30. +21 −17 packages/babel-plugin-transform-react-native-svg/CHANGELOG.md
  31. +10 −4 packages/babel-plugin-transform-react-native-svg/package.json
  32. +4 −5 packages/babel-plugin-transform-react-native-svg/src/index.test.ts
  33. +32 −63 packages/babel-plugin-transform-svg-component/CHANGELOG.md
  34. +10 −4 packages/babel-plugin-transform-svg-component/package.json
  35. +166 −148 packages/babel-plugin-transform-svg-component/src/__snapshots__/index.test.ts.snap
  36. +44 −2 packages/babel-plugin-transform-svg-component/src/index.test.ts
  37. +1 −0 packages/babel-plugin-transform-svg-component/src/types.ts
  38. +40 −23 packages/babel-plugin-transform-svg-component/src/variables.ts
  39. +37 −70 packages/babel-preset/CHANGELOG.md
  40. +18 −12 packages/babel-preset/package.json
  41. +75 −30 packages/babel-preset/src/index.test.ts
  42. +16 −0 packages/babel-preset/src/index.ts
  43. +70 −173 packages/cli/CHANGELOG.md
  44. +1 −0 packages/cli/README.md
  45. +10 −10 packages/cli/package.json
  46. +134 −143 packages/cli/src/__snapshots__/index.test.ts.snap
  47. +7 −11 packages/cli/src/__snapshots__/util.test.ts.snap
  48. +4 −1 packages/cli/src/dirCommand.ts
  49. +13 −14 packages/cli/src/index.test.ts
  50. +1 −0 packages/cli/src/index.ts
  51. +90 −174 packages/core/CHANGELOG.md
  52. +14 −7 packages/core/package.json
  53. +28 −20 packages/core/src/__snapshots__/config.test.ts.snap
  54. +214 −223 packages/core/src/__snapshots__/transform.test.ts.snap
  55. +2 −0 packages/core/src/config.ts
  56. +4 −0 packages/core/src/state.test.ts
  57. +1 −1 packages/core/src/state.ts
  58. +12 −0 packages/core/src/transform.test.ts
  59. +30 −58 packages/hast-util-to-babel-ast/CHANGELOG.md
  60. +1 −1 packages/hast-util-to-babel-ast/README.md
  61. +12 −6 packages/hast-util-to-babel-ast/package.json
  62. +2 −2 packages/hast-util-to-babel-ast/src/__snapshots__/index.test.ts.snap
  63. +7 −7 packages/hast-util-to-babel-ast/src/index.test.ts
  64. +33 −83 packages/plugin-jsx/CHANGELOG.md
  65. +14 −8 packages/plugin-jsx/package.json
  66. +7 −14 packages/plugin-jsx/src/index.test.ts
  67. +1 −0 packages/plugin-jsx/src/index.ts
  68. +23 −49 packages/plugin-prettier/CHANGELOG.md
  69. +12 −6 packages/plugin-prettier/package.json
  70. +30 −70 packages/plugin-svgo/CHANGELOG.md
  71. +12 −6 packages/plugin-svgo/package.json
  72. +7 −7 packages/plugin-svgo/src/__snapshots__/index.test.ts.snap
  73. +48 −152 packages/rollup/CHANGELOG.md
  74. +1 −1 packages/rollup/README.md
  75. +20 −14 packages/rollup/package.json
  76. +15 −25 packages/rollup/src/__snapshots__/index.test.ts.snap
  77. +2 −2 packages/rollup/src/index.ts
  78. +50 −157 packages/webpack/CHANGELOG.md
  79. +1 −1 packages/webpack/README.md
  80. +20 −14 packages/webpack/package.json
  81. +52 −67 packages/webpack/src/__snapshots__/index.test.ts.snap
  82. +15,744 −23,391 website/package-lock.json
  83. +18 −12 website/package.json
  84. +1 −0 website/pages/docs/cli.mdx
  85. +1 −0 website/pages/docs/configuration-files.mdx
  86. +1 −0 website/pages/docs/custom-templates.mdx
  87. +1 −0 website/pages/docs/custom-transformations.mdx
  88. +2 −1 website/pages/docs/ecosystem.mdx
  89. +3 −2 website/pages/docs/getting-started.mdx
  90. +1 −0 website/pages/docs/jest.mdx
  91. +2 −1 website/pages/docs/migrate.mdx
  92. +1 −0 website/pages/docs/mocha.mdx
  93. +1 −0 website/pages/docs/next.mdx
  94. +1 −0 website/pages/docs/node-api.mdx
  95. +31 −0 website/pages/docs/options.mdx
  96. +1 −0 website/pages/docs/parcel.mdx
  97. +1 −0 website/pages/docs/rollup.mdx
  98. +1 −0 website/pages/docs/supporting-svgr.mdx
  99. +3 −0 website/pages/docs/webpack.mdx
  100. +1 −0 website/pages/docs/what-is-svgr.mdx
  101. +39 −5 website/src/components/playground/Playground.js
  102. +7 −0 website/src/components/playground/config/settings.js
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -12,22 +12,19 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
uses: actions/setup-node@v3

- name: Use latest npm
run: npm i -g npm@latest --registry=https://registry.npmjs.org
if: ${{ matrix.node-version == '12.x' || matrix.node-version == '14.x' }}
if: ${{ matrix.node-version == '14.x' }}

- name: Install dependencies
run: npm ci
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -4,4 +4,4 @@ dist/
!svgr.now.sh/lib/
__fixtures_build__/
src/__fixtures__/dist/
coverage/
coverage/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
Loading