@xylabs/forget
Advanced tools
Comparing version 3.6.12 to 4.0.0
@@ -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 }; |
@@ -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" | ||
} |
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
17674
9
155
1
+ Added@xylabs/assert@4.3.4(transitive)
+ Added@xylabs/delay@4.3.4(transitive)
+ Added@xylabs/timer@4.3.4(transitive)
- Removed@xylabs/assert@3.6.12(transitive)
- Removed@xylabs/delay@3.6.12(transitive)
- Removed@xylabs/timer@3.6.12(transitive)
Updated@xylabs/delay@^4.0.0