Socket
Socket
Sign inDemoInstall

brilliant-errors

Package Overview
Dependencies
558
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.6 to 0.6.0

37

dist/index.js

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

"use strict";
var __create = Object.create;

@@ -7,3 +8,2 @@ var __defProp = Object.defineProperty;

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
var __export = (target, all) => {

@@ -13,18 +13,15 @@ for (var name in all)

};
var __reExport = (target, module2, copyDefault, desc) => {
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
for (let key of __getOwnPropNames(module2))
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return target;
return to;
};
var __toESM = (module2, isNodeMode) => {
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
};
var __toCommonJS = /* @__PURE__ */ ((cache) => {
return (module2, temp) => {
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
};
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -39,2 +36,3 @@ // src/index.ts

});
module.exports = __toCommonJS(src_exports);

@@ -89,3 +87,5 @@ // src/@guards/index.ts

${prettyStack(ctx.structuredStack)}` : `${underlying.message} [ ${classification} ]: wrapped error ${underlying.name}
${prettyStack(
ctx.structuredStack
)}` : `${underlying.message} [ ${classification} ]: wrapped error ${underlying.name}

@@ -102,3 +102,5 @@ ${prettyStack(ctx.structuredStack)}`;

${prettyStack(ctx.structuredStack)}`;
${prettyStack(
ctx.structuredStack
)}`;
};

@@ -156,3 +158,2 @@

};
module.exports = __toCommonJS(src_exports);
// Annotate the CommonJS export names for ESM import in node:

@@ -159,0 +160,0 @@ 0 && (module.exports = {

{
"name": "brilliant-errors",
"version": "0.5.6",
"version": "0.6.0",
"description": "A set of configurators to help your Apps and Libraries build brilliant error classes",

@@ -40,3 +40,8 @@ "keywords": [

"lint:tsc": "tsc --noEmit",
"test": "jest",
"audit:fix": "pnpm audit --fix",
"test": "vitest",
"test:ci": "vitest run",
"release": "run-s lint release:latest test:ci audit:fix release:bump",
"release:latest": "pnpm install",
"release:bump": "bumpp",
"watch": "run-p watch:*",

@@ -48,31 +53,35 @@ "watch:ai": "npx dd autoindex --watch",

"@type-challenges/utils": "^0.1.1",
"@types/jest": "^27.4.0",
"@types/node": "^14.18.5",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"dd": "^0.18.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"@types/node": "^14.18.22",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"bumpp": "^8.2.1",
"dd": "^0.22.1",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^39.0.0",
"jest": "^27.4.7",
"jest-extended": "^1.2.0",
"eslint-plugin-unicorn": "^43.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"tsup": "^5.11.11",
"typescript": "^4.5.4"
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"vite": "^3.0.3"
},
"dependencies": {
"callsites": "^3.1.0",
"common-types": "^1.31.0",
"inferred-types": "^0.18.3"
"common-types": "^1.31.1",
"inferred-types": "^0.22.0",
"vitest": "^0.19.1"
},
"engines": {
"node": ">=12.0.0"
},
"pnpm": {
"overrides": {
"simple-git@<3.3.0": ">=3.3.0",
"simple-git@<3.5.0": ">=3.5.0"
}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc