Socket
Socket
Sign inDemoInstall

mo-dev

Package Overview
Dependencies
130
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.0 to 0.13.0

2

lib/commands/mo-dev.js

@@ -48,4 +48,2 @@ "use strict";

.option('-v, --verbose', `show more details in console`, increaseVerbosity)
.addOption(new commander_1.Option('--hot-reload', `hot module replacement server (experimental)`).hideHelp())
.addOption(new commander_1.Option('--port <port>', `hot module replacement server port (default: ${settings_1.defaultSettings.port})`).hideHelp())
.parse()

@@ -52,0 +50,0 @@ .opts();

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Settings, defaultSettings } from './settings';

@@ -10,5 +9,4 @@ export { Settings, defaultSettings };

};
server: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
close(): void;
}>;
//# sourceMappingURL=index.d.ts.map

@@ -16,3 +16,2 @@ "use strict";

exports.defaultSettings = void 0;
const server_1 = require("./server");
const settings_1 = require("./settings");

@@ -28,7 +27,4 @@ Object.defineProperty(exports, "defaultSettings", { enumerable: true, get: function () { return settings_1.defaultSettings; } });

watcher: yield (0, watch_1.watch)(settings),
server: settings.hotReload ? yield (0, server_1.serve)(settings) : null,
close() {
var _a;
output.watcher.close();
(_a = output.server) === null || _a === void 0 ? void 0 : _a.close();
},

@@ -35,0 +31,0 @@ };

30

package.json
{
"name": "mo-dev",
"version": "0.12.0",
"version": "0.13.0",
"description": "A live reload development server for Motoko smart contracts.",

@@ -33,17 +33,17 @@ "author": "DFINITY Foundation (https://dfinity.org)",

"dependencies": {
"@dfinity/candid": "0.15.4",
"@dfinity/principal": "0.15.4",
"body-parser": "1.20.2",
"chokidar": "3.5.3",
"commander": "10.0.0",
"cookie-parser": "1.4.6",
"cors": "2.8.5",
"debug": "4.3.4",
"execa": "5.1.1",
"express": "4.18.2",
"fast-glob": "3.2.12",
"morgan": "1.10.0",
"motoko": "3.6.1",
"@dfinity/candid": "^1.2.0",
"@dfinity/principal": "^1.2.0",
"body-parser": "^1.20.2",
"chokidar": "^3.5.3",
"commander": "^10.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"debug": "^4.3.4",
"execa": "^5.1.1",
"express": "^4.19.2",
"fast-glob": "^3.2.12",
"morgan": "^1.10.0",
"motoko": "^3.6.16",
"node-cleanup": "^2.1.2",
"picocolors": "1.0.0",
"picocolors": "^1.0.0",
"shell-escape": "^0.2.0"

@@ -50,0 +50,0 @@ },

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 not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc