make-cancellable-promise
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "make-cancellable-promise", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Make any Promise cancellable.", | ||
@@ -18,3 +18,3 @@ "type": "module", | ||
"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext", | ||
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs", | ||
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json", | ||
"clean": "rimraf dist", | ||
@@ -21,0 +21,0 @@ "lint": "eslint .", |
import { describe, expect, it, vi } from 'vitest'; | ||
import makeCancellablePromise from './index'; | ||
import makeCancellablePromise from './index.js'; | ||
vi.useFakeTimers(); | ||
@@ -5,0 +6,0 @@ |
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
8678
10