{ "name": "unknown-error", "version": "0.2.3", "description": "Turn any caught `unknown` into a real Error without throwing, even for hostile values, other realms and deep or circular cause chains.", "engines": { "node": ">=22.12.0" }, "type": "module", "author": "JacobLey", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/JacobLey/leyman.git", "directory": "tools/unknown-error" }, "homepage": "https://jacobley.github.io/leyman/packages/unknown-error/", "bugs": { "url": "https://github.com/JacobLey/leyman/issues" }, "keywords": [ "error", "unknown", "catch", "normalize", "to-error", "error-message", "cause", "aggregate-error", "typescript" ], "sideEffects": false, "types": "./dist/index.js", "files": [ "dist", "!dist/**/*.map", "!dist/tsconfig.tsbuildinfo", "WHY-UNKNOWN-ERROR.md" ], "exports": { ".": "./dist/index.js" }, "imports": { "#safe": "./dist/lib/safe.js", "#to-error": "./dist/lib/to-error.js", "#walk": "./dist/lib/walk.js", "#test/*": "./dist-test/*" }, "devDependencies": { "@biomejs/biome": "catalog:", "@leyman/configs": "workspace:^", "@leyman/eslint-config": "workspace:^", "@leyman/expect": "workspace:^", "@swc/cli": "catalog:", "@swc/core": "catalog:", "@types/mocha": "catalog:", "@types/node": "catalog:node-22", "@typescript/native": "catalog:", "c8": "catalog:", "eslint": "catalog:", "expect-type": "catalog:", "mocha": "catalog:", "mocha-chain": "workspace:^", "typescript": "catalog:" } }