@xylabs/error
Advanced tools
Comparing version 3.6.12 to 4.0.0
@@ -1,3 +0,6 @@ | ||
export * from './handleError.ts'; | ||
export * from './isError.ts'; | ||
//# sourceMappingURL=index.d.ts.map | ||
declare const handleError: <T>(error: any, handler: (error: Error) => T) => T; | ||
declare const handleErrorAsync: <T>(error: any, handler: (error: Error) => Promise<T>) => Promise<T>; | ||
declare const isError: (error: any) => error is Error; | ||
export { handleError, handleErrorAsync, isError }; |
@@ -14,5 +14,5 @@ { | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.15.14", | ||
"@xylabs/tsconfig": "^3.15.14", | ||
"@xylabs/tsconfig-jest": "^3.15.14", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15", | ||
"@xylabs/tsconfig": "^4.0.0-rc.15", | ||
"@xylabs/tsconfig-jest": "^4.0.0-rc.15", | ||
"typescript": "^5.5.4" | ||
@@ -25,28 +25,9 @@ }, | ||
".": { | ||
"browser": { | ||
"require": { | ||
"types": "./dist/browser/index.d.cts", | ||
"default": "./dist/browser/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.mjs" | ||
} | ||
}, | ||
"node": { | ||
"require": { | ||
"types": "./dist/node/index.d.cts", | ||
"default": "./dist/node/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
} | ||
"types": "./dist/neutral/index.d.ts", | ||
"default": "./dist/neutral/index.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "dist/node/index.cjs", | ||
"module": "dist/node/index.mjs", | ||
"types": "dist/node/index.d.ts", | ||
"module": "dist/neutral/index.mjs", | ||
"types": "dist/neutral/index.d.ts", | ||
"homepage": "https://xyo.network", | ||
@@ -69,4 +50,4 @@ "license": "LGPL-3.0-only", | ||
"sideEffects": false, | ||
"version": "3.6.12", | ||
"version": "4.0.0", | ||
"type": "module" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
12257
11
66
1