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

Upgrade jscodeshift dependency for colors.js bug #17265

Merged
merged 1 commit into from Jan 18, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cli/package.json
Expand Up @@ -64,7 +64,7 @@
"fs-extra": "^9.0.1",
"get-port": "^5.1.1",
"globby": "^11.0.2",
"jscodeshift": "^0.11.0",
"jscodeshift": "^0.13.1",
"json5": "^2.1.3",
"leven": "^3.1.0",
"prompts": "^2.4.0",
Expand Down
2 changes: 1 addition & 1 deletion lib/codemod/package.json
Expand Up @@ -49,7 +49,7 @@
"core-js": "^3.8.2",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.7.0",
"jscodeshift": "^0.13.1",
"lodash": "^4.17.21",
"prettier": "<=2.3.0",
"recast": "^0.19.0",
Expand Down
4 changes: 2 additions & 2 deletions lib/postinstall/package.json
Expand Up @@ -44,9 +44,9 @@
"core-js": "^3.8.2"
},
"devDependencies": {
"@hypnosphi/jscodeshift": "^0.6.4",
"jest": "^26.6.3",
"jest-specific-snapshot": "^4.0.0"
"jest-specific-snapshot": "^4.0.0",
"jscodeshift": "^0.13.1"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions lib/postinstall/src/codemods.test.ts
@@ -1,8 +1,7 @@
import path from 'path';
import fs from 'fs';
import 'jest-specific-snapshot';
// TODO move back to original 'jscodeshift' package as soon as https://github.com/facebook/jscodeshift/pull/297 is released
import { applyTransform } from '@hypnosphi/jscodeshift/dist/testUtils';
import { applyTransform } from 'jscodeshift/dist/testUtils';

jest.mock('@storybook/node-logger');

Expand Down