Skip to content

Commit

Permalink
Upgrade jscodeshift to 0.14.0
Browse files Browse the repository at this point in the history
Fixes deprecated warning described in storybookjs#20822
  • Loading branch information
programmarchy committed Feb 3, 2023
1 parent 904dba3 commit d57cb30
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/lib/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"get-port": "^5.1.1",
"giget": "^1.0.0",
"globby": "^11.0.2",
"jscodeshift": "^0.13.1",
"jscodeshift": "^0.14.0",
"leven": "^3.1.0",
"prompts": "^2.4.0",
"puppeteer-core": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@storybook/types": "7.0.0-beta.41",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.13.1",
"jscodeshift": "^0.14.0",
"lodash": "^4.17.21",
"prettier": "^2.8.0",
"recast": "^0.23.1",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/postinstall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"devDependencies": {
"jest": "^29.3.1",
"jest-specific-snapshot": "^7.0.0",
"jscodeshift": "^0.13.1",
"jscodeshift": "^0.14.0",
"typescript": "~4.9.3"
},
"publishConfig": {
Expand Down
49 changes: 46 additions & 3 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5951,7 +5951,7 @@ __metadata:
get-port: ^5.1.1
giget: ^1.0.0
globby: ^11.0.2
jscodeshift: ^0.13.1
jscodeshift: ^0.14.0
leven: ^3.1.0
prompts: ^2.4.0
puppeteer-core: ^2.1.1
Expand Down Expand Up @@ -6014,7 +6014,7 @@ __metadata:
globby: ^11.0.2
jest: ^29.3.1
jest-specific-snapshot: ^7.0.0
jscodeshift: ^0.13.1
jscodeshift: ^0.14.0
lodash: ^4.17.21
prettier: ^2.8.0
recast: ^0.23.1
Expand Down Expand Up @@ -6572,7 +6572,7 @@ __metadata:
dependencies:
jest: ^29.3.1
jest-specific-snapshot: ^7.0.0
jscodeshift: ^0.13.1
jscodeshift: ^0.14.0
typescript: ~4.9.3
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -18981,6 +18981,37 @@ __metadata:
languageName: node
linkType: hard

"jscodeshift@npm:^0.14.0":
version: 0.14.0
resolution: "jscodeshift@npm:0.14.0"
dependencies:
"@babel/core": ^7.13.16
"@babel/parser": ^7.13.16
"@babel/plugin-proposal-class-properties": ^7.13.0
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.13.8
"@babel/plugin-proposal-optional-chaining": ^7.13.12
"@babel/plugin-transform-modules-commonjs": ^7.13.8
"@babel/preset-flow": ^7.13.13
"@babel/preset-typescript": ^7.13.0
"@babel/register": ^7.13.16
babel-core: ^7.0.0-bridge.0
chalk: ^4.1.2
flow-parser: 0.*
graceful-fs: ^4.2.4
micromatch: ^4.0.4
neo-async: ^2.5.0
node-dir: ^0.1.17
recast: ^0.21.0
temp: ^0.8.4
write-file-atomic: ^2.3.0
peerDependencies:
"@babel/preset-env": ^7.1.6
bin:
jscodeshift: bin/jscodeshift.js
checksum: dab63bdb4b7e67d79634fcd3f5dc8b227146e9f68aa88700bc49c5a45b6339d05bd934a98aa53d29abd04f81237d010e7e037799471b2aab66ec7b9a7d752786
languageName: node
linkType: hard

"jsdom@npm:^19.0.0":
version: 19.0.0
resolution: "jsdom@npm:19.0.0"
Expand Down Expand Up @@ -24155,6 +24186,18 @@ __metadata:
languageName: node
linkType: hard

"recast@npm:^0.21.0":
version: 0.21.5
resolution: "recast@npm:0.21.5"
dependencies:
ast-types: 0.15.2
esprima: ~4.0.0
source-map: ~0.6.1
tslib: ^2.0.1
checksum: a45168c82195f24fa2c70293a624fece0069a2e8e8adb637f9963777735f81cb3bb62e55172db677ec3573b08b2daaf1eddd85b74da6fe0bd37c9b15eeaf94b4
languageName: node
linkType: hard

"recast@npm:^0.23.1":
version: 0.23.1
resolution: "recast@npm:0.23.1"
Expand Down

0 comments on commit d57cb30

Please sign in to comment.