Socket
Socket
Sign inDemoInstall

cachekill

Package Overview
Dependencies
50
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

2

cli.js

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

program
.version('3.0.1', '-v, --version', 'Outputs the current version number')
.version('3.0.2', '-v, --version', 'Outputs the current version number')
.requiredOption('-s, --source <files...>', 'Source file(s); a fingerprinted copy will be generated for each of them')

@@ -13,0 +13,0 @@ .option('-t, --target <files...>', 'Target file(s); files with references to source files to be replaced')

@@ -90,3 +90,3 @@ "use strict";

await replace_in_file_1.default.replaceInFile({
from: sourceBases.map(obj => obj.base),
from: sourceBases.map(obj => new RegExp(obj.base, 'g')),
to: sourceBases.map(obj => obj.newBase),

@@ -93,0 +93,0 @@ files: targets

@@ -83,3 +83,3 @@ import path from 'path';

await replace.replaceInFile({
from: sourceBases.map(obj => obj.base),
from: sourceBases.map(obj => new RegExp(obj.base, 'g')),
to: sourceBases.map(obj => obj.newBase),

@@ -86,0 +86,0 @@ files: targets

{
"name": "cachekill",
"version": "3.0.1",
"version": "3.0.2",
"description": "Simple command line cache busting tool which fingerprints files with a content hash.",

@@ -26,3 +26,3 @@ "author": "Eneko <contact@eneko.me>",

"@types/node": "~14.14.37",
"typescript": "~4.2.3"
"typescript": "~4.2.4"
},

@@ -29,0 +29,0 @@ "engines": {

@@ -129,3 +129,3 @@ import path from 'path';

await replace.replaceInFile({
from: sourceBases.map(obj => obj.base),
from: sourceBases.map(obj => new RegExp(obj.base, 'g')),
to: sourceBases.map(obj => obj.newBase),

@@ -132,0 +132,0 @@ files: targets

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