UNPKG

es-string-html-methods

Version:

An ES-spec-compliant shim/polyfill/replacement for the Annex B String.prototype HTML methods that works as far down as ES3

162 lines (161 loc) 5.22 kB
{ "name": "es-string-html-methods", "version": "1.0.4", "description": "An ES-spec-compliant shim/polyfill/replacement for the Annex B String.prototype HTML methods that works as far down as ES3", "main": "index.json", "exports": { ".": "./index.json", "./auto": "./auto.js", "./shim": "./shim.js", "./anchor": "./anchor/index.js", "./anchor/auto": "./anchor/auto.js", "./anchor/polyfill": "./anchor/polyfill.js", "./anchor/implementation": "./anchor/implementation.js", "./anchor/shim": "./anchor/shim.js", "./big": "./big/index.js", "./big/auto": "./big/auto.js", "./big/polyfill": "./big/polyfill.js", "./big/implementation": "./big/implementation.js", "./big/shim": "./big/shim.js", "./blink": "./blink/index.js", "./blink/auto": "./blink/auto.js", "./blink/polyfill": "./blink/polyfill.js", "./blink/implementation": "./blink/implementation.js", "./blink/shim": "./blink/shim.js", "./bold": "./bold/index.js", "./bold/auto": "./bold/auto.js", "./bold/polyfill": "./bold/polyfill.js", "./bold/implementation": "./bold/implementation.js", "./bold/shim": "./bold/shim.js", "./fixed": "./fixed/index.js", "./fixed/auto": "./fixed/auto.js", "./fixed/polyfill": "./fixed/polyfill.js", "./fixed/implementation": "./fixed/implementation.js", "./fixed/shim": "./fixed/shim.js", "./fontcolor": "./fontcolor/index.js", "./fontcolor/auto": "./fontcolor/auto.js", "./fontcolor/polyfill": "./fontcolor/polyfill.js", "./fontcolor/implementation": "./fontcolor/implementation.js", "./fontcolor/shim": "./fontcolor/shim.js", "./fontsize": "./fontsize/index.js", "./fontsize/auto": "./fontsize/auto.js", "./fontsize/polyfill": "./fontsize/polyfill.js", "./fontsize/implementation": "./fontsize/implementation.js", "./fontsize/shim": "./fontsize/shim.js", "./italics": "./italics/index.js", "./italics/auto": "./italics/auto.js", "./italics/polyfill": "./italics/polyfill.js", "./italics/implementation": "./italics/implementation.js", "./italics/shim": "./italics/shim.js", "./link": "./link/index.js", "./link/auto": "./link/auto.js", "./link/polyfill": "./link/polyfill.js", "./link/implementation": "./link/implementation.js", "./link/shim": "./link/shim.js", "./small": "./small/index.js", "./small/auto": "./small/auto.js", "./small/polyfill": "./small/polyfill.js", "./small/implementation": "./small/implementation.js", "./small/shim": "./small/shim.js", "./strike": "./strike/index.js", "./strike/auto": "./strike/auto.js", "./strike/polyfill": "./strike/polyfill.js", "./strike/implementation": "./strike/implementation.js", "./strike/shim": "./strike/shim.js", "./sub": "./sub/index.js", "./sub/auto": "./sub/auto.js", "./sub/polyfill": "./sub/polyfill.js", "./sub/implementation": "./sub/implementation.js", "./sub/shim": "./sub/shim.js", "./sup": "./sup/index.js", "./sup/auto": "./sup/auto.js", "./sup/polyfill": "./sup/polyfill.js", "./sup/implementation": "./sup/implementation.js", "./sup/shim": "./sup/shim.js", "./package.json": "./package.json" }, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublishOnly": "safe-publish-latest", "prepublish": "not-in-publish || npm run prepublishOnly", "lint": "eslint --ext=.js,.mjs .", "postlint": "nyc es-shim-api --type=multi", "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+https://github.com/es-shims/es-string-html-methods.git" }, "keywords": [ "ecmascript", "javascript", "string", "string.prototype", "html", "anchor", "big", "blink", "bold", "fixed", "fontcolor", "fontsize", "italics", "link", "small", "strike", "sub", "sup" ], "author": "Jordan Harband <ljharb@gmail.com>", "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "bugs": { "url": "https://github.com/es-shims/es-string-html-methods/issues" }, "homepage": "https://github.com/es-shims/es-string-html-methods#readme", "devDependencies": { "@es-shims/api": "^3.0.2", "@ljharb/eslint-config": "^21.1.1", "auto-changelog": "^2.5.0", "encoding": "^0.1.13", "eslint": "=8.8.0", "for-each": "^0.3.5", "functions-have-names": "^1.2.3", "has-strict-mode": "^1.1.0", "in-publish": "^2.0.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0" }, "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.4", "define-properties": "^1.2.1", "es-abstract": "^1.23.9", "safe-array-concat": "^1.1.3" }, "engines": { "node": ">= 0.4" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "publishConfig": { "ignore": [ ".github/workflows" ] } }