extendable-immutable
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -38,3 +38,3 @@ import _typeof from 'babel-runtime/helpers/typeof'; | ||
for (var key in base.prototype) { | ||
if (base.prototype.hasOwnProperty(key) && !key.startsWith('__') && !key.startsWith('to') && unwrappedMethods.indexOf(key) === -1) { | ||
if (!key.startsWith('__') && !key.startsWith('to') && unwrappedMethods.indexOf(key) === -1) { | ||
(function () { | ||
@@ -41,0 +41,0 @@ var _originalMethod = base.prototype[key]; |
@@ -62,3 +62,3 @@ 'use strict'; | ||
for (var key in base.prototype) { | ||
if (base.prototype.hasOwnProperty(key) && !key.startsWith('__') && !key.startsWith('to') && unwrappedMethods.indexOf(key) === -1) { | ||
if (!key.startsWith('__') && !key.startsWith('to') && unwrappedMethods.indexOf(key) === -1) { | ||
(function () { | ||
@@ -65,0 +65,0 @@ var _originalMethod = base.prototype[key]; |
{ | ||
"name": "extendable-immutable", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "jsnext:main": "es/index.js", |
@@ -54,3 +54,2 @@ import invariant from 'invariant' | ||
if ( | ||
base.prototype.hasOwnProperty(key) && | ||
!key.startsWith('__') && | ||
@@ -57,0 +56,0 @@ !key.startsWith('to') && |
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
31580
529