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

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.2-dfunckt-patch-1-eb2bc57e4a168080b3dcb6c7325abec18e76c2ae to 3.2.2

.github/workflows/flowzone.yml

7

CHANGELOG.md

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

# v3.2.2
## (2021-11-19)
## 3.2.2 - 2023-04-20
* Delete .github directory [dfunckt]
* Delete CODEOWNERS [dfunckt]
* Update dependencies [Thodoris Greasidis]
* Replace circleCI with flowzone [Thodoris Greasidis]

@@ -13,0 +14,0 @@ # v3.2.1

{
"name": "typed-error",
"version": "3.2.2-dfunckt-patch-1-eb2bc57e4a168080b3dcb6c7325abec18e76c2ae",
"version": "3.2.2",
"license": "Apache-2.0",

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

"scripts": {
"lint": "balena-lint --typescript src test",
"lint:fix": "balena-lint --typescript --fix src test",
"lint": "balena-lint src test",
"lint:fix": "balena-lint --fix src test",
"build": "tsc --pretty --project ./tsconfig.dist.json",
"test": "TS_NODE_FILES=true mocha",
"test": "mocha --config test/.mocha.yml",
"pretest": "npm run build",
"prepare": "npm run build"
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\" && npm run build"
},

@@ -27,17 +27,17 @@ "repository": {

"devDependencies": {
"@balena/lint": "^5.1.0",
"@types/bluebird": "^3.5.29",
"@types/chai": "^4.2.5",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.9",
"@balena/lint": "^6.2.2",
"@types/bluebird": "^3.5.38",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"bluebird": "^3.7.2",
"chai": "^4.2.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"coffeescript": "^2.5.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"mocha": "^6.2.3",
"ts-node": "^8.5.2",
"typescript": "^3.7.2"
"coffeescript": "^2.7.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},

@@ -52,16 +52,5 @@ "author": "Pagan Gazzard <page@balena.io>",

"homepage": "https://github.com/balena-io-modules/typed-error",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"*.ts": [
"balena-lint --typescript --fix"
]
},
"versionist": {
"publishedAt": "2021-11-19T14:36:36.923Z"
"publishedAt": "2023-04-20T09:56:46.482Z"
}
}

@@ -44,3 +44,5 @@ import * as Promise from 'bluebird';

expect(e).to.have.nested.property('constructor.name', 'MyError');
expect(e)
.to.have.property('constructor')
.that.has.property('name', 'MyError');
});

@@ -47,0 +49,0 @@ });

@@ -10,2 +10,3 @@ {

"strict": true,
"useUnknownInCatchVariables": false,
"noErrorTruncation": true,

@@ -12,0 +13,0 @@ "noUnusedParameters": true,

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