@rspack/lite-tapable
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
@@ -263,3 +263,4 @@ "use strict"; | ||
callStageRange(queried, ...args) { | ||
let result, error; | ||
let result; | ||
let error; | ||
this.callAsyncStageRange(queried, | ||
@@ -318,3 +319,4 @@ // @ts-expect-error | ||
callStageRange(queried, ...args) { | ||
let result, error; | ||
let result; | ||
let error; | ||
this.callAsyncStageRange(queried, | ||
@@ -376,3 +378,4 @@ // @ts-expect-error | ||
callStageRange(queried, ...args) { | ||
let result, error; | ||
let result; | ||
let error; | ||
this.callAsyncStageRange(queried, | ||
@@ -422,5 +425,3 @@ // @ts-expect-error | ||
if (!promise || !promise.then) { | ||
throw new Error("Tap function (tapPromise) did not return promise (returned " + | ||
promise + | ||
")"); | ||
throw new Error(`Tap function (tapPromise) did not return promise (returned ${promise})`); | ||
} | ||
@@ -497,5 +498,3 @@ promise.then(() => { | ||
if (!promise || !promise.then) { | ||
throw new Error("Tap function (tapPromise) did not return promise (returned " + | ||
promise + | ||
")"); | ||
throw new Error(`Tap function (tapPromise) did not return promise (returned ${promise})`); | ||
} | ||
@@ -589,5 +588,3 @@ promise.then(() => { | ||
if (!promise || !promise.then) { | ||
throw new Error("Tap function (tapPromise) did not return promise (returned " + | ||
promise + | ||
")"); | ||
throw new Error(`Tap function (tapPromise) did not return promise (returned ${promise})`); | ||
} | ||
@@ -692,5 +689,3 @@ promise.then((r) => { | ||
if (!promise || !promise.then) { | ||
throw new Error("Tap function (tapPromise) did not return promise (returned " + | ||
promise + | ||
")"); | ||
throw new Error(`Tap function (tapPromise) did not return promise (returned ${promise})`); | ||
} | ||
@@ -697,0 +692,0 @@ promise.then((r) => { |
{ | ||
"name": "@rspack/lite-tapable", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Lite weight tapable for Rspack", |
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
39234
1030