110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "domexception@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "domexception",
|
|
"name": "domexception",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jsdom"
|
|
]
|
|
],
|
|
"_from": "domexception@>=1.0.0 <2.0.0",
|
|
"_id": "domexception@1.0.1",
|
|
"_inCache": true,
|
|
"_location": "/domexception",
|
|
"_nodeVersion": "8.9.4",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/domexception-1.0.1.tgz_1516581145452_0.33150808280333877"
|
|
},
|
|
"_npmUser": {
|
|
"name": "domenic",
|
|
"email": "d@domenic.me"
|
|
},
|
|
"_npmVersion": "5.6.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "domexception@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "domexception",
|
|
"name": "domexception",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/jsdom"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz",
|
|
"_shasum": "937442644ca6a31261ef36e3ec677fe805582c90",
|
|
"_shrinkwrap": null,
|
|
"_spec": "domexception@^1.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jsdom",
|
|
"author": {
|
|
"name": "Domenic Denicola",
|
|
"email": "d@domenic.me",
|
|
"url": "https://domenic.me/"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jsdom/domexception/issues"
|
|
},
|
|
"dependencies": {
|
|
"webidl-conversions": "^4.0.2"
|
|
},
|
|
"description": "An implementation of the DOMException class from browsers",
|
|
"devDependencies": {
|
|
"eslint": "^4.3.0",
|
|
"mkdirp": "^0.5.1",
|
|
"mocha": "^3.5.0",
|
|
"request": "^2.81.0",
|
|
"webidl2js": "^7.2.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==",
|
|
"shasum": "937442644ca6a31261ef36e3ec677fe805582c90",
|
|
"tarball": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz"
|
|
},
|
|
"files": [
|
|
"lib/"
|
|
],
|
|
"gitHead": "5995e990587d4e3d49beb1d9f8a1e430f4be75e0",
|
|
"homepage": "https://github.com/jsdom/domexception#readme",
|
|
"keywords": [
|
|
"dom",
|
|
"webidl",
|
|
"web idl",
|
|
"domexception",
|
|
"error",
|
|
"exception"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/public-api.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "domenic",
|
|
"email": "d@domenic.me"
|
|
}
|
|
],
|
|
"name": "domexception",
|
|
"optionalDependencies": {},
|
|
"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",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jsdom/domexception.git"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint lib",
|
|
"prepublish": "node scripts/generate.js",
|
|
"pretest": "npm run prepublish",
|
|
"test": "mocha"
|
|
},
|
|
"version": "1.0.1"
|
|
}
|