New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

motoko

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motoko - npm Package Compare versions

Comparing version 3.6.15 to 3.6.16

lib/utils/asciiToUtf8.d.ts

6

lib/index.js

@@ -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) {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc