@shopify/react-form-state
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -10,10 +10,5 @@ 'use strict'; | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) { | ||
symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
} | ||
keys.push.apply(keys, symbols); | ||
enumerableOnly && (symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
})), keys.push.apply(keys, symbols); | ||
} | ||
@@ -26,15 +21,8 @@ | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else if (Object.getOwnPropertyDescriptors) { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
} | ||
var source = null != arguments[i] ? arguments[i] : {}; | ||
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
} | ||
@@ -41,0 +29,0 @@ |
@@ -1,4 +0,1 @@ | ||
function interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : {default: obj}; | ||
} | ||
module.exports = interopRequireDefault(require("./build/cjs/index.js")); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "@shopify/react-form-state", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "description": "Manage React forms tersely and type-safely with no magic", | ||
"dependencies": { | ||
"@shopify/predicates": "^2.0.4", | ||
"@shopify/predicates": "^2.0.5", | ||
"fast-deep-equal": "^3.1.3" | ||
@@ -34,3 +34,3 @@ }, | ||
"devDependencies": { | ||
"@shopify/useful-types": "^3.0.5" | ||
"@shopify/useful-types": "^3.0.6" | ||
}, | ||
@@ -51,8 +51,8 @@ "sideEffects": false, | ||
".": { | ||
"esnext": "./index.esnext", | ||
"import": "./index.mjs", | ||
"require": "./index.js", | ||
"esnext": "./index.esnext" | ||
"require": "./index.js" | ||
} | ||
}, | ||
"gitHead": "f61f4b1dff2eb805720727d8658db5bc4710c92e" | ||
"gitHead": "bbb10becf71853111f455e3561ac79d443703d25" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
87509
1815
1
Updated@shopify/predicates@^2.0.5