8000 Deploy 5767783cc9c802ada88cfc0749cb7e652c839093 to NPM branch · MULXCODE/immutable-js@2d479e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d479e6

Browse files
author
Travis CI
committed
Deploy 5767783 to NPM branch
1 parent 4f791d6 commit 2d479e6

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

dist/immutable.es.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,9 @@ function coerceKeyPath(keyPath) {
18681868

18691869
function isPlainObj(value) {
18701870
return (
1871-
value && (value.constructor === Object || value.constructor === undefined)
1871+
value &&
1872+
((value.constructor && value.constructor.name === 'Object') ||
1873+
value.constructor === undefined)
18721874
);
18731875
}
18741876

dist/immutable.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,9 @@
18741874

18751875
function isPlainObj(value) {
18761876
return (
1877-
value && (value.constructor === Object || value.constructor === undefined)
1877+
value &&
1878+
((value.constructor && value.constructor.name === 'Object') ||
1879+
value.constructor === undefined)
18781880
);
18791881
}
18801882

0 commit comments

Comments
 (0)
0