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

motoko

Package Overview
Dependencies
Maintainers
0
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.9.2 to 3.9.3

5

lib/package.js

@@ -17,4 +17,3 @@ "use strict";

exports.validatePackage = exports.installPackages = exports.fetchPackage = void 0;
// @ts-ignore
const isomorphic_parse_github_url_1 = __importDefault(require("isomorphic-parse-github-url"));
const parse_github_url_1 = __importDefault(require("parse-github-url"));
const cross_fetch_1 = __importDefault(require("cross-fetch"));

@@ -31,3 +30,3 @@ const sanitize_filename_1 = __importDefault(require("sanitize-filename"));

try {
result = (0, isomorphic_parse_github_url_1.default)(path);
result = (0, parse_github_url_1.default)(path);
if (!result) {

@@ -34,0 +33,0 @@ return;

{
"name": "motoko",
"version": "3.9.2",
"version": "3.9.3",
"description": "Compile and run Motoko smart contracts in Node.js or the browser.",

@@ -25,3 +25,3 @@ "author": "Ryan Vandersmith (https://github.com/rvanasa)",

"debug": "4.3.4",
"isomorphic-parse-github-url": "1.0.3",
"parse-github-url": "1.0.3",
"sanitize-filename": "1.6.3"

@@ -32,2 +32,3 @@ },

"@types/jest": "^28.1.3",
"@types/parse-github-url": "^1.0.3",
"@wasmer/wasi": "^1.0.2",

@@ -34,0 +35,0 @@ "cross-env": "^7.0.3",

3

src/package.ts
// Derived from: https://github.com/dfinity/motoko-playground/blob/main/src/workers/file.ts
// @ts-ignore
import { default as parse } from 'isomorphic-parse-github-url';
import { default as parse } from 'parse-github-url';
import fetch from 'cross-fetch';

@@ -6,0 +5,0 @@ import { Motoko } from '.';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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