@powerlines/engine 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/worker.cjs +1 -2
- package/dist/_internal/worker.mjs +1 -2
- package/dist/_internal/worker.mjs.map +1 -1
- package/dist/api.cjs +1 -1
- package/dist/api.mjs +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/{execution-context-ePeyduze.mjs → execution-context-B5Ijc574.mjs} +2 -3
- package/dist/{execution-context-ePeyduze.mjs.map → execution-context-B5Ijc574.mjs.map} +1 -1
- package/dist/{execution-context-BuypgQoS.cjs → execution-context-CoHYnbnq.cjs} +1 -2
- package/package.json +2 -2
|
@@ -3585,8 +3585,7 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
3585
3585
|
* @returns A new context instance with the updated environment.
|
|
3586
3586
|
*/
|
|
3587
3587
|
async in(environment) {
|
|
3588
|
-
const context = await PowerlinesEnvironmentContext.fromConfig((0, _stryke_helpers_deep_clone.deepClone)(this.options), (0, _stryke_helpers_deep_clone.deepClone)(this.config), (0, _stryke_helpers_deep_clone.deepClone)(environment));
|
|
3589
|
-
context.$$internal = this.$$internal;
|
|
3588
|
+
const context = this.copyTo(await PowerlinesEnvironmentContext.fromConfig((0, _stryke_helpers_deep_clone.deepClone)(this.options), (0, _stryke_helpers_deep_clone.deepClone)(this.config), (0, _stryke_helpers_deep_clone.deepClone)(environment)));
|
|
3590
3589
|
context.plugins = [];
|
|
3591
3590
|
for (const plugin of this.plugins) await context.addPlugin(plugin);
|
|
3592
3591
|
return context;
|
|
@@ -3552,8 +3552,7 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
|
|
|
3552
3552
|
* @returns A new context instance with the updated environment.
|
|
3553
3553
|
*/
|
|
3554
3554
|
async in(environment) {
|
|
3555
|
-
const context = await PowerlinesEnvironmentContext.fromConfig(deepClone(this.options), deepClone(this.config), deepClone(environment));
|
|
3556
|
-
context.$$internal = this.$$internal;
|
|
3555
|
+
const context = this.copyTo(await PowerlinesEnvironmentContext.fromConfig(deepClone(this.options), deepClone(this.config), deepClone(environment)));
|
|
3557
3556
|
context.plugins = [];
|
|
3558
3557
|
for (const plugin of this.plugins) await context.addPlugin(plugin);
|
|
3559
3558
|
return context;
|