Socket
Socket
Sign inDemoInstall

@enonic/cli-test

Package Overview
Dependencies
1
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

4

package.json
{
"name": "@enonic/cli-test",
"version": "0.0.11",
"version": "0.0.12",
"description": "Command-line interface for Enonic XP",

@@ -8,3 +8,3 @@ "main": "index.js",

"scripts": {
"postinstall": "node postinstall.js install --foreground-scripts --loglevel verbose",
"postinstall": "node postinstall.js install",
"preuninstall": "node postinstall.js uninstall"

@@ -11,0 +11,0 @@ },

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

var shellCommand = '';
var src = `./dist/enonic_${PLATFORM_MAPPING[process.platform]}_${ARCH_MAPPING[process.arch]}/${opts.binName}`;
var target = `./bin/${opts.binName}`;
await fs.copyFile(src, target);
/*
if (process.platform === "win32") {

@@ -155,2 +158,3 @@ shellCommand = `xcopy .\\dist\\enonic_${PLATFORM_MAPPING[process.platform]}_${ARCH_MAPPING[process.arch]}\\${opts.binName} .\\bin\\ /I /Y`;

await execShellCommand(shellCommand);
*/
await verifyAndPlaceBinary(opts.binName, opts.binPath, callback);

@@ -157,0 +161,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc