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

cordova-fetch

Package Overview
Dependencies
Maintainers
6
Versions
2179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-fetch - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

11

index.js

@@ -54,5 +54,4 @@ /**

if (path.basename(dest) !== 'node_modules') {
dest = path.resolve(path.join(dest, 'node_modules'));
dest = path.resolve(path.join(dest, 'node_modules'));
}
//create dest if it doesn't exist

@@ -62,3 +61,2 @@ if(!fs.existsSync(dest)) {

}
} else return Q.reject(new CordovaError('Need to supply a target and destination'));

@@ -75,3 +73,2 @@

//Grab json object of installed modules before npm install

@@ -146,3 +143,2 @@ return depls(dest);

var parts;
//If GITURL, set target to repo name

@@ -158,2 +154,7 @@ if (isUrl(target)) {

}
//If local path exists, set target to final directory
if (fs.existsSync(target)) {
target = path.basename(target);
}

@@ -160,0 +161,0 @@ //strip away everything after '@'

{
"name": "cordova-fetch",
"version": "1.0.2",
"version": "1.1.0",
"description": "Apache Cordova fetch module. Fetches from git and npm.",

@@ -24,4 +24,4 @@ "main": "index.js",

"dependencies": {
"cordova-common": "2.0.0",
"dependency-ls": "^1.0.0",
"cordova-common": "2.0.3",
"dependency-ls": "^1.1.0",
"is-url": "^1.2.1",

@@ -41,5 +41,5 @@ "q": "^1.4.1",

"engines": {
"node": ">= 0.12.0",
"node": ">=4.0.0",
"npm": ">= 2.5.1"
}
}

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

### 1.1.0 (May 02, 2017)
* [CB-12665](https://issues.apache.org/jira/browse/CB-12665): removed `enginestrict` since it is deprecated
* added support for dealing with local path targets
### 1.0.2 (Jan 17, 2017)
* [CB-12358](https://issues.apache.org/jira/browse/CB-12358) updated cordova-common dep for cordova-fetch to 2.0.0
* [CB-12358](https://issues.apache.org/jira/browse/cb-12358) updated cordova-common dep for cordova-fetch to 2.0.0

@@ -27,0 +31,0 @@ ### 1.0.0 (May 12, 2016)

@@ -149,3 +149,3 @@ /**

.fin(done);
}, 70000);
}, 100000);
});

@@ -152,0 +152,0 @@

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