immutable-assign
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -6,6 +6,10 @@ // Place your settings in this file to overwrite default and user settings. | ||
"deploy": true, | ||
"**/*.js": {"when": "$(basename).ts"}, | ||
"**/*.css": {"when": "$(basename).less"}, | ||
"**/*.jsx": {"when": "$(basename).tsx"} | ||
// "**/*.js": {"when": "$(basename).ts"}, | ||
"**/*.css": { | ||
"when": "$(basename).less" | ||
}, | ||
"**/*.jsx": { | ||
"when": "$(basename).tsx" | ||
} | ||
} | ||
} |
@@ -167,3 +167,3 @@ 'use strict'; | ||
var objCopy = quickCopy(obj, paths[level - 1]); | ||
var propertyNames = Object.getOwnPropertyNames(obj); | ||
var propertyNames = getOwnPropertyNames(obj); | ||
propertyNames.forEach(function (propKey) { | ||
@@ -501,1 +501,8 @@ var descriptor = Object.getOwnPropertyDescriptor(obj, propKey); | ||
} | ||
// Android 5: Object.getOwnPropertyNames does not support primitive values gracefully. | ||
function getOwnPropertyNames(obj) { | ||
if (typeof obj !== 'object') { | ||
return []; | ||
} | ||
return Object.getOwnPropertyNames(obj); | ||
} |
{ | ||
"name": "immutable-assign", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Lightweight immutable helper that allows you to continue working with Plain JavaScript Objects", | ||
@@ -9,3 +9,3 @@ "main": "deploy/iassign.js", | ||
"test": "node node_modules/istanbul/lib/cli.js cover node_modules/jasmine/bin/jasmine.js", | ||
"test-karma": "node_modules/.bin/karma start", | ||
"test-karma": "karma start ./karma.conf.js", | ||
"test-karma-win10": "node_modules/.bin/karma start --browsers Chrome,Fireforx,Edge,IE", | ||
@@ -48,10 +48,11 @@ "test-karma-win7": "node_modules/.bin/karma start --browsers Chrome,Fireforx,IE", | ||
"edge-launcher": "^1.2.2", | ||
"expect": "^24.1.0", | ||
"expect": "^23.5.0", | ||
"gulp": "^3.9.1", | ||
"gulp-less": "^4.0.1", | ||
"gulp-typescript": "^5.0.0-alpha.3", | ||
"immer": "^2.0.0", | ||
"immer": "^1.5.0", | ||
"immutable": "^3.8.2", | ||
"istanbul": "^0.4.5", | ||
"jasmine": "^3.2.0", | ||
"karma": "^4.0.0", | ||
"jasmine": "^2.99.0", | ||
"karma": "^3.0.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
@@ -58,0 +59,0 @@ "karma-edge-launcher": "^0.4.2", |
@@ -5,3 +5,3 @@ # immutable-assign (iassign.js) | ||
[![NPM version][3]][4] [![Build Status][1]][2] [![coverage status][5]][6] | ||
[![NPM version][3]][4] [![Build Status][1]][2] [![coverage status][5]][6] [![size][9]][10] | ||
@@ -483,1 +483,3 @@ [![Sauce Test Status][7]][8] | ||
[8]: https://saucelabs.com/u/iassign | ||
[9]: https://flat.badgen.net/bundlephobia/minzip/immutable-assign | ||
[10]: https://bundlephobia.com/result?p=immutable-assign |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1419179
20
7602
484
30