Socket
Socket
Sign inDemoInstall

@brandingbrand/polyfills

Package Overview
Dependencies
Maintainers
98
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brandingbrand/polyfills - npm Package Compare versions

Comparing version 11.62.0 to 11.63.0

4

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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

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