@forgeax/engine-import 0.1.35 → 0.1.36

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/index.mjs CHANGED
@@ -4415,7 +4415,7 @@ async function stageSourcePackageDdc(input) {
4415
4415
  const session = new DdcGenerationSession(input.root, { generation: 1 });
4416
4416
  try {
4417
4417
  const candidate = await session.stageEntry(input.entry);
4418
- return ok({ ...candidate, root: input.root, session, context: input.context });
4418
+ return ok(Object.assign(candidate, { root: input.root, session, context: input.context }));
4419
4419
  } catch (error) {
4420
4420
  return err(
4421
4421
  sourcePackageError("source-package-ddc-failed", input.context, {