Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

new-error

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-error - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

build/error-types/BaseError.d.ts

122

package.json
{
"name": "new-error",
"version": "2.0.0",
"description": "",
"main": "index.js",
"version": "2.0.1",
"description": "A production-grade error creation and serialization library designed for Typescript",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "npm run build:clean && npm run compile",
"build:clean": "rm -rf build/*",
"compile": "tsc",
"debug": "ts-node-dev --inspect -- src/index.ts",
"debug:break": "ts-node-dev --inspect-brk -- src/index.ts",
"test": "jest",
"test:ci": "jest --ci --coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest",
"test:watch": "jest --watch",
"test:coverage:watch": "jest --coverage --watch",
"toc": "toc-md README.md README.md",
"add-readme": "git add README.md",
"lint-staged": "lint-staged",
"prepare-publish": "npm run changelog:prepare && version-bump && npm run changelog:release && npm run changelog:stamp",
"version-bump": "version-bump",
"changelog:help": "changelog-version",
"changelog:verify": "changelog-version verify",
"changelog:prepare": "changelog-version prepare",
"changelog:stamp": "git-commit-stamper parse CHANGELOG.md",
"changelog:release": "changelog-version release",
"lint": "prettier-standard src/**/*.ts && standardx src/**/*.ts",
"ts-node-dev": "ts-node-dev"
},
"author": "",
"license": "ISC"
"repository": {
"type": "git",
"url": "git+https://github.com/theogravity/new-error.git"
},
"author": "Theo Gravity <theo@suteki.nu>",
"license": "MIT",
"keywords": [
"error",
"throw",
"custom",
"generate",
"new",
"extends",
"factory",
"subclass",
"inherit",
"extension",
"create",
"typescript",
"serialize",
"collection",
"stack",
"trace",
"err",
"log",
"logging"
],
"bugs": {
"url": "https://github.com/theogravity/new-error/issues"
},
"homepage": "https://github.com/theogravity/new-error#readme",
"dependencies": {
"es6-error": "^4.1.1",
"sprintf-js": "^1.1.2"
},
"devDependencies": {
"@theo.gravity/changelog-version": "2.1.10",
"@theo.gravity/version-bump": "2.0.12",
"@types/jest": "26.0.20",
"@types/node": "^14.14.32",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"eslint": "7.21.0",
"git-commit-stamper": "^1.0.9",
"jest": "^26.6.3",
"jest-cli": "26.6.3",
"jest-junit-reporter": "1.1.0",
"lint-staged": "10.5.4",
"pre-commit": "1.2.2",
"prettier-standard": "16.4.1",
"standardx": "^7.0.0",
"toc-md-alt": "^0.4.1",
"ts-jest": "26.5.3",
"ts-node": "9.1.1",
"ts-node-dev": "1.1.6",
"typescript": "4.2.3"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
2,
{
"args": "none"
}
]
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier-standard",
"git add"
]
},
"pre-commit": [
"toc",
"lint-staged",
"test:ci",
"build"
]
}
x
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc