We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d90717b commit 0217cdaCopy full SHA for 0217cda
runtime/promptyjs/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@prompty/core",
3
- "version": "0.1.3",
+ "version": "0.1.4",
4
"description": "Prompty core package",
5
"main": "./dist/index.js",
6
"module": "./dist/index.mjs",
runtime/promptyjs/src/core.ts
@@ -79,6 +79,9 @@ export class Prompty {
79
engines: {
80
yaml: {
81
parse: (input: string) => yaml.load(input) as object
82
+ },
83
+ js: {
84
+ parse: (input) => { console.log("JS execution disabled"); return {}; }
85
}
86
87
});
0 commit comments