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

cordova-serve

Package Overview
Dependencies
Maintainers
10
Versions
1276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-serve - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

.ratignore

6

package.json
{
"name": "cordova-serve",
"version": "2.0.0",
"version": "2.0.1",
"description": "Apache Cordova server support for cordova-lib and cordova-browser.",

@@ -13,3 +13,3 @@ "main": "src/main.js",

"type": "git",
"url": "https://github.com/apache/cordova-lib"
"url": "https://github.com/apache/cordova-serve"
},

@@ -31,3 +31,3 @@ "keywords": [

"express": "^4.13.3",
"open": "0.0.5",
"opn": "^5.3.0",
"shelljs": "^0.5.3"

@@ -34,0 +34,0 @@ },

@@ -23,2 +23,8 @@ <!--

### 2.0.1 (Jun 06, 2018)
* Use `opn` module instead of deprecated `open`
* [CB-14054](https://issues.apache.org/jira/browse/CB-14054) (android) fixing `cordova-android` directory restructuring.
* [CB-14092](https://issues.apache.org/jira/browse/CB-14092) Fixing repository url
* [CB-13501](https://issues.apache.org/jira/browse/CB-13501) added support for node 8
### 2.0.0 (Aug 24, 2017)

@@ -25,0 +31,0 @@ * [CB-13188](https://issues.apache.org/jira/browse/CB-13188) set serve to use default system browser if none is provided.

@@ -24,3 +24,3 @@ /**

var fs = require('fs');
var open = require('open');
var open = require('opn');
var exec = require('./exec');

@@ -27,0 +27,0 @@

@@ -28,11 +28,11 @@ /**

var platforms = {
amazon_fireos: {www_dir: 'assets/www'},
android: {www_dir: 'assets/www'},
blackberry10: {www_dir: 'www'},
browser: {www_dir: 'www'},
firefoxos: {www_dir: 'www'},
ios: {www_dir: 'www'},
ubuntu: {www_dir: 'www'},
windows: {www_dir: 'www'},
wp8: {www_dir: 'www'}
amazon_fireos: { www_dir: 'assets/www' },
android: { www_dir: 'assets/www' },
blackberry10: { www_dir: 'www' },
browser: { www_dir: 'www' },
firefoxos: { www_dir: 'www' },
ios: { www_dir: 'www' },
ubuntu: { www_dir: 'www' },
windows: { www_dir: 'www' },
wp8: { www_dir: 'www' }
};

@@ -80,3 +80,10 @@

}
return path.join(cordovaProjectRoot, 'platforms', platformName, platform.www_dir);
try {
var Api = require(path.join(cordovaProjectRoot, 'platforms', platformName, 'cordova/api'));
return new Api().locations.www;
} catch (e) {
// Fallback on hardcoded paths if platform api not found
return path.join(cordovaProjectRoot, 'platforms', platformName, platform.www_dir);
}
}

@@ -83,0 +90,0 @@

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