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

chore: bump package versions #6978

Merged
merged 2 commits into from
Sep 19, 2018
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
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ untyped-import
untyped-type-import

[version]
^0.75.0
^0.80.0
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
- `[examples]` add example using Babel 7 ([#6983](https://github.com/facebook/jest/pull/6983))
- `[docs]` Replace shallow equality with referential identity in `ExpectAPI.md` ([#6991](https://github.com/facebook/jest/pull/6991))
- `[jest-changed-files]` Refactor to use `execa` over `child_process` ([#6987](https://github.com/facebook/jest/pull/6987))
- `[*]` Bump dated dependencies ([#6978](https://github.com/facebook/jest/pull/6978))

## 23.6.0

### Features

- `[jest-ci]` Add `changedSince` to allowed watch mode configs ([#6955](https://github.com/facebook/jest/pull/6955))
- `[jest-cli]` Add `changedSince` to allowed watch mode configs ([#6955](https://github.com/facebook/jest/pull/6955))
- `[babel-jest]` Add support for `babel.config.js` added in Babel 7.0.0 ([#6911](https://github.com/facebook/jest/pull/6911))

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/detect_open_handles.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ exports[`prints out info about open handlers from inside tests 1`] = `
4 | });
5 |

at Object.<anonymous>.test (__tests__/inside.js:2:3)"
at Object.setTimeout (__tests__/inside.js:2:3)"
`;
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/process_exit.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ exports[`prints stack trace pointing to process.exit call 1`] = `
3 | test('something', () => {
4 | expect(true).toBe(true);

at Object.<anonymous> (__tests__/test.js:1:9)
at Object.exit (__tests__/test.js:1:9)
"
`;
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/transform.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`custom transformer instruments files 1`] = `
"----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 0 | 0 | 0 | 0 | |
All files | Unknown | Unknown | Unknown | Unknown | |

This comment was marked as resolved.

----------|----------|----------|----------|----------|-------------------|"
`;

Expand Down
4 changes: 2 additions & 2 deletions e2e/__tests__/detect_open_handles.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ it('prints out info about open handlers', async () => {
| ^
8 |

at Object.<anonymous> (server.js:7:5)
at Object.<anonymous> (__tests__/outside.js:1:1)
at Object.listen (server.js:7:5)
at Object.require (__tests__/outside.js:1:1)
`.trim(),
);
});
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.9.0",
"lerna": "3.4.0",
"version": "23.6.0",
"npmClient": "npm",
"useWorkspaces": true
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"private": true,
"devDependencies": {
"ansi-regex": "^3.0.0",
"ansi-regex": "^4.0.0",
"ansi-styles": "^3.2.0",
"babel-core": "^6.23.1",
"babel-eslint": "^8.2.3",
"babel-eslint": "^9.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
"babel-plugin-transform-async-to-generator": "^6.16.0",
Expand All @@ -24,9 +24,9 @@
"browserify": "^16.1.0",
"chalk": "^2.0.1",
"codecov": "^3.0.0",
"debug": "^3.0.1",
"debug": "^4.0.1",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.6.0",
Expand All @@ -36,8 +36,8 @@
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-relay": "~0.0.19",
"execa": "^0.10.0",
"flow-bin": "^0.75.0",
"execa": "^1.0.0",
"flow-bin": "^0.80.0",
"glob": "^7.1.1",
"graceful-fs": "^4.1.11",
"istanbul-api": "^1.3.1",
Expand All @@ -46,32 +46,32 @@
"jest-junit": "^5.1.0",
"jest-silent-reporter": "^0.1.1",
"jquery": "^3.2.1",
"karma": "^2.0.0",
"karma": "^3.0.0",
"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.1.1",
"karma-mocha": "^1.3.0",
"left-pad": "^1.1.1",
"lerna": "2.11.0",
"lerna": "3.4.0",
"micromatch": "^2.3.11",
"mkdirp": "^0.5.1",
"mocha": "^5.0.1",
"mock-fs": "^4.4.1",
"prettier": "^1.13.3",
"prettylint": "^1.0.0",
"progress": "^2.0.0",
"readable-stream": "^2.3.6",
"readable-stream": "^3.0.3",
"regenerator-runtime": "^0.11.0",
"resolve": "^1.4.0",
"rimraf": "^2.6.2",
"rollup": "^0.56.2",
"rollup": "^0.66.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-builtins": "^2.1.1",
"rollup-plugin-node-globals": "^1.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"slash": "^1.0.0",
"slash": "^2.0.0",
"string-length": "^2.0.0",
"strip-ansi": "^4.0.0",
"typescript": "^2.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-fb-strict/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"eslint-config-fbjs": "^2.0.1"
},
"peerDependencies": {
"babel-eslint": "^7.2.3 || ^8.0.0",
"eslint": "^4.2.0",
"babel-eslint": "^7.2.3 || ^8.0.0 || ^9.0.0",
"eslint": "^4.2.0 || ^5.0.0",
"eslint-plugin-babel": "^4.1.1 || ^5.0.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-jest": "^21.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"stack-utils": "^1.0.1"
},
"devDependencies": {
"execa": "^0.10.0",
"execa": "^1.0.0",
"jest-runtime": "^23.6.0"
}
}
8 changes: 4 additions & 4 deletions packages/jest-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"exit": "^0.1.2",
"glob": "^7.1.2",
"graceful-fs": "^4.1.11",
"import-local": "^1.0.0",
"import-local": "^2.0.0",
"is-ci": "^1.0.10",
"istanbul-api": "^1.3.1",
"istanbul-lib-coverage": "^1.2.0",
Expand All @@ -32,14 +32,14 @@
"jest-worker": "^23.2.0",
"micromatch": "^2.3.11",
"node-notifier": "^5.2.1",
"prompts": "^0.1.9",
"prompts": "^1.1.0",
"realpath-native": "^1.0.0",
"rimraf": "^2.5.4",
"slash": "^1.0.0",
"slash": "^2.0.0",
"string-length": "^2.0.0",
"strip-ansi": "^4.0.0",
"which": "^1.2.12",
"yargs": "^11.0.0"
"yargs": "^12.0.2"
},
"bin": {
"jest": "./bin/jest.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Expected value to be falsy, instead received

const succeededTests = results
.map(r => r.assertions || [])
// $FlowFixMe: Flow thinks the type is array from above, not the number passed as initial value
.reduce((sum: number, assertions: TestAssertionStatus[]) => {
const success = assertions.filter(a => a.status === 'KnownSuccess');
return sum + success.length;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"jest-serializer": "^23.0.1",
"jest-worker": "^23.2.0",
"micromatch": "^2.3.11",
"sane": "^2.0.0"
"sane": "^3.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/jest-message-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"license": "MIT",
"main": "build/index.js",
"dependencies": {
"@babel/code-frame": "^7.0.0-beta.35",
"@babel/code-frame": "7.0.0-beta.44",
Copy link
Member Author

Choose a reason for hiding this comment

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

last version with node 4 support. Upgrading it to 7 stable breaks the browser build... not sure why TBH, didn't dig into it

"chalk": "^2.0.1",
"micromatch": "^2.3.11",
"slash": "^1.0.0",
"slash": "^2.0.0",
"stack-utils": "^1.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/jest-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"jest-runtime": "^23.6.0",
"jest-validate": "^23.6.0",
"repl": "^0.1.3",
"yargs": "^11.0.0"
"yargs": "^12.0.2"
},
"bin": {
"jest-repl": "./bin/jest-repl.js"
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"jest-validate": "^23.6.0",
"micromatch": "^2.3.11",
"realpath-native": "^1.0.0",
"slash": "^1.0.0",
"slash": "^2.0.0",
"strip-bom": "3.0.0",
"write-file-atomic": "^2.1.0",
"yargs": "^11.0.0"
"yargs": "^12.0.2"
},
"devDependencies": {
"jest-environment-jsdom": "^23.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"is-ci": "^1.0.10",
"jest-message-util": "^23.4.0",
"mkdirp": "^0.5.1",
"slash": "^1.0.0",
"slash": "^2.0.0",
"source-map": "^0.6.0"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/jest-util/src/create_process_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function createProcessEnv() {
return deepCyclicCopy(process.env);
}

// $FlowFixMe: Apparently Flow does not understand that this is a prototype.
const proto: Object = Object.getPrototypeOf(process.env);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need to annotate this with Object type or will Flow now infer that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like we need it

image

const real = Object.create(proto);
const lookup = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "23.6.0",
"main": "build/jest.js",
"dependencies": {
"import-local": "^1.0.0",
"import-local": "^2.0.0",
"jest-cli": "^23.6.0"
},
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pretty-format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"browser": "build-es5/index.js",
"author": "James Kyle <[email protected]>",
"dependencies": {
"ansi-regex": "^3.0.0",
"ansi-regex": "^4.0.0",
"ansi-styles": "^3.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/browserBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const babelEs5Options = Object.assign(
{},
{
babelrc: false,
exclude: 'node_modules/!(ansi-styles|chalk|ansi-regex)/**',
exclude: 'node_modules/!(ansi-styles|chalk|ansi-regex|slash)/**',
plugins: [
'syntax-trailing-function-commas',
'transform-flow-strip-types',
Expand Down
Loading