@shopify/dates
Advanced tools
Comparing version 1.1.0 to 1.1.2
@@ -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/dates", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -27,6 +27,6 @@ "description": "Lightweight date operations library", | ||
"dependencies": { | ||
"@shopify/decorators": "^2.0.4" | ||
"@shopify/decorators": "^2.0.6" | ||
}, | ||
"devDependencies": { | ||
"@shopify/jest-dom-mocks": "^3.0.11" | ||
"@shopify/jest-dom-mocks": "^3.0.13" | ||
}, | ||
@@ -46,8 +46,8 @@ "files": [ | ||
".": { | ||
"esnext": "./index.esnext", | ||
"import": "./index.mjs", | ||
"require": "./index.js", | ||
"esnext": "./index.esnext" | ||
"require": "./index.js" | ||
} | ||
}, | ||
"gitHead": "9d13dd8d53817efdb768147247d8ce9855ab7d8c" | ||
"gitHead": "3d653b17366d732199fd319eb5c9c935f4f6a207" | ||
} |
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
116786
1794
Updated@shopify/decorators@^2.0.6