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

grpc-test-cli

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-test-cli - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

24

install.js

@@ -32,10 +32,22 @@ const fs = require('fs')

const zipPath = path.join(outputPath, filename)
const fileContents = fs.createReadStream(`./${filename}.gz`)
const writeStream = fs.createWriteStream(`${outputPath}`);
const unzip = zlib.createGunzip();
try {
fileContents.pipe(unzip).pipe(writeStream);
if(!fs.existsSync(`${outputPath}`)){
fs.mkdirSync(`${outputPath}`)
}
console.log(`${filename}`)
console.log(`${outputPath}`)
const zip = new AdmZip(`./${filename}.zip`);
const outputDir = `${outputPath}`;
zip.extractAllTo(outputDir)
} catch (e) {
console.log(`Something went wrong. ${e}`);
}
}
}

@@ -42,0 +54,0 @@ if(platform === 'win32_x86_64'){

{
"name": "grpc-test-cli",
"version": "1.6.1",
"version": "1.6.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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