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

@xylabs/forget

Package Overview
Dependencies
Maintainers
5
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/forget - npm Package Compare versions

Comparing version 3.6.12 to 4.0.0

xy.config.ts

15

dist/neutral/index.d.ts

@@ -1,2 +0,13 @@

export { forget, ForgetPromise } from './forget.ts';
//# sourceMappingURL=index.d.ts.map
interface ForgetTimeoutConfig {
cancel: () => void;
delay: number;
}
declare const ForgetPromise: {
readonly active: boolean;
activeForgets: number;
awaitInactive(interval?: number, timeout?: number): Promise<number>;
forget<T>(promise: Promise<T>, config?: ForgetTimeoutConfig): void;
};
declare const forget: (promise: Promise<unknown>, timeout?: ForgetTimeoutConfig) => void;
export { ForgetPromise, forget };

19

package.json

@@ -16,14 +16,7 @@ {

".": {
"require": {
"types": "./dist/neutral/index.d.cts",
"default": "./dist/neutral/index.cjs"
},
"import": {
"types": "./dist/neutral/index.d.ts",
"default": "./dist/neutral/index.mjs"
}
"types": "./dist/neutral/index.d.ts",
"default": "./dist/neutral/index.mjs"
},
"./package.json": "./package.json"
},
"main": "./dist/neutral/index.cjs",
"types": "./dist/neutral/index.d.ts",

@@ -40,7 +33,7 @@ "module": "./dist/neutral/index.mjs",

"dependencies": {
"@xylabs/delay": "^3.6.12"
"@xylabs/delay": "^4.0.0"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.15.14",
"@xylabs/tsconfig": "^3.15.14",
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
"@xylabs/tsconfig": "^4.0.0-rc.15",
"typescript": "^5.5.4"

@@ -59,4 +52,4 @@ },

"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