{
	"name": "domexception",
	"versions": {
		"1.0.0": {
			"name": "domexception",
			"description": "An implementation of the DOMException class from browsers",
			"keywords": [
				"dom",
				"webidl",
				"web idl",
				"domexception",
				"error",
				"exception"
			],
			"version": "1.0.0",
			"author": {
				"name": "Domenic Denicola",
				"email": "d@domenic.me",
				"url": "https://domenic.me/"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/jsdom/domexception.git"
			},
			"main": "lib/public-api.js",
			"files": [
				"lib/"
			],
			"scripts": {
				"prepublish": "node scripts/generate.js",
				"pretest": "npm run prepublish",
				"test": "mocha",
				"lint": "eslint lib"
			},
			"devDependencies": {
				"eslint": "^4.3.0",
				"mkdirp": "^0.5.1",
				"mocha": "^3.5.0",
				"request": "^2.81.0",
				"webidl2js": "^7.2.0"
			},
			"gitHead": "ddf4e33b53d5ef8d77d6e06f7c38030aadab1440",
			"bugs": {
				"url": "https://github.com/jsdom/domexception/issues"
			},
			"homepage": "https://github.com/jsdom/domexception#readme",
			"_id": "domexception@1.0.0",
			"_npmVersion": "5.3.0",
			"_nodeVersion": "8.3.0",
			"_npmUser": {
				"name": "domenic",
				"email": "d@domenic.me"
			},
			"dist": {
				"integrity": "sha512-WpwuBlZ2lQRFa4H/4w49deb9rJLot9KmqrKKjMc9qBl7CID+DdC2swoa34ccRl+anL2B6bLp6TjFdIdnzekMBQ==",
				"shasum": "81fe5df81b3f057052cde3a9fa9bf536a85b9ab0",
				"tarball": "https://registry.npmjs.org/domexception/-/domexception-1.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "domenic",
					"email": "d@domenic.me"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/domexception-1.0.0.tgz_1502680599604_0.9427031551022083"
			},
			"directories": {},
			"contributors": []
		},
		"1.0.1": {
			"name": "domexception",
			"description": "An implementation of the DOMException class from browsers",
			"keywords": [
				"dom",
				"webidl",
				"web idl",
				"domexception",
				"error",
				"exception"
			],
			"version": "1.0.1",
			"author": {
				"name": "Domenic Denicola",
				"email": "d@domenic.me",
				"url": "https://domenic.me/"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/jsdom/domexception.git"
			},
			"main": "lib/public-api.js",
			"files": [
				"lib/"
			],
			"scripts": {
				"prepublish": "node scripts/generate.js",
				"pretest": "npm run prepublish",
				"test": "mocha",
				"lint": "eslint lib"
			},
			"dependencies": {
				"webidl-conversions": "^4.0.2"
			},
			"devDependencies": {
				"eslint": "^4.3.0",
				"mkdirp": "^0.5.1",
				"mocha": "^3.5.0",
				"request": "^2.81.0",
				"webidl2js": "^7.2.0"
			},
			"gitHead": "5995e990587d4e3d49beb1d9f8a1e430f4be75e0",
			"bugs": {
				"url": "https://github.com/jsdom/domexception/issues"
			},
			"homepage": "https://github.com/jsdom/domexception#readme",
			"_id": "domexception@1.0.1",
			"_npmVersion": "5.6.0",
			"_nodeVersion": "8.9.4",
			"_npmUser": {
				"name": "domenic",
				"email": "d@domenic.me"
			},
			"dist": {
				"integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==",
				"shasum": "937442644ca6a31261ef36e3ec677fe805582c90",
				"tarball": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz"
			},
			"maintainers": [
				{
					"name": "domenic",
					"email": "d@domenic.me"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/domexception-1.0.1.tgz_1516581145452_0.33150808280333877"
			},
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "domexception",
			"description": "An implementation of the DOMException class from browsers",
			"keywords": [
				"dom",
				"webidl",
				"web idl",
				"domexception",
				"error",
				"exception"
			],
			"version": "2.0.0",
			"author": {
				"name": "Domenic Denicola",
				"email": "d@domenic.me",
				"url": "https://domenic.me/"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/jsdom/domexception.git"
			},
			"main": "index.js",
			"scripts": {
				"prepare": "node scripts/generate.js",
				"init-wpt": "node scripts/get-latest-platform-tests.js",
				"pretest": "npm run prepare && npm run init-wpt",
				"test": "mocha",
				"lint": "eslint lib"
			},
			"dependencies": {
				"webidl-conversions": "^4.0.2"
			},
			"devDependencies": {
				"eslint": "^6.7.2",
				"mkdirp": "^0.5.1",
				"mocha": "^6.2.2",
				"request": "^2.88.0",
				"webidl2js": "^11.0.0"
			},
			"engines": {
				"node": ">=8"
			},
			"gitHead": "696792281e474a68cc8fcb4db13dec4ca8a0762f",
			"bugs": {
				"url": "https://github.com/jsdom/domexception/issues"
			},
			"homepage": "https://github.com/jsdom/domexception#readme",
			"_id": "domexception@2.0.0",
			"_nodeVersion": "12.1.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-OVnz+UpkJ8zN7pDNROCfluq6mfq9stIRNqNGps7X6GSzjTqQPKmAxANDbQrFTQSmvHKavwCm/nTT2yXtNqAPZw==",
				"shasum": "914a1dcfa9a9ae57cfe7223372f57b25861cc07c",
				"tarball": "https://registry.npmjs.org/domexception/-/domexception-2.0.0.tgz",
				"fileCount": 9,
				"unpackedSize": 15290,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6+7/CRA9TVsSAnZWagAAWs8QAI2qCP/Adig9YgP1n42T\nUCGO11C5LDamfHB8HvhIpecFWSpbOyNA/3ORUw0/lTxF76LtceKsHKEeWytz\nRhS0l9vOjL42RkrSdA29r/9lldUOTi4qNPi34kZl8lfWVdS+V6/YfbZibhAt\nOupju75D3EopRVH7LoRLj9xhxDGBF+qoYozEEHEyJi3ZTnsZIr4+p5c/cD2u\nLwbEPE/L5l7B3kqK9bOePqjbcVH4RM5H2uJJkc9BtMiFAc55RKe2q9Xxd4d4\njkr9igoPWp2HT5gd2CXG1KEcrQ4u5eRA0dwuMI4jv8z3CSQU1yf1ADIlvqOu\nTo4MpEKw/zVHCdyoW4y0mORT9R5P24bwO7MZRY19QeH58iTCVVo+vMPSwyj0\nmL2aJDMXgKit7tvPsNk8yofVgHl1undZ93yH3QuWYOUU6pFPtPbcJqj20r7W\njvFc/5Cpz8WEWC+n73mQyOHznH9Tu9pFcE6DO6lbihIYS+3Jv66zlOuWAR0p\n2OUAuT7nUA8run5u4ENj7CJzdFYwcklmW03SIlyVJBkkzwQU9lbIInf9F2cQ\n75mABFMnZzlT4A5eIdm7VX6QcqN0MvHYcjZdEy5iud9OKzk0VTL3aymCLz9+\naXEEwQ4Ei6L8vssysmScxTlA6E0eFkiynHKLvu/2juOsVr7ItXhtFTiX9ePF\nck3s\r\n=DUTm\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"email": "d@domenic.me",
					"name": "domenic"
				},
				{
					"email": "joris@jorisvanderwel.com",
					"name": "joris-van-der-wel"
				},
				{
					"email": "sebmaster16@gmail.com",
					"name": "sebmaster"
				},
				{
					"email": "timothygu99@gmail.com",
					"name": "timothygu"
				},
				{
					"email": "tmpvar@gmail.com",
					"name": "tmpvar"
				},
				{
					"email": "code@zirro.se",
					"name": "zirro"
				}
			],
			"_npmUser": {
				"name": "domenic",
				"email": "d@domenic.me"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/domexception_2.0.0_1575743231412_0.4986577227494411"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		},
		"2.0.1": {
			"name": "domexception",
			"description": "An implementation of the DOMException class from browsers",
			"keywords": [
				"dom",
				"webidl",
				"web idl",
				"domexception",
				"error",
				"exception"
			],
			"version": "2.0.1",
			"author": {
				"name": "Domenic Denicola",
				"email": "d@domenic.me",
				"url": "https://domenic.me/"
			},
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/jsdom/domexception.git"
			},
			"main": "index.js",
			"scripts": {
				"prepare": "node scripts/generate.js",
				"init-wpt": "node scripts/get-latest-platform-tests.js",
				"pretest": "npm run prepare && npm run init-wpt",
				"test": "mocha",
				"lint": "eslint lib"
			},
			"dependencies": {
				"webidl-conversions": "^5.0.0"
			},
			"devDependencies": {
				"eslint": "^6.7.2",
				"mkdirp": "^0.5.1",
				"mocha": "^6.2.2",
				"request": "^2.88.0",
				"webidl2js": "^12.0.0"
			},
			"engines": {
				"node": ">=8"
			},
			"gitHead": "58fee1913c3586b297ac340f0ea30b26d005f8a8",
			"bugs": {
				"url": "https://github.com/jsdom/domexception/issues"
			},
			"homepage": "https://github.com/jsdom/domexception#readme",
			"_id": "domexception@2.0.1",
			"_nodeVersion": "12.1.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
				"shasum": "fb44aefba793e1574b0af6aed2801d057529f304",
				"tarball": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
				"fileCount": 9,
				"unpackedSize": 15542,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9Tv9CRA9TVsSAnZWagAAessP/35PizgLrtUzzbaWkAjB\n9CEVNi+e+w38PSPao6ybSY1BEUOEULghPEpCvBosiGIeidl/u6HKQSKHBN/0\nuQv1D3fy1JMjEQaj3KZ/DGIoBaiZKL14DwiiTOs3YVYBxuB+zLW1/99FdAIq\nSyesAiagoFmZ8ZuUn3aS5GtiikpkmF39/N6XT9Wn0nefdXxOnN0Fs3IeiNvK\npBiBUTa8IWV8M6eifccQbxzqCZYr2FD4tG2Jwl9/zYNFvViNMM09+2fnDH2i\nswBQzlbqTtmd74iVst/fmvHyVbC6dfjNYAmYAuf2JvOrqgo+FVdEeGrf9RTE\n8X3rMgEIIz4hHCaT0OZt+F2w4Us2GReQGzc+P5+9FPUez2OZU8u6gqD5ubOx\nQ/BnKyXQBsd5qAXGK53E1wmcNXsnbVAEqv7QZBgBvTTEJnLZ0Gvpeg0920BY\ngERAhEyHwJMfL69RlrcNWtZdRErzhQc2tN1nuPrXo+7qeuHsF8304k/j0FPm\ndttqx8o6TK5WsMlM5TbFMVSC5l0iesg7olN/oOxA/npWMGYJYu3QvShhug0J\nueyVGf03rpqT1XAa5zIkHiFYKLdV6r17/Z3yY3EyRih4vwvjzey86bylY8ou\nksYJCFrPrn6AcxjwR8K4hXvt5DYnovPN0KHopRdrM8Xu0kuj7gdURgNisPvl\nE9EF\r\n=ludO\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"email": "d@domenic.me",
					"name": "domenic"
				},
				{
					"email": "joris@jorisvanderwel.com",
					"name": "joris-van-der-wel"
				},
				{
					"email": "sebmaster16@gmail.com",
					"name": "sebmaster"
				},
				{
					"email": "timothygu99@gmail.com",
					"name": "timothygu"
				},
				{
					"email": "tmpvar@gmail.com",
					"name": "tmpvar"
				},
				{
					"email": "code@zirro.se",
					"name": "zirro"
				}
			],
			"_npmUser": {
				"name": "domenic",
				"email": "d@domenic.me"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/domexception_2.0.1_1576352765265_0.9754469431379906"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2019-12-14T19:46:07.782Z",
		"created": "2017-08-14T03:16:40.561Z",
		"1.0.0": "2017-08-14T03:16:40.561Z",
		"1.0.1": "2018-01-22T00:32:26.351Z",
		"2.0.0": "2019-12-07T18:27:11.550Z",
		"2.0.1": "2019-12-14T19:46:05.375Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.0.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"472a3a681cb03cccd67eb0fe4f5b0a4b\"",
			"fetched": 1593324333770
		}
	},
	"_distfiles": {
		"domexception-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/domexception/-/domexception-1.0.0.tgz",
			"sha": "81fe5df81b3f057052cde3a9fa9bf536a85b9ab0",
			"registry": "npmjs"
		},
		"domexception-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz",
			"sha": "937442644ca6a31261ef36e3ec677fe805582c90",
			"registry": "npmjs"
		},
		"domexception-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/domexception/-/domexception-2.0.0.tgz",
			"sha": "914a1dcfa9a9ae57cfe7223372f57b25861cc07c",
			"registry": "npmjs"
		},
		"domexception-2.0.1.tgz": {
			"url": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
			"sha": "fb44aefba793e1574b0af6aed2801d057529f304",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"domexception-1.0.1.tgz": {
			"shasum": "937442644ca6a31261ef36e3ec677fe805582c90"
		}
	},
	"_rev": "2-82ae96d59a286e7b",
	"_id": "domexception",
	"readme": "# DOMException\n\nThis package implements the [`DOMException`](https://heycam.github.io/webidl/#idl-DOMException) class, from web browsers. It exists in service of [jsdom](https://github.com/tmpvar/jsdom) and related packages.\n\nExample usage:\n\n```js\nconst DOMException = require(\"domexception\");\n\nconst e1 = new DOMException(\"Something went wrong\", \"BadThingsError\");\nconsole.assert(e1.name === \"BadThingsError\");\nconsole.assert(e1.code === 0);\n\nconst e2 = new DOMException(\"Another exciting error message\", \"NoModificationAllowedError\");\nconsole.assert(e2.name === \"NoModificationAllowedError\");\nconsole.assert(e2.code === 7);\n\nconsole.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10);\n```\n\n## APIs\n\nThis package exposes two flavors of the `DOMException` interface depending on the imported module.\n\n### `domexception` module\n\nThis module default-exports the `DOMException` interface constructor.\n\n### `domexception/webidl2js-wrapper` module\n\nThis module exports the `DOMException` [interface wrapper API](https://github.com/jsdom/webidl2js#for-interfaces) generated by [webidl2js](https://github.com/jsdom/webidl2js)."
}