Skip to content

Commit

Permalink
chore: update immutable (#12203)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Dec 31, 2021
1 parent a26182b commit 12a983b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
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

0 comments on commit 12a983b

Please sign in to comment.