@prompty/core 0.1.3 → 0.1.4

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 CHANGED
@@ -347,6 +347,12 @@ var Prompty = class _Prompty {
347
347
  engines: {
348
348
  yaml: {
349
349
  parse: (input) => yaml.load(input)
350
+ },
351
+ js: {
352
+ parse: (input) => {
353
+ console.log("JS execution disabled");
354
+ return {};
355
+ }
350
356
  }
351
357
  }
352
358
  });
package/dist/index.mjs CHANGED
@@ -308,6 +308,12 @@ var Prompty = class _Prompty {
308
308
  engines: {
309
309
  yaml: {
310
310
  parse: (input) => yaml.load(input)
311
+ },
312
+ js: {
313
+ parse: (input) => {
314
+ console.log("JS execution disabled");
315
+ return {};
316
+ }
311
317
  }
312
318
  }
313
319
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prompty/core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Prompty core package",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",