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

cordova-play-services-version-adapter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-play-services-version-adapter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.release.json

120

package.json
{
"name": "cordova-play-services-version-adapter",
"version": "1.0.0",
"description": "Cordova/Ionic Google Play Services Versions Incompatibility Adapter",
"cordova": {
"id": "cordova-play-services-version-adapter",
"platforms": [
"android",
"ios",
"windows",
"browser",
"osx",
"www"
]
"name": "cordova-play-services-version-adapter",
"version": "1.0.1",
"description": "Cordova/Ionic Google Play Services Versions Incompatibility Adapter",
"cordova": {
"id": "cordova-play-services-version-adapter",
"platforms": [
"android",
"ios",
"windows",
"browser",
"osx",
"www"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/appfeel/cordova-play-services-version-adapter.git"
},
"keywords": [
"exception",
"incompatibility",
"build",
"GoogleServicesPlugin",
"com.google.gms.googleservices.GoogleServicesPlugin",
"firebase",
"maps",
"admob",
"push",
"notification",
"analytics",
"play-services",
"appfeel",
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"ionic",
"cordova"
],
"engines": {
"name": "cordova",
"version": ">=7.0.0"
},
"author": "AppFeel",
"contributors": [
{
"name": "David Silvestre Gil",
"email": "david.silvestre@appfeel.com",
"url": "https://www.appfeel.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/appfeel/cordova-play-services-version-adapter.git"
},
"keywords": [
"exception",
"incompatibility",
"build",
"GoogleServicesPlugin",
"com.google.gms.googleservices.GoogleServicesPlugin",
"firebase",
"maps",
"admob",
"push",
"notification",
"analytics",
"play-services",
"appfeel",
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"ionic",
"cordova"
],
"engines": {
"name": "cordova",
"version": ">=7.0.0"
},
"author": "AppFeel",
"contributors": [
{
"name": "David Silvestre Gil",
"email": "david.silvestre@appfeel.com",
"url": "https://www.appfeel.com"
},
{
"name": "Ricard López Olivares",
"email": "ricard.lopez@appfeel.com",
"url": "https://www.appfeel.com"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/appfeel/cordova-play-services-version-adapter/issues"
},
"homepage": "https://github.com/appfeel/cordova-play-services-version-adapter#readme"
}
{
"name": "Ricard López Olivares",
"email": "ricard.lopez@appfeel.com",
"url": "https://www.appfeel.com"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/appfeel/cordova-play-services-version-adapter/issues"
},
"homepage": "https://github.com/appfeel/cordova-play-services-version-adapter#readme"
}

@@ -39,3 +39,3 @@ #!/usr/bin/env node

}
return getBigger(v1, v2, idx + 1);
return getBiggerVersion(v1, v2, idx + 1);
}

@@ -89,3 +89,3 @@ return v1;

let possibleVersions = dependencies.filter(l => getBiggerVersion(l.version, minVersion.version) === l.version);
const parsedLibraries = libraries.filter(l => l.isGPS).map(l => `${l.package}:${l.dependency}`);
const parsedLibraries = libraries.filter(l => l.isGPS).map(l => `${l.libPackage}:${l.dependency}`);
if (isNaN(minVersion.version.split('.')[0])) {

@@ -161,5 +161,5 @@ for (let i = possibleVersions.length - 1, n = 0; i >= n; i -= 1) {

const libraryVersion = library.isGPS ? newVersion : library.version;
newLines.push(`${library.library}=${library.package}:${library.dependency}:${libraryVersion}`);
newLines.push(`${library.library}=${library.libPackage}:${library.dependency}:${libraryVersion}`);
}
const parsedLibrariesVersion = libraries.filter(l => l.isGPS && l.version !== newVersion).map(l => `${l.package}:${l.dependency}:${l.version}`);
const parsedLibrariesVersion = libraries.filter(l => l.isGPS && l.version !== newVersion).map(l => `${l.libPackage}:${l.dependency}:${l.version}`);
if (parsedLibrariesVersion.length > 0) {

@@ -169,3 +169,3 @@ prepareSuccess(parsedLibrariesVersion, newVersion);

} else {
const parsedLibrariesVersion = libraries.filter(l => l.isGPS).map(l => `${l.package}:${l.dependency}:${l.version}`);
const parsedLibrariesVersion = libraries.filter(l => l.isGPS).map(l => `${l.libPackage}:${l.dependency}:${l.version}`);
prepareError(parsedLibrariesVersion);

@@ -172,0 +172,0 @@ }

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