fast-defer
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -0,0 +0,0 @@ import type { Deferred } from './deferred'; |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
resolve: (value: T | PromiseLike<T> | Promise<T>) => void; | ||
resolve: (this: void, value: T | PromiseLike<T> | Promise<T>) => void; | ||
/** | ||
@@ -19,4 +19,4 @@ * Reject the promise with the given reason | ||
*/ | ||
reject: (reason?: unknown) => void; | ||
reject: (this: void, reason?: unknown) => void; | ||
} | ||
//# sourceMappingURL=deferred.d.ts.map |
@@ -0,0 +0,0 @@ export * from './create-deferred'; |
export {}; | ||
//# sourceMappingURL=internal.d.ts.map |
@@ -0,0 +0,0 @@ import type { Deferred } from './deferred'; |
{ | ||
"name": "fast-defer", | ||
"version": "1.1.8", | ||
"description": "A fast and minimal deferred implementation for javascript", | ||
"version": "1.1.7", | ||
"source": "src/index.ts", | ||
"sideEffects": false, | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"module": "dist/index.mjs", | ||
"umd:main": "dist/index.umd.js", | ||
"unpkg": "dist/index.umd.js", | ||
"author": "Arthur Fiorette <npm@arthur.place>", | ||
"license": "MIT", | ||
"homepage": "https://tinylibs.js.org/packages/fast-defer", | ||
"bugs": "https://github.com/arthurfiorette/tinylibs/issues", | ||
"homepage": "https://tinylibs.js.org/packages/fast-defer", | ||
"repository": { | ||
@@ -21,2 +12,17 @@ "type": "git", | ||
}, | ||
"license": "MIT", | ||
"author": "Arthur Fiorette <npm@arthur.place>", | ||
"sideEffects": false, | ||
"main": "dist/index.js", | ||
"umd:main": "dist/index.umd.js", | ||
"unpkg": "dist/index.umd.js", | ||
"module": "dist/index.mjs", | ||
"source": "src/index.ts", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"src", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
"scripts": { | ||
@@ -27,10 +33,4 @@ "build": "microbundle --tsconfig tsconfig.build.json", | ||
"devDependencies": { | ||
"microbundle": "0.14.2" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src", | ||
"LICENSE", | ||
"README.md" | ||
] | ||
"microbundle": "0.15.1" | ||
} | ||
} |
@@ -14,3 +14,3 @@ import type { fastDeferSymbol } from './internal'; | ||
*/ | ||
resolve: (value: T | PromiseLike<T> | Promise<T>) => void; | ||
resolve: (this: void, value: T | PromiseLike<T> | Promise<T>) => void; | ||
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
reject: (reason?: unknown) => void; | ||
reject: (this: void, reason?: unknown) => void; | ||
@@ -25,0 +25,0 @@ /** @internal */ |
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
17021