{
  "_id": "check-error",
  "maintainers": [
    {
      "name": "chaijs",
      "email": "chaijs@keithcirkel.co.uk"
    }
  ],
  "keywords": [
    "check-error",
    "error",
    "chai util"
  ],
  "dist-tags": {
    "latest": "2.1.3"
  },
  "author": {
    "name": "Jake Luer",
    "email": "jake@alogicalparadox.com",
    "url": "http://alogicalparadox.com"
  },
  "_rev": "17-2a66132d3cc3c9537a71542b191acde7",
  "description": "Error comparison and information related utility for node and the browser",
  "readme": "<h1 align=center>\n  <a href=\"http://chaijs.com\" title=\"Chai Documentation\">\n    <img alt=\"ChaiJS\" src=\"http://chaijs.com/img/chai-logo.png\">\n  </a>\n  <br>\n  check-error\n</h1>\n\n<p align=center>\n  Error comparison and information related utility for <a href=\"http://nodejs.org\">node</a> and the browser.\n</p>\n\n## What is Check-Error?\n\nCheck-Error is a module which you can use to retrieve an Error's information such as its `message` or `constructor` name and also to check whether two Errors are compatible based on their messages, constructors or even instances.\n\n## Installation\n\n### Node.js\n\n`check-error` is available on [npm](http://npmjs.org). To install it, type:\n\n    $ npm install check-error\n\n### Browsers\n\nYou can also use it within the browser; install via npm and use the `check-error.js` file found within the download. For example:\n\n```html\n<script src=\"./node_modules/check-error/check-error.js\"></script>\n```\n\n## Usage\n\nThe primary export of `check-error` is an object which has the following methods:\n\n* `compatibleInstance(err, errorLike)` - Checks if an error is compatible with another `errorLike` object. If `errorLike` is an error instance we do a strict comparison, otherwise we return `false` by default, because instances of objects can only be compatible if they're both error instances.\n* `compatibleConstructor(err, errorLike)` - Checks if an error's constructor is compatible with another `errorLike` object. If `err` has the same constructor as `errorLike` or if `err` is an instance of `errorLike`.\n* `compatibleMessage(err, errMatcher)` - Checks if an error message is compatible with an `errMatcher` RegExp or String (we check if the message contains the String).\n* `getConstructorName(errorLike)` - Retrieves the name of a constructor, an error's constructor or `errorLike` itself if it's not an error instance or constructor.\n* `getMessage(err)` - Retrieves the message of an error or `err` itself if it's a String. If `err` or `err.message` is undefined we return an empty String.\n\n```js\nimport * as checkError 'check-error';\n```\n\n#### .compatibleInstance(err, errorLike)\n\n```js\nimport * as checkError 'check-error';\n\nconst funcThatThrows = function() { throw new TypeError('I am a TypeError') };\nlet caughtErr;\n\ntry {\n  funcThatThrows();\n} catch(e) {\n  caughtErr = e;\n}\n\nconst sameInstance = caughtErr;\n\ncheckError.compatibleInstance(caughtErr, sameInstance); // true\ncheckError.compatibleInstance(caughtErr, new TypeError('Another error')); // false\n```\n\n#### .compatibleConstructor(err, errorLike)\n\n```js\nimport * as checkError 'check-error';\n\nconst funcThatThrows = function() { throw new TypeError('I am a TypeError') };\nlet caughtErr;\n\ntry {\n  funcThatThrows();\n} catch(e) {\n  caughtErr = e;\n}\n\ncheckError.compatibleConstructor(caughtErr, Error); // true\ncheckError.compatibleConstructor(caughtErr, TypeError); // true\ncheckError.compatibleConstructor(caughtErr, RangeError); // false\n```\n\n#### .compatibleMessage(err, errMatcher)\n\n```js\nimport * as checkError 'check-error';\n\nconst funcThatThrows = function() { throw new TypeError('I am a TypeError') };\nlet caughtErr;\n\ntry {\n  funcThatThrows();\n} catch(e) {\n  caughtErr = e;\n}\n\nconst sameInstance = caughtErr;\n\ncheckError.compatibleMessage(caughtErr, /TypeError$/); // true\ncheckError.compatibleMessage(caughtErr, 'I am a'); // true\ncheckError.compatibleMessage(caughtErr, /unicorn/); // false\ncheckError.compatibleMessage(caughtErr, 'I do not exist'); // false\n```\n\n#### .getConstructorName(errorLike)\n\n```js\nimport * as checkError 'check-error';\n\nconst funcThatThrows = function() { throw new TypeError('I am a TypeError') };\nlet caughtErr;\n\ntry {\n  funcThatThrows();\n} catch(e) {\n  caughtErr = e;\n}\n\nconst sameInstance = caughtErr;\n\ncheckError.getConstructorName(caughtErr) // 'TypeError'\n```\n\n#### .getMessage(err)\n\n```js\nimport * as checkError 'check-error';\n\nconst funcThatThrows = function() { throw new TypeError('I am a TypeError') };\nlet caughtErr;\n\ntry {\n  funcThatThrows();\n} catch(e) {\n  caughtErr = e;\n}\n\nconst sameInstance = caughtErr;\n\ncheckError.getMessage(caughtErr) // 'I am a TypeError'\n```\n",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/chaijs/check-error.git"
  },
  "users": {
    "justjavac": true
  },
  "bugs": {
    "url": "https://github.com/chaijs/check-error/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "check-error",
      "version": "1.0.0",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@1.0.0",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "4ba80ad494b9608e03fc4c33d6aef93d734bdf34",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-1.0.0.tgz",
        "integrity": "sha512-C8ZaPoYOcNm+CwHkyS4G2So8PiICnJSf4OA2J90AUk9Ebscc0Y/URqWuA4wUgMS50cM0sYemIWciSu4ZWA3Cmw==",
        "signatures": [
          {
            "sig": "MEUCIBbSor5GYmG85XaVEgYWlWrcK2locB+WEtjNerBBfhRaAiEA1X++fKVaILip6PBY0UvBsbk/oy/jiaApnR2LyS7KU+A=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "./index.js",
      "_from": ".",
      "files": [
        "index.js",
        "check-error.js"
      ],
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "_shasum": "4ba80ad494b9608e03fc4c33d6aef93d734bdf34",
      "engines": {
        "node": "*"
      },
      "gitHead": "b61892d74797f418b93817afd9d02b1cf0b10ed9",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore .",
        "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
        "build": "browserify --bare $npm_package_main --standalone checkError -o check-error.js",
        "pretest": "npm run lint",
        "test:node": "istanbul cover _mocha",
        "prepublish": "npm run build",
        "test:browser": "karma start --singleRun=true",
        "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "3.9.5",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "0.10.45",
      "dependencies": {},
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": 0,
          "max-statements": 0
        },
        "extends": [
          "strict/es5"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "devDependencies": {
        "karma": "^0.13.22",
        "mocha": "^2.4.5",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "istanbul": "^0.4.2",
        "coveralls": "2.11.9",
        "browserify": "^13.0.0",
        "karma-mocha": "^0.2.2",
        "simple-assert": "^1.0.0",
        "karma-coverage": "^0.5.5",
        "karma-browserify": "^5.0.2",
        "semantic-release": "^4.3.5",
        "travis-after-all": "^1.4.4",
        "lcov-result-merger": "^1.0.2",
        "phantomjs-prebuilt": "^2.1.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "karma-sauce-launcher": "^0.3.1",
        "eslint-plugin-filenames": "^0.2.0",
        "karma-phantomjs-launcher": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error-1.0.0.tgz_1464967937819_0.0839628055691719",
        "host": "packages-16-east.internal.npmjs.com"
      }
    },
    "1.0.1": {
      "name": "check-error",
      "version": "1.0.1",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@1.0.1",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "7ba748e678f51cf6b9fb131d41270ac9badb972a",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-1.0.1.tgz",
        "integrity": "sha512-/IRkp+vKbcfX3Ief3LXxDBpCMzBOuOkGFYqTbE1jkqnq98ucOLJMIyHkzQ+FGOk3JsP9442ftEHwawCrrPIEYw==",
        "signatures": [
          {
            "sig": "MEYCIQCnGLbb4g+9IumvH52G+P447N5NNrC48zj1efJHaLmuMwIhAOOMxr1nQFzE0AaTxuzdZiOXR8xuaHK/LMEKSfUky5aD",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "./index.js",
      "_from": ".",
      "files": [
        "index.js",
        "check-error.js"
      ],
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "_shasum": "7ba748e678f51cf6b9fb131d41270ac9badb972a",
      "engines": {
        "node": "*"
      },
      "gitHead": "d257b8667423de02d1663c814579024ba90c808c",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore .",
        "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
        "build": "browserify --bare $npm_package_main --standalone checkError -o check-error.js",
        "pretest": "npm run lint",
        "test:node": "istanbul cover _mocha",
        "prepublish": "npm run build",
        "test:browser": "karma start --singleRun=true",
        "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "3.9.5",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "0.10.45",
      "dependencies": {},
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": 0,
          "max-statements": 0
        },
        "extends": [
          "strict/es5"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "devDependencies": {
        "karma": "^0.13.22",
        "mocha": "^2.4.5",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "istanbul": "^0.4.2",
        "coveralls": "2.11.9",
        "browserify": "^13.0.0",
        "karma-mocha": "^0.2.2",
        "simple-assert": "^1.0.0",
        "karma-coverage": "^0.5.5",
        "karma-browserify": "^5.0.2",
        "semantic-release": "^4.3.5",
        "travis-after-all": "^1.4.4",
        "lcov-result-merger": "^1.0.2",
        "phantomjs-prebuilt": "^2.1.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "karma-sauce-launcher": "^0.3.1",
        "eslint-plugin-filenames": "^0.2.0",
        "karma-phantomjs-launcher": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error-1.0.1.tgz_1465291333990_0.3948423690162599",
        "host": "packages-12-west.internal.npmjs.com"
      }
    },
    "1.0.2": {
      "name": "check-error",
      "version": "1.0.2",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@1.0.2",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "574d312edd88bb5dd8912e9286dd6c0aed4aac82",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-1.0.2.tgz",
        "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==",
        "signatures": [
          {
            "sig": "MEYCIQDVWmYXeEYVwFkYTypixrwO19ECHIY0laL4EB4NGe4mSAIhAPe+o1k5NTKHNeVIxbUR1ph7taBOst3UuoDF/n5J2HId",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "./index.js",
      "_from": ".",
      "files": [
        "index.js",
        "check-error.js"
      ],
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "_shasum": "574d312edd88bb5dd8912e9286dd6c0aed4aac82",
      "engines": {
        "node": "*"
      },
      "gitHead": "22a3985d2ec528015774206703332790aec4dea7",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore .",
        "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
        "build": "browserify --bare $npm_package_main --standalone checkError -o check-error.js",
        "pretest": "npm run lint",
        "test:node": "istanbul cover _mocha",
        "prepublish": "npm run build",
        "test:browser": "karma start --singleRun=true",
        "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "3.10.2",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "0.10.46",
      "dependencies": {},
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": 0,
          "max-statements": 0
        },
        "extends": [
          "strict/es5"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "devDependencies": {
        "karma": "^0.13.22",
        "mocha": "^2.4.5",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "istanbul": "^0.4.2",
        "coveralls": "2.11.9",
        "browserify": "^13.0.0",
        "karma-mocha": "^0.2.2",
        "simple-assert": "^1.0.0",
        "karma-coverage": "^0.5.5",
        "karma-browserify": "^5.0.2",
        "semantic-release": "^4.3.5",
        "travis-after-all": "^1.4.4",
        "lcov-result-merger": "^1.0.2",
        "phantomjs-prebuilt": "^2.1.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "karma-sauce-launcher": "^0.3.1",
        "eslint-plugin-filenames": "^0.2.0",
        "karma-phantomjs-launcher": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error-1.0.2.tgz_1467062034464_0.8010135267395526",
        "host": "packages-12-west.internal.npmjs.com"
      }
    },
    "2.0.0": {
      "name": "check-error",
      "version": "2.0.0",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@2.0.0",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        },
        {
          "name": "keithamus",
          "email": "npm@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "589a4f201b6256fd93a2d165089fe43d2676d8c6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-2.0.0.tgz",
        "fileCount": 4,
        "integrity": "sha512-tjLAOBHKVxtPoHe/SA7kNOMvhCRdCJ3vETdeY0RuAc9popf+hyaSV6ZEg9hr4cpWF7jmo/JSWEnLDrnijS9Tog==",
        "signatures": [
          {
            "sig": "MEYCIQDcuTtTMzAqUv7Jg81jdivd2wsJ7GtwmSn+OcQw//di4wIhAMD8WwnTuvdvFWNTT4PcHOW70EBlPISTh17+t1iHDsS1",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 13017
      },
      "main": "./index.js",
      "type": "module",
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "module": "./index.js",
      "engines": {
        "node": ">= 16"
      },
      "gitHead": "6a8e4b37e368f0bd806712cce77e6c2c7b3e5018",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore index.js test/",
        "test": "npm run test:node && npm run test:browser",
        "build": "rollup -c rollup.config.js",
        "pretest": "npm run lint && npm run build",
        "test:node": "mocha",
        "prepublish": "npm run build",
        "test:browser": "web-test-runner --node-resolve test/",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "9.6.4",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "16.20.1",
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": "off",
          "max-statements": "off",
          "prefer-arrow-callback": "off"
        },
        "extends": [
          "strict/es6"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^9.1.2",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "rollup": "^2.58.0",
        "browserify": "^13.0.0",
        "simple-assert": "^2.0.0",
        "@web/test-runner": "^0.17.0",
        "semantic-release": "^4.3.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "@rollup/plugin-commonjs": "^21.0.0",
        "eslint-plugin-filenames": "^0.2.0",
        "@rollup/plugin-node-resolve": "^13.0.5"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error_2.0.0_1689972414074_0.055565608674451816",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.0.3": {
      "name": "check-error",
      "version": "1.0.3",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@1.0.3",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        },
        {
          "name": "keithamus",
          "email": "npm@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "a6502e4312a7ee969f646e83bb3ddd56281bd694",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-1.0.3.tgz",
        "fileCount": 5,
        "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==",
        "signatures": [
          {
            "sig": "MEYCIQDkLRHkpMQm3FwCZOdCkweJuUHsjHGrXQJ/7bizDYvvEQIhANhO0/JAglFThY+x9pzDxwEHRD20d7QmKDWVb/PB0/Zi",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 14360
      },
      "main": "./index.js",
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "engines": {
        "node": "*"
      },
      "gitHead": "a0052c7ec4e37333927cf80bad9f8d84ad260b79",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore .",
        "test": "npm run test:node && npm run test:browser && npm run upload-coverage",
        "build": "browserify --bare $npm_package_main --standalone checkError -o check-error.js",
        "pretest": "npm run lint",
        "test:node": "istanbul cover _mocha",
        "prepublish": "npm run build",
        "test:browser": "karma start --singleRun=true",
        "upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "keithamus",
        "email": "npm@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "9.6.4",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "20.0.0",
      "dependencies": {
        "get-func-name": "^2.0.2"
      },
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": 0,
          "max-statements": 0
        },
        "extends": [
          "strict/es5"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "karma": "^0.13.22",
        "mocha": "^2.4.5",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "istanbul": "^0.4.2",
        "coveralls": "2.11.9",
        "browserify": "^13.0.0",
        "karma-mocha": "^0.2.2",
        "simple-assert": "^1.0.0",
        "karma-coverage": "^0.5.5",
        "karma-browserify": "^5.0.2",
        "semantic-release": "^4.3.5",
        "travis-after-all": "^1.4.4",
        "lcov-result-merger": "^1.0.2",
        "phantomjs-prebuilt": "^2.1.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "karma-sauce-launcher": "^0.3.1",
        "eslint-plugin-filenames": "^0.2.0",
        "karma-phantomjs-launcher": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error_1.0.3_1695806567894_0.17013246235074675",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.0": {
      "name": "check-error",
      "version": "2.1.0",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@2.1.0",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        },
        {
          "name": "keithamus",
          "email": "npm@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "18fc919e9092304eb33e7b12b8a218902f79efb6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-2.1.0.tgz",
        "fileCount": 4,
        "integrity": "sha512-Wty4YnbLVv+/t4hCGIzptHuIMQiJTG0OQYM0SpEzXbpwCHk/OWNeTtEpc5IPfitT6PpKLh4ETf3N7nDP7FDDtg==",
        "signatures": [
          {
            "sig": "MEUCIFshsx3UcbFS+eGFNxVPyx31uWS8mYT8pRDGfeIcEE8rAiEA/QCwFPCIBflLWOB7vmNv6fCI1UlOBiZVSmMYtSOBtzc=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 13456
      },
      "main": "./index.js",
      "type": "module",
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "module": "./index.js",
      "engines": {
        "node": ">= 16"
      },
      "gitHead": "d3622a0af07ddafe5275e452e3d780bbfda14110",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore index.js test/",
        "test": "npm run test:node && npm run test:browser",
        "build": "rollup -c rollup.config.js",
        "pretest": "npm run lint && npm run build",
        "test:node": "mocha",
        "prepublish": "npm run build",
        "test:browser": "web-test-runner",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "10.7.0",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "22.1.0",
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": "off",
          "max-statements": "off",
          "prefer-reflect": "off",
          "prefer-arrow-callback": "off"
        },
        "extends": [
          "strict/es6"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^9.1.2",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "rollup": "^2.58.0",
        "browserify": "^13.0.0",
        "simple-assert": "^2.0.0",
        "@web/test-runner": "^0.17.0",
        "semantic-release": "^4.3.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "@rollup/plugin-commonjs": "^21.0.0",
        "eslint-plugin-filenames": "^0.2.0",
        "@rollup/plugin-node-resolve": "^13.0.5"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error_2.1.0_1715176831585_0.944098384684732",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.1": {
      "name": "check-error",
      "version": "2.1.1",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "author": {
        "url": "http://alogicalparadox.com",
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com"
      },
      "license": "MIT",
      "_id": "check-error@2.1.1",
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        },
        {
          "name": "keithamus",
          "email": "npm@keithcirkel.co.uk"
        }
      ],
      "contributors": [
        {
          "url": "https://github.com/davelosert",
          "name": "David Losert"
        },
        {
          "url": "https://github.com/keithamus",
          "name": "Keith Cirkel"
        },
        {
          "url": "https://github.com/bajtos",
          "name": "Miroslav Bajtoš"
        },
        {
          "url": "https://github.com/lucasfcosta",
          "name": "Lucas Fernandes da Costa"
        }
      ],
      "homepage": "https://github.com/chaijs/check-error#readme",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "dist": {
        "shasum": "87eb876ae71ee388fa0471fe423f494be1d96ccc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-2.1.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==",
        "signatures": [
          {
            "sig": "MEUCIAl9k4ME/A/hSRN8G9q2gZPxwfFLVo+Y98SjGJgWYfZLAiEAlWpR4ACLYgLBYvX/3qaFgu88/gnu406K2v27ArmEZU8=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 11383
      },
      "main": "./index.js",
      "type": "module",
      "config": {
        "ghooks": {
          "commit-msg": "validate-commit-msg"
        }
      },
      "module": "./index.js",
      "engines": {
        "node": ">= 16"
      },
      "gitHead": "36f9271a23f11ab99301a9c0a39f342767267c8d",
      "scripts": {
        "lint": "eslint --ignore-path .gitignore index.js test/",
        "test": "npm run test:node && npm run test:browser",
        "pretest": "npm run lint",
        "test:node": "mocha",
        "test:browser": "web-test-runner",
        "semantic-release": "semantic-release pre && npm publish && semantic-release post"
      },
      "_npmUser": {
        "name": "chaijs",
        "email": "chaijs@keithcirkel.co.uk"
      },
      "repository": {
        "url": "git+ssh://git@github.com/chaijs/check-error.git",
        "type": "git"
      },
      "_npmVersion": "10.7.0",
      "description": "Error comparison and information related utility for node and the browser",
      "directories": {},
      "_nodeVersion": "22.1.0",
      "eslintConfig": {
        "env": {
          "es6": true
        },
        "rules": {
          "complexity": "off",
          "max-statements": "off",
          "prefer-reflect": "off",
          "prefer-arrow-callback": "off"
        },
        "extends": [
          "strict/es6"
        ],
        "globals": {
          "HTMLElement": false
        }
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^9.1.2",
        "eslint": "^2.4.0",
        "ghooks": "^1.0.1",
        "browserify": "^13.0.0",
        "simple-assert": "^2.0.0",
        "@web/test-runner": "^0.17.0",
        "semantic-release": "^4.3.5",
        "browserify-istanbul": "^1.0.0",
        "validate-commit-msg": "^2.3.1",
        "eslint-config-strict": "^8.5.0",
        "eslint-plugin-filenames": "^0.2.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/check-error_2.1.1_1715201395126_0.024704107879484072",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.3": {
      "name": "check-error",
      "description": "Error comparison and information related utility for node and the browser",
      "keywords": [
        "check-error",
        "error",
        "chai util"
      ],
      "license": "MIT",
      "author": {
        "name": "Jake Luer",
        "email": "jake@alogicalparadox.com",
        "url": "http://alogicalparadox.com"
      },
      "contributors": [
        {
          "name": "David Losert",
          "url": "https://github.com/davelosert"
        },
        {
          "name": "Keith Cirkel",
          "url": "https://github.com/keithamus"
        },
        {
          "name": "Miroslav Bajtoš",
          "url": "https://github.com/bajtos"
        },
        {
          "name": "Lucas Fernandes da Costa",
          "url": "https://github.com/lucasfcosta"
        }
      ],
      "type": "module",
      "main": "./index.js",
      "module": "./index.js",
      "repository": {
        "type": "git",
        "url": "git+ssh://git@github.com/chaijs/check-error.git"
      },
      "scripts": {
        "lint": "eslint index.js test/",
        "pretest": "npm run lint",
        "test": "npm run test:node && npm run test:browser",
        "test:browser": "web-test-runner",
        "test:node": "mocha"
      },
      "devDependencies": {
        "@eslint/js": "^9.31.0",
        "@web/test-runner": "^0.20.2",
        "eslint": "^9.31.0",
        "mocha": "^11.7.1",
        "simple-assert": "^2.0.0"
      },
      "engines": {
        "node": ">= 16"
      },
      "version": "2.1.3",
      "gitHead": "fc30ec40ec6e0702935cecbdf68d4f3fd2a657eb",
      "_id": "check-error@2.1.3",
      "bugs": {
        "url": "https://github.com/chaijs/check-error/issues"
      },
      "homepage": "https://github.com/chaijs/check-error#readme",
      "_nodeVersion": "22.21.1",
      "_npmVersion": "11.7.0",
      "dist": {
        "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
        "shasum": "2427361117b70cca8dc89680ead32b157019caf5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/check-error/-/check-error-2.1.3.tgz",
        "fileCount": 4,
        "unpackedSize": 10615,
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/check-error@2.1.3",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEYCIQC7SNHqfnflWp9VreCnvCj2Qf5de3C+bwqnNRuDH4mBzwIhAOZtNVDVQG+d3sNV22RLo9aR/V2snXFjJBRBPgHVGnkW"
          }
        ]
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:ab333f9d-b74e-45f1-b36f-f49b4902618c"
        }
      },
      "directories": {},
      "maintainers": [
        {
          "name": "chaijs",
          "email": "chaijs@keithcirkel.co.uk"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/check-error_2.1.3_1767454609281_0.977477258168385"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "check-error",
  "time": {
    "created": "2016-06-03T15:32:19.225Z",
    "modified": "2026-05-06T08:27:05.762Z",
    "1.0.0": "2016-06-03T15:32:19.225Z",
    "1.0.1": "2016-06-07T09:22:16.414Z",
    "1.0.2": "2016-06-27T21:13:56.593Z",
    "2.0.0": "2023-07-21T20:46:54.219Z",
    "1.0.3": "2023-09-27T09:22:48.055Z",
    "2.1.0": "2024-05-08T14:00:31.754Z",
    "2.1.1": "2024-05-08T20:49:55.268Z",
    "2.1.3": "2026-01-03T15:36:49.438Z"
  },
  "contributors": [
    {
      "name": "David Losert",
      "url": "https://github.com/davelosert"
    },
    {
      "name": "Keith Cirkel",
      "url": "https://github.com/keithamus"
    },
    {
      "name": "Miroslav Bajtoš",
      "url": "https://github.com/bajtos"
    },
    {
      "name": "Lucas Fernandes da Costa",
      "url": "https://github.com/lucasfcosta"
    }
  ],
  "readmeFilename": "README.md",
  "homepage": "https://github.com/chaijs/check-error#readme"
}