Socket
Book a DemoSign in
Socket

@webiny/error

Package Overview
Dependencies
Maintainers
1
Versions
571
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
0.0.0-unstable.e53eceafb5
to
0.0.0-unstable.e622468070
+1
-8
Error.js

@@ -1,8 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
class WError extends Error {
export default class WError extends Error {
code = null;

@@ -31,4 +25,3 @@ data = null;

}
exports.default = WError;
//# sourceMappingURL=Error.js.map
+2
-2

@@ -1,4 +0,4 @@

import Error, { ErrorOptions } from "./Error";
import Error, { type ErrorOptions } from "./Error.js";
export { Error as WebinyError };
export default Error;
export { ErrorOptions };
export type { ErrorOptions };

@@ -1,23 +0,5 @@

"use strict";
import Error from "./Error.js";
export { Error as WebinyError };
export default Error;
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "ErrorOptions", {
enumerable: true,
get: function () {
return _Error.ErrorOptions;
}
});
Object.defineProperty(exports, "WebinyError", {
enumerable: true,
get: function () {
return _Error.default;
}
});
exports.default = void 0;
var _Error = _interopRequireWildcard(require("./Error"));
var _default = exports.default = _Error.default;
//# sourceMappingURL=index.js.map
{
"name": "@webiny/error",
"version": "0.0.0-unstable.e53eceafb5",
"version": "0.0.0-unstable.e622468070",
"type": "module",
"main": "index.js",

@@ -17,11 +18,7 @@ "types": "index.d.ts",

"devDependencies": {
"@webiny/project-utils": "0.0.0-unstable.e53eceafb5",
"rimraf": "6.0.1",
"typescript": "5.3.3"
"@webiny/build-tools": "0.0.0-unstable.e622468070",
"rimraf": "6.1.2",
"typescript": "5.9.3"
},
"scripts": {
"build": "node ../cli/bin.js run build",
"watch": "node ../cli/bin.js run watch"
},
"gitHead": "e53eceafb5ce1a3872c9b4548939bb2eae5b1aef"
"gitHead": "e622468070839dc3f9552c85bf2bbac12d2ef88f"
}
# @webiny/error
[![](https://img.shields.io/npm/dw/webiny-data.svg)](https://www.npmjs.com/package/webiny-data)
[![](https://img.shields.io/npm/v/webiny-data.svg)](https://www.npmjs.com/package/webiny-data)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
A set of frequently used data higher order functions.
> [!NOTE]
> This package is part of the [Webiny](https://www.webiny.com) monorepo.
> It’s **included in every Webiny project by default** and is not meant to be used as a standalone package.
For more information, please visit
[the official docs](https://github.com/doitadrian/data).
## Install
```
npm install --save @webiny/error
```
📘 **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
Or if you prefer yarn:
```
yarn add @webiny/error
```
---
_This README file is automatically generated during the publish process._

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet