async-compat
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -1,2 +0,4 @@ | ||
declare function _exports(fn: any, useCallback: any, arg1: any, arg2: any, arg3: any, arg4: any, arg5: any, arg6: any, callback: any, ...args: any[]): any; | ||
export = _exports; | ||
import type { AsyncCallback } from './types'; | ||
type Optional = AsyncCallback | undefined | unknown; | ||
export default function asyncFunction(fn: any, useCallback: boolean, arg1?: Optional, arg2?: Optional, arg3?: Optional, arg4?: Optional, arg5?: Optional, arg6?: Optional, callback?: Optional): any; | ||
export {}; |
@@ -1,2 +0,1 @@ | ||
declare function _exports(value: any, callback: any): any; | ||
export = _exports; | ||
export default function asyncValue(value: any, callback: any): any; |
@@ -1,2 +0,1 @@ | ||
declare function _exports(result: any, value: any): any; | ||
export = _exports; | ||
export default function defaultValue(result: any, value: any): any; |
{ | ||
"name": "async-compat", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Compatibility functions for writing libraries that support synchronous, callback and promise signatures", | ||
"keywords": [ | ||
"async", | ||
"compatibilty", | ||
"compatibility", | ||
"library", | ||
@@ -19,3 +19,13 @@ "callback", | ||
"author": "Kevin Malakoff <kmalakoff@gmail.com> (https://github.com/kmalakoff)", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.mjs", | ||
"require": "./dist/cjs/index.cjs", | ||
"types": "./dist/types/index.d.ts" | ||
}, | ||
"./*": "./*" | ||
}, | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"types": "dist/types/index.d.ts", | ||
@@ -41,6 +51,3 @@ "files": [ | ||
"tsds": { | ||
"source": "src/index.mjs", | ||
"targets": [ | ||
"cjs" | ||
] | ||
"source": "src/index.ts" | ||
}, | ||
@@ -51,3 +58,3 @@ "scripts": { | ||
"format": "biome check --write --unsafe src/ test/", | ||
"test": "ts-swc mocha-compat test/spec/**/*.test.js --no-timeouts", | ||
"test": "tsds test:node --no-timeouts", | ||
"test:engines": "nvu engines npm test", | ||
@@ -54,0 +61,0 @@ "version": "tsds version" |
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
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
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
28859
28
298
0
Yes