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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump jest-haste-map #432

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -22,7 +22,7 @@
"codecov": "^2.2.0",
"debug": "^2.2.0",
"eslint": "5.1.0",
"eslint-config-fb-strict": "22.1.0",
"eslint-config-fb-strict": "24.0.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly better...

Before:
image

After:
image

"eslint-plugin-babel": "^5.2.1",
"eslint-plugin-flowtype": "2.43.0",
"eslint-plugin-import": "^2.9.0",
Expand All @@ -36,7 +36,7 @@
"glob": "^7.1.1",
"istanbul-api": "^1.1.0",
"istanbul-lib-coverage": "^1.0.0",
"jest": "^24.7.1",
"jest": "^24.8.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not

"lerna": "2.4.0",
"micromatch": "^2.3.11",
"mkdirp": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-core/package.json
Expand Up @@ -12,7 +12,7 @@
"cleanup-release": "test ! -e build && mv src build && mv src.real src"
},
"dependencies": {
"jest-haste-map": "^24.7.1",
"jest-haste-map": "^24.8.1",
"lodash.throttle": "^4.1.1",
"metro-resolver": "0.55.0",
"wordwrap": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/metro/package.json
Expand Up @@ -35,7 +35,7 @@
"graceful-fs": "^4.1.3",
"image-size": "^0.6.0",
"invariant": "^2.2.4",
"jest-haste-map": "^24.7.1",
"jest-haste-map": "^24.8.1",
"jest-worker": "^24.6.0",
"json-stable-stringify": "^1.0.1",
"lodash.throttle": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Expand Up @@ -99,7 +99,7 @@ function buildFile(file, silent) {
);
} else {
const transformed = prettier.format(babel.transformFileSync(file, {}).code, {
parser: 'babylon',
parser: 'babel',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

});
fs.writeFileSync(destPath, transformed);
const source = fs.readFileSync(file).toString('utf-8');
Expand Down