Socket
Socket
Sign inDemoInstall

monaca-lib

Package Overview
Dependencies
Maintainers
7
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaca-lib - npm Package Compare versions

Comparing version 2.6.3 to 2.7.0

.npmignore

4

CHANGELOG.md

@@ -5,2 +5,6 @@

v2.7.0
----
* monaca: Stop live relaod in case of transpile project.
v2.6.3

@@ -7,0 +11,0 @@ ----

2

package.json
{
"name": "monaca-lib",
"version": "2.6.3",
"version": "2.7.0",
"description": "Monaca cloud and localkit API bindings for JavaScript",

@@ -5,0 +5,0 @@ "main": "./src/main.js",

@@ -35,6 +35,9 @@ (function() {

for (var i = 0; i < this.callbacks.length; i++) {
var cb = this.callbacks[i];
cb(changeType, f);
}
this.doCallbacks();
// for (var i = 0; i < this.callbacks.length; i++) {
// var cb = this.callbacks[i];
// cb(changeType, f);
// }
}.bind(this));

@@ -45,2 +48,9 @@

FileWatcher.prototype.doCallbacks = function() {
for (var i = 0; i < this.callbacks.length; i++) {
var cb = this.callbacks[i];
cb(changeType, f);
}
}
FileWatcher.prototype.stop = function() {

@@ -47,0 +57,0 @@ if (this.filePath) {

@@ -18,2 +18,11 @@ var webpackConfigFile = process.argv[2];

compiler.plugin("compile", function(params) {
process.send( { monacaTranspileLifecycle: true, action: 'start-compile' } ); // start compile
});
compiler.plugin("after-emit", function(compilation, cb) {
process.send( { monacaTranspileLifecycle: true, action: 'end-compile' } ); // finish compile
cb();
});
if (watch) {

@@ -20,0 +29,0 @@ compiler.watch({

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