UNPKG

es-arraybuffer-base64

Version:

An ES-spec-compliant shim/polyfill/replacement for ArrayBuffer base64 methods that works as far down as ES3

128 lines (127 loc) 5.28 kB
{ "name": "es-arraybuffer-base64", "version": "1.1.2", "description": "An ES-spec-compliant shim/polyfill/replacement for ArrayBuffer base64 methods that works as far down as ES3", "main": "index.json", "exports": { ".": "./index.json", "./auto": "./auto.js", "./shim": "./shim.js", "./Uint8Array.fromBase64": "./Uint8Array.fromBase64/index.js", "./Uint8Array.fromBase64/auto": "./Uint8Array.fromBase64/auto.js", "./Uint8Array.fromBase64/polyfill": "./Uint8Array.fromBase64/polyfill.js", "./Uint8Array.fromBase64/implementation": "./Uint8Array.fromBase64/implementation.js", "./Uint8Array.fromBase64/shim": "./Uint8Array.fromBase64/shim.js", "./Uint8Array.fromHex": "./Uint8Array.fromHex/index.js", "./Uint8Array.fromHex/auto": "./Uint8Array.fromHex/auto.js", "./Uint8Array.fromHex/polyfill": "./Uint8Array.fromHex/polyfill.js", "./Uint8Array.fromHex/implementation": "./Uint8Array.fromHex/implementation.js", "./Uint8Array.fromHex/shim": "./Uint8Array.fromHex/shim.js", "./Uint8Array.prototype.toBase64": "./Uint8Array.prototype.toBase64/index.js", "./Uint8Array.prototype.toBase64/auto": "./Uint8Array.prototype.toBase64/auto.js", "./Uint8Array.prototype.toBase64/polyfill": "./Uint8Array.prototype.toBase64/polyfill.js", "./Uint8Array.prototype.toBase64/implementation": "./Uint8Array.prototype.toBase64/implementation.js", "./Uint8Array.prototype.toBase64/shim": "./Uint8Array.prototype.toBase64/shim.js", "./Uint8Array.prototype.toHex": "./Uint8Array.prototype.toHex/index.js", "./Uint8Array.prototype.toHex/auto": "./Uint8Array.prototype.toHex/auto.js", "./Uint8Array.prototype.toHex/polyfill": "./Uint8Array.prototype.toHex/polyfill.js", "./Uint8Array.prototype.toHex/implementation": "./Uint8Array.prototype.toHex/implementation.js", "./Uint8Array.prototype.toHex/shim": "./Uint8Array.prototype.toHex/shim.js", "./Uint8Array.prototype.setFromHex": "./Uint8Array.prototype.setFromHex/index.js", "./Uint8Array.prototype.setFromHex/auto": "./Uint8Array.prototype.setFromHex/auto.js", "./Uint8Array.prototype.setFromHex/polyfill": "./Uint8Array.prototype.setFromHex/polyfill.js", "./Uint8Array.prototype.setFromHex/implementation": "./Uint8Array.prototype.setFromHex/implementation.js", "./Uint8Array.prototype.setFromHex/shim": "./Uint8Array.prototype.setFromHex/shim.js", "./Uint8Array.prototype.setFromBase64": "./Uint8Array.prototype.setFromBase64/index.js", "./Uint8Array.prototype.setFromBase64/auto": "./Uint8Array.prototype.setFromBase64/auto.js", "./Uint8Array.prototype.setFromBase64/polyfill": "./Uint8Array.prototype.setFromBase64/polyfill.js", "./Uint8Array.prototype.setFromBase64/implementation": "./Uint8Array.prototype.setFromBase64/implementation.js", "./Uint8Array.prototype.setFromBase64/shim": "./Uint8Array.prototype.setFromBase64/shim.js", "./package.json": "./package.json" }, "scripts": { "prepack": "npmignore --auto --commentLines=autogenerated", "prepublishOnly": "safe-publish-latest", "prepublish": "not-in-publish || npm run prepublishOnly", "prelint": "evalmd README.md", "lint": "eslint --ext=js,mjs .", "pretest": "npm run lint", "tests-only": "nyc tape 'test/**/*.js'", "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-arraybuffer-base64.git" }, "author": "Jordan Harband <ljharb@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/es-shims/es-arraybuffer-base64/issues" }, "homepage": "https://github.com/es-shims/es-arraybuffer-base64#readme", "keywords": [ "ecmascript", "javascript", "es-shim", "API", "ArrayBuffer", "base64", "Uint8Array" ], "devDependencies": { "@ljharb/eslint-config": "^21.1.1", "auto-changelog": "^2.5.0", "available-typed-arrays": "^1.0.7", "encoding": "^0.1.13", "eslint": "=8.8.0", "evalmd": "^0.0.19", "glob": "=10.3.7", "in-publish": "^2.0.1", "is-core-module": "^2.15.1", "jackspeak": "=2.1.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", "object-inspect": "^1.13.3", "safe-publish-latest": "^2.0.0", "tape": "^5.9.0" }, "dependencies": { "array-buffer-byte-length": "^1.0.1", "call-bind": "^1.0.8", "call-bound": "^1.0.2", "define-properties": "^1.2.1", "es-abstract": "^1.23.5", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "is-array-buffer": "^3.0.4", "is-shared-array-buffer": "^1.0.3", "is-typed-array": "^1.1.13", "math-intrinsics": "^1.0.0", "safe-array-concat": "^1.1.2", "safe-regex-test": "^1.0.3", "typed-array-buffer": "^1.0.2", "typed-array-byte-length": "^1.0.1", "typed-array-byte-offset": "^1.0.3", "typed-array-length": "^1.0.7", "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "publishConfig": { "ignore": [ ".github/workflows" ] } }