Comparing version 1.1.1 to 1.2.0
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
import { WebConfig } from "makecode-core/built/downloader"; | ||
import { CompileOptions } from "makecode-core/built/service"; | ||
import { BuiltSimJsInfo, CompileOptions, CompileResult } from "makecode-core/built/service"; | ||
import { LanguageService, SimpleDriverCallbacks } from "makecode-core/built/host"; | ||
@@ -28,2 +28,3 @@ export declare class NodeLanguageService implements LanguageService { | ||
setCompileSwitchesAsync(flags: string): Promise<void>; | ||
buildSimJsInfoAsync(result: CompileResult): Promise<BuiltSimJsInfo>; | ||
private runScript; | ||
@@ -30,0 +31,0 @@ private runWithCb; |
@@ -108,2 +108,5 @@ "use strict"; | ||
} | ||
async buildSimJsInfoAsync(result) { | ||
return this.runFunctionSync("pxtc.buildSimJsInfo", [result]); | ||
} | ||
runScript(content, filename) { | ||
@@ -110,0 +113,0 @@ const scr = new vm.Script(content, { |
{ | ||
"name": "makecode", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "MakeCode (PXT) - web-cached build tool", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61684
855