Skip to content

Commit

Permalink
chore: update node babel syntax preset (#10747)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Oct 31, 2020
1 parent a94730c commit a7e0912
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Fixes

- `[babel-plugin-jest-hoist]` Preserve order of hoisted mock nodes within containing block ([#10536](https://github.com/facebook/jest/pull/10536))
- `[babel-preset-jest]` Update `babel-preset-current-node-syntax` to support top level await ([#10747](https://github.com/facebook/jest/pull/10747))
- `[expect]` Stop modifying the sample in `expect.objectContaining()` ([#10711](https://github.com/facebook/jest/pull/10711))
- `[jest-circus, jest-jasmine2]` fix: don't assume `stack` is always a string ([#10697](https://github.com/facebook/jest/pull/10697))
- `[jest-config]` Fix bug introduced in watch mode by PR [#10678](https://github.com/facebook/jest/pull/10678/files#r511037803) ([#10692](https://github.com/facebook/jest/pull/10692))
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"main": "index.js",
"dependencies": {
"babel-plugin-jest-hoist": "^26.5.0",
"babel-preset-current-node-syntax": "^0.1.3"
"babel-preset-current-node-syntax": "^1.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
Expand Down
13 changes: 7 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-syntax-top-level-await@npm:^7.12.1":
"@babel/plugin-syntax-top-level-await@npm:^7.12.1, @babel/plugin-syntax-top-level-await@npm:^7.8.3":
version: 7.12.1
resolution: "@babel/plugin-syntax-top-level-await@npm:7.12.1"
dependencies:
Expand Down Expand Up @@ -4871,9 +4871,9 @@ __metadata:
languageName: node
linkType: hard

"babel-preset-current-node-syntax@npm:^0.1.3":
version: 0.1.4
resolution: "babel-preset-current-node-syntax@npm:0.1.4"
"babel-preset-current-node-syntax@npm:^1.0.0":
version: 1.0.0
resolution: "babel-preset-current-node-syntax@npm:1.0.0"
dependencies:
"@babel/plugin-syntax-async-generators": ^7.8.4
"@babel/plugin-syntax-bigint": ^7.8.3
Expand All @@ -4886,9 +4886,10 @@ __metadata:
"@babel/plugin-syntax-object-rest-spread": ^7.8.3
"@babel/plugin-syntax-optional-catch-binding": ^7.8.3
"@babel/plugin-syntax-optional-chaining": ^7.8.3
"@babel/plugin-syntax-top-level-await": ^7.8.3
peerDependencies:
"@babel/core": ^7.0.0
checksum: f54dfafd352b5671dfe549d6e2d692ec4328988bc2040f3c67b2dd4185c85ced29b39440f6f6bfd8145ad00e2cc8b39c5a218ef4bd7c08c48e3afec0583f4125
checksum: d3db297d1ade74f812e93e90b2fc76986449f4158f62d660a91b7d94a308314acc730a282fb55d3d1a2b69ce92c64b553aaef59b82f37cc68640ee779438a58c
languageName: node
linkType: hard

Expand Down Expand Up @@ -4934,7 +4935,7 @@ __metadata:
resolution: "babel-preset-jest@workspace:packages/babel-preset-jest"
dependencies:
babel-plugin-jest-hoist: ^26.5.0
babel-preset-current-node-syntax: ^0.1.3
babel-preset-current-node-syntax: ^1.0.0
peerDependencies:
"@babel/core": ^7.0.0
languageName: unknown
Expand Down

0 comments on commit a7e0912

Please sign in to comment.