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

abstract-error

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-error - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

3

lib/abstract-error.js

@@ -27,3 +27,3 @@ "use strict";

(0, _inheritsEx.inherits)(AbstractError, Error);
var _default = AbstractError;
var _default = exports.default = AbstractError;
/**

@@ -37,3 +37,2 @@ * Create an Error Class

*/
exports.default = _default;
function createErrorClass(aType, aErrorCode, ParentErrorClass = AbstractError) {

@@ -40,0 +39,0 @@ ParentErrorClass[aType] = aErrorCode;

@@ -12,4 +12,3 @@ "use strict";

var _abstractError = require("./abstract-error.js");
const Errors = {};
exports.Errors = Errors;
const Errors = exports.Errors = {};
const kOk = 0;

@@ -16,0 +15,0 @@ const kNotFound = 1;

{
"name": "abstract-error",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "abstract error class with error code supports to create error class quickly",

@@ -33,21 +33,21 @@ "homepage": "https://github.com/snowyu/abstract-error.js",

"dependencies": {
"inherits-ex": "^2.1.0-alpha.11"
"inherits-ex": "^2.1.0-alpha.12"
},
"devDependencies": {
"@antfu/eslint-config": "^0.40.2",
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/register": "^7.22.5",
"chai": "~4.3.7",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"@antfu/eslint-config": "^2.11.3",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/register": "^7.23.7",
"chai": "~4.3.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"mocha": "^10.2.0",
"prettier": "^3.0.1",
"mocha": "~10.2.0",
"prettier": "^3.2.5",
"sinon": "~15.2.0",
"sinon-chai": "~3.7.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.6"
"typedoc": "^0.25.12",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.4.3"
},

@@ -54,0 +54,0 @@ "repository": {

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