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

@actions/tool-cache

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actions/tool-cache - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

16

lib/tool-cache.js

@@ -143,5 +143,6 @@ "use strict";

try {
const logLevel = core.isDebug() ? '-bb1' : '-bb0';
const args = [
'x',
'-bb1',
logLevel,
'-bd',

@@ -223,2 +224,5 @@ '-sccUTF-8',

const args = [flags];
if (core.isDebug() && !flags.includes('v')) {
args.push('-v');
}
let destArg = dest;

@@ -273,3 +277,3 @@ let fileArg = file;

// run powershell
const powershellPath = yield io.which('powershell');
const powershellPath = yield io.which('powershell', true);
const args = [

@@ -290,4 +294,8 @@ '-NoLogo',

return __awaiter(this, void 0, void 0, function* () {
const unzipPath = yield io.which('unzip');
yield exec_1.exec(`"${unzipPath}"`, [file], { cwd: dest });
const unzipPath = yield io.which('unzip', true);
const args = [file];
if (!core.isDebug()) {
args.unshift('-q');
}
yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest });
});

@@ -294,0 +302,0 @@ }

{
"name": "@actions/tool-cache",
"version": "1.3.4",
"version": "1.3.5",
"description": "Actions tool-cache lib",

@@ -10,3 +10,3 @@ "keywords": [

],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/tool-cache",
"license": "MIT",

@@ -40,3 +40,3 @@ "main": "lib/tool-cache.js",

"dependencies": {
"@actions/core": "^1.2.0",
"@actions/core": "^1.2.3",
"@actions/exec": "^1.0.0",

@@ -43,0 +43,0 @@ "@actions/http-client": "^1.0.8",

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