@brandingbrand/polyfills
Advanced tools
Comparing version 11.62.0 to 11.63.0
@@ -5,2 +5,6 @@ # Changelog | ||
# [11.63.0](https://github.com/brandingbrand/shipyard/compare/v11.62.0...v11.63.0) (2022-05-24) | ||
# [11.62.0](https://github.com/brandingbrand/shipyard/compare/v11.61.0...v11.62.0) (2022-05-18) | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "@brandingbrand/polyfills", | ||
"version": "11.62.0", | ||
"version": "11.63.0", | ||
"license": "MIT", | ||
@@ -9,3 +9,3 @@ "main": "./src/index.js", | ||
"symbol-observable": "^4.0.0", | ||
"@brandingbrand/utils-base64": "11.62.0", | ||
"@brandingbrand/utils-base64": "11.63.0", | ||
"tslib": "^2.0.0" | ||
@@ -12,0 +12,0 @@ }, |
@@ -11,8 +11,6 @@ /* eslint-disable no-extend-native */ | ||
if (!Object.fromEntries) { | ||
Object.fromEntries = (arr) => { | ||
return Array.from(arr).reduce((acc, curr) => { | ||
acc[curr[0]] = curr[1]; | ||
return acc; | ||
}, {}); | ||
}; | ||
Object.fromEntries = (arr) => [...arr].reduce((acc, curr) => { | ||
acc[curr[0]] = curr[1]; | ||
return acc; | ||
}, {}); | ||
} | ||
@@ -24,7 +22,6 @@ if (!Array.prototype.flat) { | ||
var _a; | ||
const depth = isNaN((_a = args[0]) !== null && _a !== void 0 ? _a : NaN) ? 1 : Number(args[0]); | ||
const depth = isNaN((_a = args[0]) !== null && _a !== void 0 ? _a : Number.NaN) ? 1 : Number(args[0]); | ||
return depth | ||
? Array.prototype.reduce.call(this, (acc, cur) => { | ||
if (Array.isArray(cur)) { | ||
// eslint-disable-next-line prefer-spread | ||
acc.push.apply(acc, flat.call(cur, depth - 1)); | ||
@@ -31,0 +28,0 @@ } |
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
9086
48
+ Added@brandingbrand/utils-base64@11.63.0(transitive)
- Removed@brandingbrand/utils-base64@11.62.0(transitive)