raphinesse opened a new pull request #865: URL: https://github.com/apache/cordova-lib/pull/865
### Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here. --> In some cases, npm 7 causes the `package.json` to look slightly different than with npm 6. This PR changes our tests so that they work with both flavors. ### Description <!-- Describe your changes in detail --> This PR addresses the following differences: Saved GitHub URL format in `package.json`: - npm 6: `git+https://github.com/apache/cordova-android.git#4.1.x` - npm 7: `github:apache/cordova-android#4.1.x` Empty devDependencies format in `package.json`: - npm 6: `{}` - npm 7: `undefined` ### Testing <!-- Please describe in detail how you tested your changes. --> Automated tests are passing with both `npm@6` and `npm@^7.2` (with https://github.com/apache/cordova-fetch/pull/91) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
