Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all svgr packages to v8 (major) #2594

Merged
merged 2 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
"@percy/puppeteer": "2.0.2",
"@preconstruct/cli": "2.6.4",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@svgr/babel-plugin-svg-dynamic-title": "^7.0.0",
"@svgr/cli": "7.0.0",
"@svgr/core": "7.0.0",
"@svgr/plugin-jsx": "7.0.0",
"@svgr/plugin-svgo": "7.0.0",
"@svgr/babel-plugin-svg-dynamic-title": "^8.0.0",
"@svgr/cli": "8.1.0",
"@svgr/core": "8.1.0",
"@svgr/plugin-jsx": "8.1.0",
"@svgr/plugin-svgo": "8.1.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion svgr.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const templateCreateStyledIcon = fs.readFileSync(
);

const indexTemplate = (filePaths) => {
const exportEntries = filePaths.map((filePath) => {
const exportEntries = filePaths.map(({ path: filePath }) => {
const basename = path.basename(filePath, path.extname(filePath));
const exportName = `${basename.replace(/react/i, 'Icon')}`;
return `export { default as ${exportName} } from './${basename}'`;
Expand Down
210 changes: 130 additions & 80 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6399,171 +6399,175 @@ __metadata:
languageName: node
linkType: hard

"@svgr/babel-plugin-add-jsx-attribute@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:7.0.0"
"@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: ecdf432de38a6789e419758425e766651c14c78e6c537158796dfdbbb930f69fb36f11b5ad046c6fbb70d4c6ad567d6ffc45e3afa3fc5f3330234c34299e96a7
checksum: 3fc8e35d16f5abe0af5efe5851f27581225ac405d6a1ca44cda0df064cddfcc29a428c48c2e4bef6cebf627c9ac2f652a096030edb02cf5a120ce28d3c234710
languageName: node
linkType: hard

"@svgr/babel-plugin-remove-jsx-attribute@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-remove-jsx-attribute@npm:7.0.0"
"@svgr/babel-plugin-remove-jsx-attribute@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-remove-jsx-attribute@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 808ba216eea6904b2c0b664957b1ad4d3e0d9e36635ad2fca7fb2667031730cbbe067421ac0d50209f7c83dc3b6c2eff8f377780268cd1606c85603bc47b18d7
checksum: ff992893c6c4ac802713ba3a97c13be34e62e6d981c813af40daabcd676df68a72a61bd1e692bb1eda3587f1b1d700ea462222ae2153bb0f46886632d4f88d08
languageName: node
linkType: hard

"@svgr/babel-plugin-remove-jsx-empty-expression@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-remove-jsx-empty-expression@npm:7.0.0"
"@svgr/babel-plugin-remove-jsx-empty-expression@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-remove-jsx-empty-expression@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: da0cae989cc99b5437c877412da6251eef57edfff8514b879c1245b6519edfda101ebc4ba2be3cce3aa9a6014050ea4413e004084d839afd8ac8ffc587a921bf
checksum: 0fb691b63a21bac00da3aa2dccec50d0d5a5b347ff408d60803b84410d8af168f2656e4ba1ee1f24dab0ae4e4af77901f2928752bb0434c1f6788133ec599ec8
languageName: node
linkType: hard

"@svgr/babel-plugin-replace-jsx-attribute-value@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-replace-jsx-attribute-value@npm:7.0.0"
"@svgr/babel-plugin-replace-jsx-attribute-value@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-replace-jsx-attribute-value@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: e624918b545e414a1d0fbace6fc6f8c1c27dac4bf6e5fd4cbc9d8fbc9353fdf4bf6c4fe8b84fb938dfb5c0076cd2ed90b91ac60c0a7011f6e8b0cb71eabe60b3
checksum: 1edda65ef4f4dd8f021143c8ec276a08f6baa6f733b8e8ee2e7775597bf6b97afb47fdeefd579d6ae6c959fe2e634f55cd61d99377631212228c8cfb351b8921
languageName: node
linkType: hard

"@svgr/babel-plugin-svg-dynamic-title@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-svg-dynamic-title@npm:7.0.0"
"@svgr/babel-plugin-svg-dynamic-title@npm:8.0.0, @svgr/babel-plugin-svg-dynamic-title@npm:^8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-svg-dynamic-title@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 3ffc97cc61573ae4fb2e013ec0572b2273f55e8e125bb6c7fc69ae9fb433a675dc879f85166979cf21e1d0f1a5e168dabf116dcc468f132e83928b66cd791e1a
checksum: 876cec891488992e6a9aebb8155e2bea4ec461b4718c51de36e988e00e271c6d9d01ef6be17b9effd44b2b3d7db0b41c161a5904a46ae6f38b26b387ad7f3709
languageName: node
linkType: hard

"@svgr/babel-plugin-svg-em-dimensions@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-svg-em-dimensions@npm:7.0.0"
"@svgr/babel-plugin-svg-em-dimensions@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-svg-em-dimensions@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 0f98ee5269983038ec8098fd1906f600199a9c7a48caca9ced1644f988cdb06acc434ec239554d8987bc2098a772c5b472f1cbb6a46dc8f39aa353aea818c963
checksum: be0e2d391164428327d9ec469a52cea7d93189c6b0e2c290999e048f597d777852f701c64dca44cd45b31ed14a7f859520326e2e4ad7c3a4545d0aa235bc7e9a
languageName: node
linkType: hard

"@svgr/babel-plugin-transform-react-native-svg@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-transform-react-native-svg@npm:7.0.0"
"@svgr/babel-plugin-transform-react-native-svg@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/babel-plugin-transform-react-native-svg@npm:8.1.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 20067965349a9ed5ec339d63a2983a613135ae4dac416bd754683e41fdc91671f62d1950955f4ae57ec03525d13d7b0db467d4c2eb31ec22eafbe240fc840836
checksum: 85b434a57572f53bd2b9f0606f253e1fcf57b4a8c554ec3f2d43ed17f50d8cae200cb3aaf1ec9d626e1456e8b135dce530ae047eb0bed6d4bf98a752d6640459
languageName: node
linkType: hard

"@svgr/babel-plugin-transform-svg-component@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-plugin-transform-svg-component@npm:7.0.0"
"@svgr/babel-plugin-transform-svg-component@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/babel-plugin-transform-svg-component@npm:8.0.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: cf5be9c6b24a4a9c0afefe67214370af1cd562d9a06082a89486ec25298a223766cdf57591c92750764068a0d27377c3ce3a9609d18eaae59f64c94e60f2b25c
checksum: 04e2023d75693eeb0890341c40e449881184663056c249be7e5c80168e4aabb0fadd255e8d5d2dbf54b8c2a6e700efba994377135bfa4060dc4a2e860116ef8c
languageName: node
linkType: hard

"@svgr/babel-preset@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/babel-preset@npm:7.0.0"
"@svgr/babel-preset@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/babel-preset@npm:8.1.0"
dependencies:
"@svgr/babel-plugin-add-jsx-attribute": ^7.0.0
"@svgr/babel-plugin-remove-jsx-attribute": ^7.0.0
"@svgr/babel-plugin-remove-jsx-empty-expression": ^7.0.0
"@svgr/babel-plugin-replace-jsx-attribute-value": ^7.0.0
"@svgr/babel-plugin-svg-dynamic-title": ^7.0.0
"@svgr/babel-plugin-svg-em-dimensions": ^7.0.0
"@svgr/babel-plugin-transform-react-native-svg": ^7.0.0
"@svgr/babel-plugin-transform-svg-component": ^7.0.0
"@svgr/babel-plugin-add-jsx-attribute": 8.0.0
"@svgr/babel-plugin-remove-jsx-attribute": 8.0.0
"@svgr/babel-plugin-remove-jsx-empty-expression": 8.0.0
"@svgr/babel-plugin-replace-jsx-attribute-value": 8.0.0
"@svgr/babel-plugin-svg-dynamic-title": 8.0.0
"@svgr/babel-plugin-svg-em-dimensions": 8.0.0
"@svgr/babel-plugin-transform-react-native-svg": 8.1.0
"@svgr/babel-plugin-transform-svg-component": 8.0.0
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 8c3ff1df1627b2db03e4755281b02e7f440323c9c9f71e3c8ebdab0e1966e24ca16686224da72a92e34b722e693bfa408aca5c62d42b02382e0c528bd3860be6
checksum: 3a67930f080b8891e1e8e2595716b879c944d253112bae763dce59807ba23454d162216c8d66a0a0e3d4f38a649ecd6c387e545d1e1261dd69a68e9a3392ee08
languageName: node
linkType: hard

"@svgr/cli@npm:7.0.0":
version: 7.0.0
resolution: "@svgr/cli@npm:7.0.0"
"@svgr/cli@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/cli@npm:8.1.0"
dependencies:
"@svgr/core": ^7.0.0
"@svgr/plugin-jsx": ^7.0.0
"@svgr/plugin-prettier": ^7.0.0
"@svgr/plugin-svgo": ^7.0.0
"@svgr/core": 8.1.0
"@svgr/plugin-jsx": 8.1.0
"@svgr/plugin-prettier": 8.1.0
"@svgr/plugin-svgo": 8.1.0
camelcase: ^6.2.0
chalk: ^4.1.2
commander: ^9.4.1
dashify: ^2.0.0
glob: ^8.0.3
snake-case: ^3.0.4
bin:
svgr: bin/svgr
checksum: c149b4013a08909f100699c8cfc85c4045addc94e0984908dcc1740e5474bd289133a9083580cf89fe9136b69a732347cc05bde586826abcd08974a69baa5412
checksum: 43c73c9a6e7d18813f7f3ec692b0cdc42df0231ff7be40ff8c16accf7dd3a63527539819117b41f1e70963897fbc7e63e77a903fbc766aafbeaa3a7c5839289d
languageName: node
linkType: hard

"@svgr/core@npm:7.0.0, @svgr/core@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/core@npm:7.0.0"
"@svgr/core@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/core@npm:8.1.0"
dependencies:
"@babel/core": ^7.21.3
"@svgr/babel-preset": ^7.0.0
"@svgr/babel-preset": 8.1.0
camelcase: ^6.2.0
cosmiconfig: ^8.1.3
checksum: 34fa14557baf560c78a6d7ac79401d35feb081d54ab55ee1b43d1649a89b322b4ecc7dba3daca0063af1f639c499cea1c46e34e5b066655ae7dc3553c1a64672
snake-case: ^3.0.4
checksum: da4a12865c7dc59829d58df8bd232d6c85b7115fda40da0d2f844a1a51886e2e945560596ecfc0345d37837ac457de86a931e8b8d8550e729e0c688c02250d8a
languageName: node
linkType: hard

"@svgr/hast-util-to-babel-ast@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/hast-util-to-babel-ast@npm:7.0.0"
"@svgr/hast-util-to-babel-ast@npm:8.0.0":
version: 8.0.0
resolution: "@svgr/hast-util-to-babel-ast@npm:8.0.0"
dependencies:
"@babel/types": ^7.21.3
entities: ^4.4.0
checksum: c2168c36c8d25e876da879815728310cf204579c97a73908ce33b063cccfb9a18b6e53f53c6daf81506a96761d84b6261bf64faf26f16453f27e73cb322a9256
checksum: 88401281a38bbc7527e65ff5437970414391a86158ef4b4046c89764c156d2d39ecd7cce77be8a51994c9fb3249170cb1eb8b9128b62faaa81743ef6ed3534ab
languageName: node
linkType: hard

"@svgr/plugin-jsx@npm:7.0.0, @svgr/plugin-jsx@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/plugin-jsx@npm:7.0.0"
"@svgr/plugin-jsx@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/plugin-jsx@npm:8.1.0"
dependencies:
"@babel/core": ^7.21.3
"@svgr/babel-preset": ^7.0.0
"@svgr/hast-util-to-babel-ast": ^7.0.0
"@svgr/babel-preset": 8.1.0
"@svgr/hast-util-to-babel-ast": 8.0.0
svg-parser: ^2.0.4
checksum: 009421b8e3f32bf13ebec4d47c7997106cd806c6922349871f2d9a77cd3304f55d30630dd8948ff77a9ead2ee1869ac39ad65cf95ab95b2192ef21d5704bd367
peerDependencies:
"@svgr/core": "*"
checksum: 0418a9780753d3544912ee2dad5d2cf8d12e1ba74df8053651b3886aeda54d5f0f7d2dece0af5e0d838332c4f139a57f0dabaa3ca1afa4d1a765efce6a7656f2
languageName: node
linkType: hard

"@svgr/plugin-prettier@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/plugin-prettier@npm:7.0.0"
"@svgr/plugin-prettier@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/plugin-prettier@npm:8.1.0"
dependencies:
deepmerge: ^4.3.1
prettier: ^2.8.7
peerDependencies:
"@svgr/core": "*"
checksum: 3dd5d70727e21b4c80833e921833a4650ff2ad6f30ed2120aa1bf12fe538fc862e96a0eed913f4c34de3fa619972b2c134118384bdc1e2690e2524587ad0d7c4
checksum: 660bbfe63add9b855e8269411857f4b23ee3ed86b11ba16d7c1b704c47a934f267649587f9e0c7a3a0841b4ae70d8b844439f3f6c8d4df75efd9590ede0784f2
languageName: node
linkType: hard

"@svgr/plugin-svgo@npm:7.0.0, @svgr/plugin-svgo@npm:^7.0.0":
version: 7.0.0
resolution: "@svgr/plugin-svgo@npm:7.0.0"
"@svgr/plugin-svgo@npm:8.1.0":
version: 8.1.0
resolution: "@svgr/plugin-svgo@npm:8.1.0"
dependencies:
cosmiconfig: ^8.1.3
deepmerge: ^4.3.1
svgo: ^3.0.2
peerDependencies:
"@svgr/core": "*"
checksum: 6ad02bb42633f46ab12febe2cf2a24013335566de5684668c03fd0c49e551feab00e902e0aaac05cb24e54647489aa51198d9b8d2ebf6d20ac65e12ee813414d
checksum: 59d9d214cebaacca9ca71a561f463d8b7e5a68ca9443e4792a42d903acd52259b1790c0680bc6afecc3f00a255a6cbd7ea278a9f625bac443620ea58a590c2d0
languageName: node
linkType: hard

Expand Down Expand Up @@ -10287,6 +10291,16 @@ __metadata:
languageName: node
linkType: hard

"dot-case@npm:^3.0.4":
version: 3.0.4
resolution: "dot-case@npm:3.0.4"
dependencies:
no-case: ^3.0.4
tslib: ^2.0.3
checksum: a65e3519414856df0228b9f645332f974f2bf5433370f544a681122eab59e66038fc3349b4be1cdc47152779dac71a5864f1ccda2f745e767c46e9c6543b1169
languageName: node
linkType: hard

"dot-prop@npm:^5.1.0, dot-prop@npm:^5.3.0":
version: 5.3.0
resolution: "dot-prop@npm:5.3.0"
Expand Down Expand Up @@ -14689,6 +14703,15 @@ __metadata:
languageName: node
linkType: hard

"lower-case@npm:^2.0.2":
version: 2.0.2
resolution: "lower-case@npm:2.0.2"
dependencies:
tslib: ^2.0.3
checksum: 83a0a5f159ad7614bee8bf976b96275f3954335a84fad2696927f609ddae902802c4f3312d86668722e668bef41400254807e1d3a7f2e8c3eede79691aa1f010
languageName: node
linkType: hard

"lowercase-keys@npm:^1.0.0, lowercase-keys@npm:^1.0.1":
version: 1.0.1
resolution: "lowercase-keys@npm:1.0.1"
Expand Down Expand Up @@ -15474,6 +15497,16 @@ __metadata:
languageName: node
linkType: hard

"no-case@npm:^3.0.4":
version: 3.0.4
resolution: "no-case@npm:3.0.4"
dependencies:
lower-case: ^2.0.2
tslib: ^2.0.3
checksum: 0b2ebc113dfcf737d48dde49cfebf3ad2d82a8c3188e7100c6f375e30eafbef9e9124aadc3becef237b042fd5eb0aad2fd78669c20972d045bbe7fea8ba0be5c
languageName: node
linkType: hard

"node-abi@npm:^2.7.0":
version: 2.30.1
resolution: "node-abi@npm:2.30.1"
Expand Down Expand Up @@ -18150,6 +18183,16 @@ __metadata:
languageName: node
linkType: hard

"snake-case@npm:^3.0.4":
version: 3.0.4
resolution: "snake-case@npm:3.0.4"
dependencies:
dot-case: ^3.0.4
tslib: ^2.0.3
checksum: 0a7a79900bbb36f8aaa922cf111702a3647ac6165736d5dc96d3ef367efc50465cac70c53cd172c382b022dac72ec91710608e5393de71f76d7142e6fd80e8a3
languageName: node
linkType: hard

"socks-proxy-agent@npm:^7.0.0":
version: 7.0.0
resolution: "socks-proxy-agent@npm:7.0.0"
Expand Down Expand Up @@ -19295,6 +19338,13 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:^2.0.3":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad
languageName: node
linkType: hard

"tsutils@npm:^3.21.0":
version: 3.21.0
resolution: "tsutils@npm:3.21.0"
Expand Down Expand Up @@ -19502,11 +19552,11 @@ __metadata:
"@percy/puppeteer": 2.0.2
"@preconstruct/cli": 2.6.4
"@stylelint/postcss-css-in-js": ^0.38.0
"@svgr/babel-plugin-svg-dynamic-title": ^7.0.0
"@svgr/cli": 7.0.0
"@svgr/core": 7.0.0
"@svgr/plugin-jsx": 7.0.0
"@svgr/plugin-svgo": 7.0.0
"@svgr/babel-plugin-svg-dynamic-title": ^8.0.0
"@svgr/cli": 8.1.0
"@svgr/core": 8.1.0
"@svgr/plugin-jsx": 8.1.0
"@svgr/plugin-svgo": 8.1.0
"@testing-library/jest-dom": 5.16.5
"@testing-library/react": 12.1.5
"@testing-library/react-hooks": 8.0.1
Expand Down
Loading