Comparing version 3.6.15 to 3.6.16
@@ -15,2 +15,3 @@ "use strict"; | ||
const package_1 = require("./package"); | ||
const asciiToUtf8_1 = require("./utils/asciiToUtf8"); | ||
const resolveEntryPoint_1 = require("./utils/resolveEntryPoint"); | ||
@@ -134,3 +135,6 @@ function wrapMotoko(compiler) { | ||
run(path, libPaths) { | ||
return invoke('run', false, [libPaths || [], path]); | ||
const run = invoke('run', false, [libPaths || [], path]); | ||
run.stdout = (0, asciiToUtf8_1.asciiToUtf8)(run.stdout); | ||
run.stderr = (0, asciiToUtf8_1.asciiToUtf8)(run.stderr); | ||
return run; | ||
}, | ||
@@ -137,0 +141,0 @@ candid(path) { |
{ | ||
"name": "motoko", | ||
"version": "3.6.15", | ||
"version": "3.6.16", | ||
"description": "Compile and run Motoko smart contracts in Node.js or the browser.", | ||
@@ -5,0 +5,0 @@ "author": "Ryan Vandersmith (https://github.com/rvanasa)", |
@@ -10,2 +10,3 @@ import { CompilerNode, Node, simplifyAST } from './ast'; | ||
} from './package'; | ||
import { asciiToUtf8 } from './utils/asciiToUtf8'; | ||
import { resolveLib, resolveMain } from './utils/resolveEntryPoint'; | ||
@@ -168,3 +169,6 @@ | ||
): { stdout: string; stderr: string; result: Result } { | ||
return invoke('run', false, [libPaths || [], path]); | ||
const run = invoke('run', false, [libPaths || [], path]); | ||
run.stdout = asciiToUtf8(run.stdout); | ||
run.stderr = asciiToUtf8(run.stderr); | ||
return run; | ||
}, | ||
@@ -171,0 +175,0 @@ candid(path: string): string { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
4815041
58
2431