Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monaca-lib

Package Overview
Dependencies
Maintainers
5
Versions
136
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.0.8 to 2.1.0

src/template/components/loader.css

5

CHANGELOG.md

@@ -5,2 +5,7 @@

v2.1.0
----
* monaca and localkit: Various fixes
* monaca: Webpack dev server support
v1.1.13

@@ -7,0 +12,0 @@ ----

34

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

@@ -36,6 +36,7 @@ "main": "./src/main.js",

"extract-zip": "^1.5.0",
"fs-extra": "0.30.0",
"glob": "^5.0.14",
"global-npm": "^0.3.0",
"lockfile": "^1.0.0",
"nconf": "^0.7.1",
"ncp": "^2.0.0",
"padlock": "^1.1.2",

@@ -51,14 +52,27 @@ "portfinder": "^0.4.0",

"watch": "^0.13.0",
"xml2js": "^0.4.6",
"global-npm": "^0.3.0"
"xml2js": "^0.4.6"
},
"additionalDependencies": {
"awesome-typescript-loader": "1.0.0",
"autoprefixer": "6.3.7",
"babel-loader": "6.2.4",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"file-loader": "0.8.5",
"babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.11.1",
"babel-preset-stage-2": "6.11.0",
"copy-webpack-plugin": "3.0.1",
"css-loader": "0.23.1",
"extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.9.0",
"html-loader": "0.4.3",
"html-webpack-plugin": "2.22.0",
"null-loader": "0.1.1",
"postcss-loader": "0.9.1",
"precss": "1.4.0",
"progress-bar-webpack-plugin": "1.8.0",
"raw-loader": "^0.5.1",
"react-hot-loader": "3.0.0-beta.1",
"babel-preset-stage-2":"6.5.0",
"typescript": "1.8.9",
"stylus": "0.54.5",
"stylus-loader": "2.1.1",
"style-loader": "0.13.1",
"ts-loader": "0.8.2",
"typescript": "1.8.10",
"webpack": "1.13.1",

@@ -65,0 +79,0 @@ "webpack-dev-server": "1.14.1"

@@ -475,3 +475,2 @@ (function() {

var fileWatcher = new FileWatcher();
var fileWatcherTranspiler = new FileWatcher();

@@ -489,35 +488,2 @@ try {

try {
fileWatcherTranspiler.onchange(function(changeType, filePath) {
this.monaca.transpile(path.resolve(projectPath)).then(
function(result) {
var eventContent = {
type: 'success',
message: result.message
};
if (result.warnings) {
eventContent.log = result.warnings;
eventContent.logType = "warning";
}
this.monaca.emitter.emit('output', eventContent);
}.bind(this),
function(error) {
var eventContent = {
type: 'error',
message: error.message
};
if (error.log) {
eventContent.log = error.log;
eventContent.logType = "error";
}
this.monaca.emitter.emit('output', eventContent);
}.bind(this)
);
}.bind(this));
fileWatcherTranspiler.run(path.join(projectPath, 'src'));
} catch (error) {
// project does not have source folder to transpile.
}
if (this.isWatching()) {

@@ -524,0 +490,0 @@ fileWatcher.run(path.join(projectPath, 'www'));

@@ -26,2 +26,4 @@ (function() {

'/api/project/:project_id/file/read': this.fileReadApi.bind(this),
'/api/project/:project_id/started': this.noop.bind(this),
'/api/project/:project_id/stopped': this.noop.bind(this),
'/api/debugger/inspect': this.inspectApi.bind(this),

@@ -32,2 +34,9 @@ '/api/local/auth': this.localAuthApi.bind(this)

Api.prototype.noop = function(request, response) {
response.end(JSON.stringify({
status: 'ok',
code: 200
}));
};
Api.prototype.sendJsonResponse = function(response, code, message, result, encrypt, pairingKey) {

@@ -34,0 +43,0 @@ response.writeHead(code, {

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