Comparing version 1.1.2 to 1.1.3
@@ -116,3 +116,3 @@ import * as assert from "node:assert/strict"; | ||
if (chain.next === null) { | ||
yield [` %s${childrenPrefix}[...]`]; | ||
yield [` ${childrenPrefix}[...]`]; | ||
} | ||
@@ -648,3 +648,5 @@ else if (chain.next !== undefined) { | ||
// Move the instance to staging to setup for `dispatch` in case it's re-imported | ||
controller.staging = current.clone(); | ||
if (controller.staging === undefined) { | ||
controller.staging = current.clone(); | ||
} | ||
controller.current = undefined; | ||
@@ -651,0 +653,0 @@ controller.previous = undefined; |
@@ -239,3 +239,4 @@ import * as assert from "node:assert/strict"; | ||
async dynamicImport(specifier, importAssertions) { | ||
assert.ok(this.state.status === ModuleStatus.evaluating || | ||
assert.ok(this.state.status === ModuleStatus.linked || | ||
this.state.status === ModuleStatus.evaluating || | ||
this.state.status === ModuleStatus.evaluatingAsync || | ||
@@ -242,0 +243,0 @@ this.state.status === ModuleStatus.evaluated); |
@@ -68,2 +68,6 @@ import * as assert from "node:assert/strict"; | ||
yield result.promise; | ||
// nb: If we have a sibling which throws synchronously then this result is never | ||
// collected into `Promise.all`. Therefore this promise is never awaited and a | ||
// rejection will take down the process. It is explicitly marked as handled here. | ||
result.promise.then(() => { }, () => { }); | ||
} | ||
@@ -179,3 +183,3 @@ })); | ||
else { | ||
return result.promise.then(({ value: foobar }) => foobar); | ||
return result.promise.then(({ value }) => value); | ||
} | ||
@@ -182,0 +186,0 @@ } |
{ | ||
"name": "dynohot", | ||
"type": "module", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"exports": { | ||
@@ -6,0 +6,0 @@ ".": "./dist/loader/loader.js", |
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
140349
2912