skystream-cli 1.3.9 → 1.4.1
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.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const program = new Command();
|
|
|
11
11
|
program
|
|
12
12
|
.name('skystream')
|
|
13
13
|
.description('SkyStream Plugin Development Kit CLI (Sky Gen 2)')
|
|
14
|
-
.version('1.
|
|
14
|
+
.version('1.4.1');
|
|
15
15
|
// Schemas
|
|
16
16
|
const pluginSchema = z.object({
|
|
17
17
|
packageName: z.string().min(5).regex(/^[a-z0-9._-]+$/),
|
|
@@ -573,10 +573,11 @@ program.command('test')
|
|
|
573
573
|
globalThis.clearInterval = clearInterval;
|
|
574
574
|
`;
|
|
575
575
|
const sandbox = Object.create(null);
|
|
576
|
+
Object.assign(sandbox, context);
|
|
577
|
+
// Ensure Node globals are present
|
|
576
578
|
sandbox.console = console;
|
|
577
579
|
sandbox.axios = axios;
|
|
578
580
|
sandbox.Buffer = Buffer;
|
|
579
|
-
sandbox.manifest = manifest;
|
|
580
581
|
sandbox.setTimeout = setTimeout;
|
|
581
582
|
sandbox.clearTimeout = clearTimeout;
|
|
582
583
|
sandbox.setInterval = setInterval;
|