Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es-map

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-map - npm Package Compare versions

Comparing version 0.0.1-security to 1.0.0

.eslintrc

99

package.json
{
"name": "es-map",
"version": "0.0.1-security",
"description": "security holding package",
"repository": "npm/security-holder"
"name": "es-map",
"version": "1.0.0",
"description": "An ES-spec-compliant Map shim/polyfill/replacement that works as far down as ES3",
"main": "index.js",
"exports": {
".": [
{
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./index.js"
],
"./auto": "./auto.js",
"./polyfill": "./polyfill.js",
"./implementation": "./implementation.js",
"./shim": "./shim.js",
"./package.json": "./package.json"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run lint",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
"tests-only": "nyc tape 'test/**/*.js'",
"tests-esm": "nyc node test/index.mjs",
"test": "npm run tests-only && npm run tests-esm",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/es-shims/es-map.git"
},
"keywords": [
"Set",
"Map",
"collections",
"shim",
"polyfill",
"es-shim",
"API"
],
"author": "Nicolò Ribaudo <nicolo.ribaudo@gmail.com>",
"funding": {
"url": "https://github.com/es-shims/es-map?sponsor=1"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/es-shims/es-map/issues"
},
"homepage": "https://github.com/es-shims/es-map#readme",
"devDependencies": {
"@es-shims/api": "^2.2.3",
"@ljharb/eslint-config": "^21.0.0",
"array.from": "^1.1.3",
"aud": "^2.0.1",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"functions-have-names": "^1.2.3",
"has-strict-mode": "^1.0.1",
"in-publish": "^2.0.1",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"tape": "^5.6.1"
},
"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.1.4",
"es-abstract": "^1.20.4",
"es-get-iterator": "^1.1.2",
"for-each": "^0.3.3",
"get-intrinsic": "^1.1.3",
"globalthis": "^1.0.3",
"has-symbols": "^1.0.3",
"internal-slot": "^1.0.3",
"object.entries": "^1.1.6"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}

@@ -1,5 +0,53 @@

# Security holding package
# es-map <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.
> ⚠️ This package is not published on npm yet
You may adopt this package by contacting npm Support at https://www.npmjs.com/support and requesting the name.
[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![npm badge][npm-badge-png]][package-url]
An ESnext spec-compliant `Map` shim/polyfill/replacement that works as far down as ES3.
This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-map-objects).
## Getting started
```sh
npm install --save es-map
```
## Usage/Examples
```js
var map = new Map();
var obj = {};
map.set(1, 2).set(obj, 4);
map.get(obj); // 4
map.has(3); // false
```
## Tests
Simply clone the repo, `npm install`, and run `npm test`
[package-url]: https://npmjs.org/package/es-shims/es-map
[npm-version-svg]: https://versionbadg.es/es-shims/es-map.svg
[deps-svg]: https://david-dm.org/es-shims/es-map.svg
[deps-url]: https://david-dm.org/es-shims/es-map
[dev-deps-svg]: https://david-dm.org/es-shims/es-map/dev-status.svg
[dev-deps-url]: https://david-dm.org/es-shims/es-map#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/es-shims/es-map.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/es-shims/es-map.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/es-shims/es-map.svg
[downloads-url]: https://npm-stat.com/charts.html?package=es-shims/es-map
[codecov-image]: https://codecov.io/gh/es-shims/es-map/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/es-shims/es-map/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/es-map
[actions-url]: https://github.com/es-shims/es-map/actions
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