error-stack2
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -37,3 +37,3 @@ import { ITSPartialRecord, ITSPickExtra, ITSRequireAtLeastOne } from 'ts-type/lib/type/record'; | ||
} | ||
export declare type ITraceValue = IRawLineTrace | ITrace | IEvalTrace; | ||
export type ITraceValue = IRawLineTrace | ITrace | IEvalTrace; | ||
export interface IParsedWithoutTrace { | ||
@@ -116,4 +116,7 @@ /** | ||
export declare function parseErrorStack(stack: string, detectMessage?: string): ErrorStack; | ||
export default parseErrorStack; | ||
export { | ||
parseErrorStack as default, | ||
}; | ||
export {}; |
{ | ||
"name": "error-stack2", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Parse and manipulate error.stack", | ||
@@ -23,2 +23,3 @@ "keywords": [ | ||
"author": "kaelzhang", | ||
"sideEffects": false, | ||
"exports": { | ||
@@ -30,3 +31,4 @@ ".": { | ||
}, | ||
"./package.json": "./package.json" | ||
"./package.json": "./package.json", | ||
"./src/*": "./src/*" | ||
}, | ||
@@ -47,16 +49,23 @@ "main": "dist/index.cjs", | ||
"pretest": "echo pretest", | ||
"test": "jest", | ||
"posttest": "echo posttest", | ||
"prebuild": "yarn run test", | ||
"test": "jest --passWithNoTests", | ||
"test:jest": "jest --passWithNoTests", | ||
"test:jest:clearCache": "jest --clearCache", | ||
"test:jest:snapshot": "yarn run test:jest -- -u", | ||
"test:snapshot": "yarn run test -- -u", | ||
"posttest": "yarn run build", | ||
"install:frozenLockfile": "yarn-tool install --frozen-lockfile", | ||
"install:resetLockfile": "yarn-tool install --reset-lockfile", | ||
"build": "yarn run build:tsdx && yarn run build:dts:bundle", | ||
"build:dts": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner & echo build:dts", | ||
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner & echo build:dts", | ||
"build:tsdx": "tsdx build --target node --name index", | ||
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle", | ||
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts", | ||
"build:dts:tsc": "yarn run build:dts:tsc:emit && yarn run build:dts:copy", | ||
"build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false", | ||
"build:tsdx": "ynpx @bluelovers/tsdx build --target node", | ||
"ci:install": "yarn install --frozen-lockfile && yarn add -W typescript@next jest ts-jest ts-node ynpx lerna yarn-tool", | ||
"ci:build": "echo ci:build", | ||
"npm:publish": "yarn run version:bump && npm publish", | ||
"npm:publish:bump": "yarn-tool version && npm publish", | ||
"preversion": "yarn run build", | ||
"npm:publish": "npm publish", | ||
"npm:publish:bump": "yarn run version:bump && npm publish", | ||
"preversion": "echo preversion && yarn run test", | ||
"version": "echo version", | ||
"version:bump": "yt version", | ||
"version:bump": "yarn-tool version", | ||
"postversion": "echo postversion", | ||
@@ -83,15 +92,15 @@ "prepublish": "echo prepublish", | ||
"dependencies": { | ||
"crlf-normalize": "^1.0.7", | ||
"crlf-normalize": "^1.0.12", | ||
"err-code": "^3.0.1", | ||
"string-split-keep2": "^1.0.2", | ||
"ts-type": "^2.1.4", | ||
"tslib": "^2.3.1" | ||
"string-split-keep2": "^1.0.7", | ||
"ts-type": ">=2" | ||
}, | ||
"devDependencies": { | ||
"@bluelovers/tsconfig": "^1.0.28", | ||
"@bluelovers/tsconfig": "^1.0.30", | ||
"@types/bluebird": "^3.5.36", | ||
"@types/jest": "^27.4.0", | ||
"@types/node": "^17.0.14" | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.7.14", | ||
"tslib": "^2.4.0" | ||
}, | ||
"packageManager": "yarn@^1.22.11" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157653
4
20
1538
5
2
+ Addedts-type@3.0.1(transitive)
- Removedtslib@^2.3.1
- Removed@types/bluebird@3.5.42(transitive)
- Removedts-type@2.1.10(transitive)
Updatedcrlf-normalize@^1.0.12
Updatedstring-split-keep2@^1.0.7
Updatedts-type@>=2