@tryghost/errors
Advanced tools
@@ -20,6 +20,3 @@ "use strict"; | ||
| var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
| var __publicField = (obj, key, value) => { | ||
| __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
| return value; | ||
| }; | ||
| var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
| var GhostError_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(GhostError_exports, { |
+6
-6
@@ -30,12 +30,12 @@ "use strict"; | ||
| var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
| var src_exports = {}; | ||
| __export(src_exports, { | ||
| default: () => src_default, | ||
| var index_exports = {}; | ||
| __export(index_exports, { | ||
| default: () => index_default, | ||
| utils: () => utils | ||
| }); | ||
| module.exports = __toCommonJS(src_exports); | ||
| module.exports = __toCommonJS(index_exports); | ||
| var ghostErrors = __toESM(require("./errors")); | ||
| var import_utils = require("./utils"); | ||
| __reExport(src_exports, require("./errors"), module.exports); | ||
| var src_default = ghostErrors; | ||
| __reExport(index_exports, require("./errors"), module.exports); | ||
| var index_default = ghostErrors; | ||
| const utils = { | ||
@@ -42,0 +42,0 @@ serialize: import_utils.serialize, |
+1
-4
| var __defProp = Object.defineProperty; | ||
| var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
| var __publicField = (obj, key, value) => { | ||
| __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
| return value; | ||
| }; | ||
| var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
| import { v1 as uuidv1 } from "uuid"; | ||
@@ -8,0 +5,0 @@ import { wrapStack } from "./wrap-stack"; |
+2
-2
| import * as ghostErrors from "./errors"; | ||
| import { deserialize, isGhostError, prepareStackForUser, serialize } from "./utils"; | ||
| export * from "./errors"; | ||
| var src_default = ghostErrors; | ||
| var index_default = ghostErrors; | ||
| const utils = { | ||
@@ -12,4 +12,4 @@ serialize, | ||
| export { | ||
| src_default as default, | ||
| index_default as default, | ||
| utils | ||
| }; |
+1
-1
| MIT License | ||
| Copyright (c) 2013-2025 Ghost Foundation | ||
| Copyright (c) 2013-2026 Ghost Foundation | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+5
-6
| { | ||
| "name": "@tryghost/errors", | ||
| "version": "1.3.8", | ||
| "version": "1.3.9", | ||
| "repository": { | ||
@@ -42,8 +42,8 @@ "type": "git", | ||
| "c8": "10.1.3", | ||
| "esbuild": "^0.19.5", | ||
| "esbuild": "^0.25.0", | ||
| "lodash": "^4.17.21", | ||
| "mocha": "10.7.3", | ||
| "mocha": "11.7.5", | ||
| "should": "13.2.3", | ||
| "ts-node": "^10.9.1", | ||
| "typescript": "5.2.2" | ||
| "typescript": "5.9.3" | ||
| }, | ||
@@ -53,4 +53,3 @@ "dependencies": { | ||
| "uuid": "^9.0.0" | ||
| }, | ||
| "gitHead": "e395f1d79edee4aecc36e572bb402016a8ba9273" | ||
| } | ||
| } |
+1
-1
@@ -39,2 +39,2 @@ # Errors | ||
| Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE). | ||
| Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE). |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
74482
-0.12%2002
-0.3%