@maligator/cli 0.1.0-alpha.2 → 0.1.0-alpha.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/index.d.ts +6 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -20,7 +20,12 @@ export interface MaligatorBuildConfig {
|
|
|
20
20
|
outputName?: string;
|
|
21
21
|
assets?: Record<string, AssetInclusion>;
|
|
22
22
|
engine?: {
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* `true` embeds the runtime compiler. `false` keeps eval/Function present
|
|
25
|
+
* but makes dynamic compilation throw at runtime. `"compile-check"` also
|
|
26
|
+
* rejects statically visible eval/Function calls during the build.
|
|
27
|
+
*/
|
|
28
|
+
eval?: boolean | "compile-check";
|
|
24
29
|
realms?: boolean;
|
|
25
30
|
regexp?: boolean;
|
|
26
31
|
intl?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maligator/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.4",
|
|
4
4
|
"description": "Ahead-of-time JavaScript compiler and native runtime",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/dirkdev98/maligator#readme",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"@maligator/cli-darwin-arm64": "0.1.0-alpha.
|
|
47
|
+
"@maligator/cli-darwin-arm64": "0.1.0-alpha.4"
|
|
48
48
|
}
|
|
49
49
|
}
|