{
  "manifest": {
    "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": "https://github.com/jsdom/domexception.git"
    },
    "main": "index.js",
    "files": [
      "index.js",
      "webidl2js-wrapper.js",
      "lib/"
    ],
    "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"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-domexception-2.0.1-fb44aefba793e1574b0af6aed2801d057529f304-integrity/node_modules/domexception/package.json",
    "readmeFilename": "README.md",
    "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).\n",
    "licenseText": "MIT License\n\nCopyright © 2017 Domenic Denicola\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz",
    "hash": "fb44aefba793e1574b0af6aed2801d057529f304",
    "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
    "registry": "npm",
    "packageName": "domexception",
    "cacheIntegrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== sha1-+0Su+6eT4VdLCvau0oAdBXUp8wQ="
  },
  "registry": "npm",
  "hash": "fb44aefba793e1574b0af6aed2801d057529f304"
}