Socket
Socket
Sign inDemoInstall

@webiny/error

Package Overview
Dependencies
Maintainers
1
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/error - npm Package Compare versions

Comparing version 5.39.0-beta.1 to 5.39.0-beta.2

6

Error.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {

@@ -8,9 +7,8 @@ value: true

exports.default = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
class WError extends Error {
code = null;
data = null;
constructor(messageOrOptions, code, data) {
// TODO in TS 4.6 we can move that into if statements
super(typeof messageOrOptions === "string" ? messageOrOptions : messageOrOptions.message);
(0, _defineProperty2.default)(this, "code", null);
(0, _defineProperty2.default)(this, "data", null);
if (typeof messageOrOptions === "string") {

@@ -17,0 +15,0 @@ // super(messageOrOptions); - use after TS 4.6

{
"name": "@webiny/error",
"version": "5.39.0-beta.1",
"version": "5.39.0-beta.2",
"main": "index.js",

@@ -19,4 +19,4 @@ "types": "index.d.ts",

"@babel/core": "7.22.8",
"@webiny/cli": "5.39.0-beta.1",
"@webiny/project-utils": "5.39.0-beta.1",
"@webiny/cli": "5.39.0-beta.2",
"@webiny/project-utils": "5.39.0-beta.2",
"rimraf": "3.0.2",

@@ -30,3 +30,3 @@ "ttypescript": "1.5.15",

},
"gitHead": "a22d4ab9fbb4ad35106687cbe17b51a84afd4976"
"gitHead": "193039382160557448f23f43685f29136f58f87a"
}

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