Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

immutable-assign

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-assign - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

9

deploy/iassign.js

@@ -6,3 +6,2 @@ "use strict";

var deepFreeze = require("deep-freeze-strict");
var proxyPolyfill = require('./Libs/proxy');
}

@@ -12,2 +11,8 @@ catch (ex) {

}
try {
var proxyPolyfill = require('proxy-polyfill');
}
catch (ex) {
console.warn("Cannot load proxy-polyfill module. iassign() will not work in IE 11 or other old browsers.");
}
var v = factory(deepFreeze, proxyPolyfill, exports);

@@ -18,3 +23,3 @@ if (v !== undefined)

else if (typeof define === 'function' && define.amd) {
define(["deep-freeze-strict", './Libs/proxy', "exports"], factory);
define(["deep-freeze-strict", 'proxy-polyfill', "exports"], factory);
}

@@ -21,0 +26,0 @@ else {

{
"name": "immutable-assign",
"version": "2.0.0",
"version": "2.0.1",
"description": "Lightweight immutable helper that allows you to continue working with Plain JavaScript Objects",

@@ -38,3 +38,4 @@ "main": "deploy/iassign.js",

"optionalDependencies": {
"deep-freeze-strict": "^1.1.1"
"deep-freeze-strict": "^1.1.1",
"proxy-polyfill": "^0.1.7"
},

@@ -65,3 +66,2 @@ "devDependencies": {

"merge2": "^1.0.2",
"proxy-polyfill": "^0.1.7",
"seamless-immutable": "^7.0.1",

@@ -68,0 +68,0 @@ "timm": "^1.2.3",

@@ -482,4 +482,5 @@ # immutable-assign (iassign.js)

* 2.0.1 - Minor bug fixes.
* 2.0.0 -
* Used [ES6 Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instead of eval() to process getProp().
* Used [ES6 Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instead of [eval()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) to process getProp(), which is more secure.
* Also works on platforms that don't support Proxy and Map, such as IE 10 and IE 11 using the [proxy-polyfill](https://github.com/GoogleChrome/proxy-polyfill) and [ES6 Map polyfill](https://github.com/zloirock/core-js)

@@ -486,0 +487,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc