Skip to content

Commit a257941

Browse files
committed
Merge branch 'main' into fix/equality-of-iterable-with-symbols
2 parents f15ccfa + 5b97c9d commit a257941

File tree

9 files changed

+903
-907
lines changed

9 files changed

+903
-907
lines changed

.github/workflows/lock.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,23 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66

7+
concurrency:
8+
group: lock-threads
9+
710
permissions: {}
811
jobs:
912
lock:
1013
permissions:
1114
issues: write # to lock issues (dessant/lock-threads)
1215
pull-requests: write # to lock PRs (dessant/lock-threads)
16+
discussions: write # to lock discussions (dessant/lock-threads)
1317

1418
runs-on: ubuntu-latest
1519
steps:
16-
- uses: dessant/lock-threads@v4
20+
- uses: dessant/lock-threads@v5
1721
with:
1822
github-token: ${{ github.token }}
23+
process-only: 'issues, prs'
1924
issue-inactive-days: '30'
2025
exclude-any-issue-labels: 'Discussion'
2126
issue-comment: >

.yarn/releases/yarn-3.6.4.cjs

Lines changed: 0 additions & 874 deletions
This file was deleted.

.yarn/releases/yarn-3.7.0.cjs

Lines changed: 875 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ plugins:
2828
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
2929
spec: "@yarnpkg/plugin-workspace-tools"
3030

31-
yarnPath: .yarn/releases/yarn-3.6.4.cjs
31+
yarnPath: .yarn/releases/yarn-3.7.0.cjs

CONTRIBUTING.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _Before_ submitting a pull request, please make sure the following is done…
3434

3535
Note: Replace `<your_username>` with your GitHub username
3636

37-
1. Jest uses [Yarn](https://code.facebook.com/posts/1840075619545360) for running development scripts. If you haven't already done so, please [install yarn](https://yarnpkg.com/en/docs/install).
37+
1. Jest uses [Yarn](https://yarnpkg.com/) for running development scripts. If you haven't already done so, please run [`corepack enable`](https://nodejs.org/api/corepack.html#workflows).
3838

3939
1. Make sure you have `python` installed. Python is required by [node-gyp](https://github.com/nodejs/node-gyp) that is used when running `yarn install`.
4040

@@ -44,13 +44,13 @@ _Before_ submitting a pull request, please make sure the following is done…
4444
python --version
4545
```
4646

47-
1. Make sure you have a compatible version of `node` installed (As of October 29th, 2021, `v16.x` is recommended).
47+
1. Make sure you have a compatible version of `node` installed (As of November 15th, 2023, `v20.x` is recommended).
4848

4949
```sh
5050
node -v
5151
```
5252

53-
1. Run `yarn install`. On Windows: To install [Yarn](https://yarnpkg.com/en/docs/install#windows-tab) on Windows you may need to download either node.js or Chocolatey<br />
53+
1. Run `yarn install`.
5454

5555
```sh
5656
yarn install
@@ -62,12 +62,6 @@ _Before_ submitting a pull request, please make sure the following is done…
6262
yarn --version
6363
```
6464

65-
On Windows `yarn install` may fail with `gyp ERR! build error`. One of the possible solutions:
66-
67-
```sh
68-
yarn global add windows-build-tools
69-
```
70-
7165
1. Run `yarn build` to transpile TypeScript to JavaScript and type check the code
7266

7367
```sh
@@ -90,8 +84,6 @@ _Before_ submitting a pull request, please make sure the following is done…
9084
$ yarn test
9185
```
9286

93-
1. If you haven't already, complete the [CLA](https://code.facebook.com/cla/).
94-
9587
#### Changelog entries
9688

9789
All changes that add a feature to or fix a bug in any of Jest's packages require a changelog entry containing the names of the packages affected, a description of the change, and the number of and link to the pull request. Try to match the structure of the existing entries.
@@ -108,7 +100,7 @@ Code that is written needs to be tested to ensure that it achieves the desired b
108100

109101
##### Unit tests
110102

111-
Some of the packages within jest have a `__tests__` directory. This is where unit tests reside in. If the scope of your work only requires a unit test, this is where you will write it in. Tests here usually don't require much of any setup.
103+
Some of the packages within Jest have a `__tests__` directory. This is where unit tests reside in. If the scope of your work only requires a unit test, this is where you will write it in. Tests here usually don't require much of any setup.
112104

113105
##### Integration tests
114106

@@ -118,7 +110,7 @@ It is possible to run the integration test itself manually to inspect that the n
118110

119111
```bash
120112
$ cd e2e/clear-cache
121-
$ node ../../packages/jest-cli/bin/jest.js # It is possible to use node --inspect or ndb
113+
$ node ../../packages/jest-cli/bin/jest.js # It is possible to use `node --inspect`
122114
PASS __tests__/clear_cache.test.js
123115
✓ stub (3ms)
124116

@@ -166,9 +158,7 @@ The Jest website also offers documentation for older versions of Jest, which you
166158

167159
### Contributor License Agreement (CLA)
168160

169-
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another Facebook open source project, you're good to go. If you are submitting a pull request for the first time, just let us know that you have completed the CLA and we can cross-check with your GitHub username.
170-
171-
[Complete your CLA here.](https://code.facebook.com/cla)
161+
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another OpenJS open source project, you're good to go. If you are submitting a pull request for the first time, a bot will verify and guide you on how to sign it.
172162

173163
## How to try a development build of Jest in another project
174164

@@ -180,10 +170,10 @@ $ cd /path/to/your/Jest_clone
180170
# Do one of the following:
181171

182172
# Check out a commit from another contributor, and then
183-
$ yarn run build
173+
$ yarn run watch
184174

185175
# Or, save your changes to Jest, and then
186-
$ yarn test # which also builds Jest
176+
$ yarn test
187177
```
188178

189179
To run tests in another project with the development build of Jest:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@
202202
"psl": "patch:psl@npm:^1.9.0#./.yarn/patches/psl-npm-1.9.0-a546edad1a.patch",
203203
"ts-node@^10.5.0": "patch:ts-node@npm:^10.5.0#./.yarn/patches/ts-node-npm-10.9.1-6c268be7f4.patch"
204204
},
205-
"packageManager": "yarn@3.6.4"
205+
"packageManager": "yarn@3.7.0+sha256.7bf0c78a106332886ea4e59641fd819b1af953edcd72c4d93a32b1c71000ee67"
206206
}

packages/jest-resolve/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"devDependencies": {
3333
"@tsd/typescript": "^5.0.4",
3434
"@types/graceful-fs": "^4.1.3",
35-
"@types/pnpapi": "^0.0.4",
35+
"@types/pnpapi": "^0.0.5",
3636
"@types/resolve": "^1.20.2",
3737
"tsd-lite": "^0.8.0"
3838
},

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@docusaurus/preset-classic": "^3.0.0",
3939
"@docusaurus/remark-plugin-npm2yarn": "^3.0.0",
4040
"clsx": "^2.0.0",
41-
"docusaurus-remark-plugin-tab-blocks": "^2.0.0",
41+
"docusaurus-remark-plugin-tab-blocks": "^3.0.0",
4242
"prism-react-renderer": "^2.1.0",
4343
"react": "18.2.0",
4444
"react-dom": "18.2.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,10 +5291,10 @@ __metadata:
52915291
languageName: node
52925292
linkType: hard
52935293

5294-
"@types/pnpapi@npm:^0.0.4":
5295-
version: 0.0.4
5296-
resolution: "@types/pnpapi@npm:0.0.4"
5297-
checksum: 625a33121ac14819a6172efad5ffd694fb317172135c26f0d3fa51b00a29f82742e7a9531e51c92caa15be84cdb0d420f66a1b3c89dc8b274ac3abfc455da16c
5294+
"@types/pnpapi@npm:^0.0.5":
5295+
version: 0.0.5
5296+
resolution: "@types/pnpapi@npm:0.0.5"
5297+
checksum: 46d8474b77358c8cc48b957c059de6ad0839d18d8e90252c500c6bc30702e44e2629cf330350f7b291f35d863190b5390b641992c0601853a5d8b129fa91bd4d
52985298
languageName: node
52995299
linkType: hard
53005300

@@ -8988,13 +8988,13 @@ __metadata:
89888988
languageName: node
89898989
linkType: hard
89908990

8991-
"docusaurus-remark-plugin-tab-blocks@npm:^2.0.0":
8992-
version: 2.0.0
8993-
resolution: "docusaurus-remark-plugin-tab-blocks@npm:2.0.0"
8991+
"docusaurus-remark-plugin-tab-blocks@npm:^3.0.0":
8992+
version: 3.0.0
8993+
resolution: "docusaurus-remark-plugin-tab-blocks@npm:3.0.0"
89948994
dependencies:
89958995
unist-util-is: ^6.0.0
89968996
unist-util-visit: ^5.0.0
8997-
checksum: 99eb4074071aee01938013c34f569e3ac12bee499a4e69e6431912812236b46bcc98c6d3d68a1bcb3d00ab0aac3829b8cc13c84391ec2c3ee1e3a2a8d3f9d27b
8997+
checksum: d33b85b33743fb500166847ae2889a17c49c57f5fa1b1e344b07433b3743bbbef85cbe25c134e6488340397a809f8e3ffde25ce482d9584808879902bd102ec0
89988998
languageName: node
89998999
linkType: hard
90009000

@@ -13228,7 +13228,7 @@ __metadata:
1322813228
dependencies:
1322913229
"@tsd/typescript": ^5.0.4
1323013230
"@types/graceful-fs": ^4.1.3
13231-
"@types/pnpapi": ^0.0.4
13231+
"@types/pnpapi": ^0.0.5
1323213232
"@types/resolve": ^1.20.2
1323313233
chalk: ^4.0.0
1323413234
graceful-fs: ^4.2.9
@@ -13532,7 +13532,7 @@ __metadata:
1353213532
"@docusaurus/tsconfig": ^3.0.0
1353313533
"@types/react": ^18.2.0
1353413534
clsx: ^2.0.0
13535-
docusaurus-remark-plugin-tab-blocks: ^2.0.0
13535+
docusaurus-remark-plugin-tab-blocks: ^3.0.0
1353613536
graphql: ^16.3.0
1353713537
graphql-request: ^6.0.0
1353813538
js-yaml: ^4.1.0

0 commit comments

Comments
 (0)