Socket
Socket
Sign inDemoInstall

array.prototype.flatmap

Package Overview
Dependencies
66
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.5 to 1.3.0

8

CHANGELOG.md

@@ -0,1 +1,9 @@

1.3.0 / 2022-04-11
=================
* [New] `shim`/`auto`: add `flatMap` to `Symbol.unscopables`
* [Deps] update `call-bind`, `es-abstract`
* [actions] reuse common workflows
* [actions] update codecov uploader
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `auto-changelog`, `object-inspect`, `safe-publish-latest`, `tape`
1.2.5 / 2021-10-01

@@ -2,0 +10,0 @@ =================

32

package.json
{
"name": "array.prototype.flatmap",
"version": "1.2.5",
"version": "1.3.0",
"author": {

@@ -23,8 +23,10 @@ "name": "Jordan Harband",

"scripts": {
"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint && evalmd README.md",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"lint": "eslint .",
"prelint": "evalmd README.md",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound"

@@ -48,19 +50,21 @@ },

"dependencies": {
"call-bind": "^1.0.0",
"call-bind": "^1.0.2",
"define-properties": "^1.1.3",
"es-abstract": "^1.19.0"
"es-abstract": "^1.19.2",
"es-shim-unscopables": "^1.0.0"
},
"devDependencies": {
"@es-shims/api": "^2.2.1",
"@ljharb/eslint-config": "^18.0.0",
"aud": "^1.1.5",
"@es-shims/api": "^2.2.3",
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.0",
"auto-changelog": "^2.4.0",
"covert": "^1.1.1",
"eslint": "^7.32.0",
"evalmd": "0.0.19",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"foreach": "^2.0.5",
"has-strict-mode": "^1.0.1",
"nyc": "^10.3.2",
"object-inspect": "^1.11.0",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.1"
"object-inspect": "^1.12.0",
"safe-publish-latest": "^2.0.0",
"tape": "^5.5.3"
},

@@ -67,0 +71,0 @@ "testling": {

'use strict';
var define = require('define-properties');
var shimUnscopables = require('es-shim-unscopables');
var getPolyfill = require('./polyfill');

@@ -8,2 +10,3 @@

var polyfill = getPolyfill();
define(

@@ -14,3 +17,6 @@ Array.prototype,

);
shimUnscopables('flatMap');
return polyfill;
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc