Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xylabs/error

Package Overview
Dependencies
Maintainers
5
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/error - npm Package Compare versions

Comparing version 3.6.12 to 4.0.0

xy.config.ts

9

dist/neutral/index.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc