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

cordova-import-npm

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-import-npm - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

2

package.json
{
"name": "cordova-import-npm",
"version": "1.0.29",
"version": "1.0.30",
"description": "Import files from npm packages into your cordova www directory automatically, upon cordova prepare or cordova build",

@@ -5,0 +5,0 @@ "scripts": {

@@ -14,5 +14,9 @@ #!/usr/bin/env node

// the directory from which the command npx is being called/run
// which according to setup instructions is the root directory of the main module which depends on this module
const projectRootDirectory = process.env.INIT_CWD || process.cwd()
const isTest = process.argv[2] === '--test'
if (!isTest) {
console.log('Setup script called from ' + colors.cyan(process.env.INIT_CWD))
console.log('Setup script called from ' + colors.cyan(projectRootDirectory))
}

@@ -24,3 +28,3 @@

? path.join(__dirname, '..', 'test', 'config.xml')
: path.join(process.env.INIT_CWD || process.cwd(), 'config.xml')
: path.join(projectRootDirectory, 'config.xml')

@@ -81,3 +85,3 @@ console.log(`Editing config.xml:${colors.cyan(configXmlFileName)}`)

const jsonFile = path.join(process.env.INIT_CWD, 'npmFilesToImport.json')
const jsonFile = path.join(projectRootDirectory, 'npmFilesToImport.json')

@@ -84,0 +88,0 @@ try {

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