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

extendable-immutable

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extendable-immutable - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

7

es/extendable.js

@@ -39,3 +39,8 @@ import createExtendable from './util/createExtendable';

function ExtendableWrapper(val) {
return this.__wrapImmutable(new Base(val));
var instance = this;
if (instance === undefined) {
instance = new ExtendableWrapper(val);
}
return instance.__wrapImmutable(new Base(val));
}

@@ -42,0 +47,0 @@

@@ -50,3 +50,8 @@ 'use strict';

function ExtendableWrapper(val) {
return this.__wrapImmutable(new Base(val));
var instance = this;
if (instance === undefined) {
instance = new ExtendableWrapper(val);
}
return instance.__wrapImmutable(new Base(val));
}

@@ -53,0 +58,0 @@

6

package.json
{
"name": "extendable-immutable",
"version": "1.3.2",
"version": "1.3.3",
"main": "lib/index.js",

@@ -58,6 +58,6 @@ "jsnext:main": "es/index.js",

"eslint-plugin-mocha": "^4.5.1",
"eslint-plugin-react": "^6.3.0",
"eslint-plugin-react": "^7.0.1",
"expect": "^1.20.2",
"glob": "^7.1.0",
"immutable": "^3.8.1",
"immutable": "4.0.0-rc.2",
"mocha": "^3.1.0",

@@ -64,0 +64,0 @@ "nyc": "^10.0.0",

@@ -41,3 +41,8 @@ import createExtendable from './util/createExtendable'

function ExtendableWrapper(val) {
return this.__wrapImmutable(new Base(val))
let instance = this
if (instance === undefined) {
instance = new ExtendableWrapper(val)
}
return instance.__wrapImmutable(new Base(val))
}

@@ -44,0 +49,0 @@

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