Socket
Socket
Sign inDemoInstall

cachetool

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

6

dist/runner.js

@@ -6,3 +6,2 @@ "use strict";

const EXEC_PATH = path.join(__dirname, '../bin/cachetool');
let OneOperationOnlyList = [];
/**

@@ -13,6 +12,2 @@ * Function

return new Promise((resolve, reject) => {
if (OneOperationOnlyList.includes(cachePath)) {
return reject(`An operation on ${cachePath} is already running.`);
}
OneOperationOnlyList.push(cachePath);
const args = [cachePath, cacheBackendType || 'simple', command, ...(commandArgs || [])];

@@ -34,3 +29,2 @@ if (!silent) {

child.on('close', (code) => {
OneOperationOnlyList = OneOperationOnlyList.filter((k) => k !== cachePath);
if (!silent) {

@@ -37,0 +31,0 @@ console.log(`cachetool process exited with code ${code}`);

2

package.json
{
"name": "cachetool",
"version": "1.0.2",
"version": "1.1.0",
"description": "Chrome's cachetool, usable from Node",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc