Socket
Socket
Sign inDemoInstall

typed-error

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-error - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1-update-deps-2a76155592b8a72796f0f6bb94920253d4dd8656

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Change Log

# v3.2.1
## (2020-08-05)
* Update dependencies [Pagan Gazzard]
## 3.2.0 - 2019-11-20

@@ -9,0 +14,0 @@

3

lib/typed-error.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TypedError = void 0;
let getStackTrace;
if (Error.captureStackTrace != null) {
const captureStackTrace = Error.captureStackTrace;
getStackTrace = e => {
getStackTrace = (e) => {
captureStackTrace(e, e.constructor);

@@ -8,0 +9,0 @@ };

{
"name": "typed-error",
"version": "3.2.0",
"version": "3.2.1-update-deps-2a76155592b8a72796f0f6bb94920253d4dd8656",
"license": "Apache-2.0",

@@ -14,4 +14,4 @@ "description": "A class designed to enable easily extending the built-in javascript Error, allowing typed errors.",

"scripts": {
"lint": "resin-lint --typescript src/ test/",
"lint:fix": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"{src,test,typings}/**/*.ts\"",
"lint": "balena-lint --typescript src test",
"lint:fix": "balena-lint --typescript --fix src test",
"build": "tsc --pretty --project ./tsconfig.dist.json",

@@ -24,19 +24,18 @@ "test": "TS_NODE_FILES=true mocha",

"type": "git",
"url": "https://github.com/resin-io/typed-error.git"
"url": "https://github.com/balena-io-modules/typed-error.git"
},
"devDependencies": {
"@balena/lint": "^5.1.0",
"@types/bluebird": "^3.5.29",
"@types/chai": "^4.2.5",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.9",
"bluebird": "^3.7.1",
"bluebird": "^3.7.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coffeescript": "^2.4.1",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"mocha": "^6.2.2",
"prettier": "^1.19.1",
"resin-lint": "^3.1.1",
"coffeescript": "^2.5.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"mocha": "^6.2.3",
"ts-node": "^8.5.2",

@@ -61,7 +60,5 @@ "typescript": "^3.7.2"

"*.ts": [
"prettier --config ./node_modules/resin-lint/config/.prettierrc --write",
"resin-lint --typescript",
"git add"
"balena-lint --typescript --fix"
]
}
}
let getStackTrace: (e: TypedError, err: Error | string) => void;
if (Error.captureStackTrace != null) {
const captureStackTrace = Error.captureStackTrace;
getStackTrace = e => {
getStackTrace = (e) => {
captureStackTrace(e, e.constructor);

@@ -6,0 +6,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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