UNPKG

symbol.prototype.description

Version:

Spec-compliant shim for Symbol.prototype.description proposal.

105 lines (104 loc) 2.89 kB
{ "name": "symbol.prototype.description", "version": "2.0.0", "description": "Spec-compliant shim for Symbol.prototype.description proposal.", "main": "index.js", "exports": { ".": "./index.js", "./auto": "./auto.js", "./polyfill": "./polyfill.js", "./implementation": "./implementation.js", "./shim": "./shim.js", "./package.json": "./package.json" }, "sideEffects": false, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "prelint": "evalmd README.md && es-shim-api --skip-shim-returns-polyfill", "lint": "eslint --ext=js,mjs .", "postlint": "tsc && attw -P", "tests-only": "nyc tape 'test/**/*.js'", "pretest": "npm run lint", "test": "npm run tests-only", "posttest": "npx npm@'>= 10.2' audit --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@github.com:es-shims/Symbol.prototype.description.git" }, "keywords": [ "polyfill", "shim", "es", "shim", "ecmascript", "symbol", "description" ], "author": "Jordan Harband <ljharb@gmail.com>", "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "bugs": { "url": "https://github.com/es-shims/Symbol.prototype.description/issues" }, "homepage": "https://github.com/es-shims/Symbol.prototype.description#readme", "dependencies": { "call-bind": "^1.0.8", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "get-symbol-description": "^1.1.0", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "object.getownpropertydescriptors": "^2.1.9" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@es-shims/api": "^3.0.3", "@ljharb/eslint-config": "^22.1.2", "@ljharb/tsconfig": "^0.3.2", "@types/call-bind": "^1.0.5", "@types/object-inspect": "^1.13.0", "@types/object.getownpropertydescriptors": "^2.1.4", "@types/reflect.ownkeys": "^1.1.1", "@types/tape": "^5.8.1", "auto-changelog": "^2.5.0", "encoding": "^0.1.13", "eslint": "^9.39.1", "evalmd": "^0.0.19", "has-strict-mode": "^1.1.0", "hasown": "^2.0.2", "in-publish": "^2.0.1", "npmignore": "^0.3.2", "nyc": "^10.3.2", "object-inspect": "^1.13.4", "own-keys": "^1.0.1", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0", "typescript": "next" }, "engines": { "node": ">= 0.4" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "publishConfig": { "ignore": [ ".github/workflows", ".nycrc", "eslint.config.mjs", "test" ] } }