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: update immutable #12203

Merged
merged 2 commits into from
Dec 31, 2021
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 packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@jest/test-utils": "^27.4.2",
"chalk": "^4.0.0",
"fast-check": "^2.0.0",
"immutable": "^4.0.0-rc.12"
"immutable": "^4.0.0"
},
"engines": {
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
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 @@ -27,7 +27,7 @@
"@types/react": "*",
"@types/react-is": "^17.0.0",
"@types/react-test-renderer": "*",
"immutable": "4.0.0-rc.9",
"immutable": "^4.0.0",
"jest-util": "^27.4.2",
"react": "*",
"react-dom": "*",
Expand Down
5 changes: 4 additions & 1 deletion packages/pretty-format/src/__tests__/Immutable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,9 +965,12 @@ describe('Immutable.Seq lazy values', () => {
? {done: false, value: values[i++]}
: {done: true};
},
[Symbol.iterator]() {
return this;
},
};
}
const val = Immutable.Seq(returnIterator(array));
const val = Immutable.Seq(returnIterator(array)).filter(filterer);
expect(val.size).toBeUndefined();
expect(val).toPrettyPrintTo(expected);
});
Expand Down
13 changes: 3 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9900,7 +9900,7 @@ __metadata:
"@jest/types": ^27.4.2
chalk: ^4.0.0
fast-check: ^2.0.0
immutable: ^4.0.0-rc.12
immutable: ^4.0.0
jest-get-type: ^27.4.0
jest-matcher-utils: ^27.4.2
jest-message-util: ^27.4.2
Expand Down Expand Up @@ -11679,14 +11679,7 @@ __metadata:
languageName: node
linkType: hard

"immutable@npm:4.0.0-rc.9":
version: 4.0.0-rc.9
resolution: "immutable@npm:4.0.0-rc.9"
checksum: 257afb2ecabb372b54b67649ef6f2aacaa6b442b7d40530d04c891dad15aed620e3a146ddc3b4f573f29e1b09d58d5b39f8c282ecf0801d67aa20818e20c6002
languageName: node
linkType: hard

"immutable@npm:^4.0.0-rc.12":
"immutable@npm:^4.0.0":
version: 4.0.0
resolution: "immutable@npm:4.0.0"
checksum: b213379f1a5e764c9c301c5aee26342ca1486e50b8e1bf7cdcb5586ddcedcab4f75cffc8cd50b7a44133e4ecce71cbd066af016b11024b86c18ee6d6cf3209d0
Expand Down Expand Up @@ -17320,7 +17313,7 @@ __metadata:
"@types/react-test-renderer": "*"
ansi-regex: ^5.0.1
ansi-styles: ^5.0.0
immutable: 4.0.0-rc.9
immutable: ^4.0.0
jest-util: ^27.4.2
react: "*"
react-dom: "*"
Expand Down