laravel-mix-make-file-hash
Advanced tools
Comparing version
@@ -1,4 +0,6 @@ | ||
const forEach = require('lodash/forEach'); | ||
const del = require('del'); | ||
const fs = require("fs"); | ||
const jsonFile = require('jsonfile'); | ||
const forEach = require('lodash/forEach'); | ||
const forIn = require('lodash/forIn'); | ||
@@ -10,3 +12,3 @@ const makeFileHash = (publicPath, manifestFilePath) => { | ||
const oldFiles = []; | ||
_.forIn(obj, (value, key) => { | ||
forIn(obj, (value, key) => { | ||
// Get the hash from the ?id= query string parameter and | ||
@@ -39,2 +41,2 @@ // move it into the file name e.g. 'app.abcd1234.css' | ||
module.exports.default = makeFileHash; | ||
module.exports = makeFileHash; |
{ | ||
"name": "laravel-mix-make-file-hash", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Convert the default Laravel Mix querystring hashing to filename hashing.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4495
1.24%38
5.56%1
Infinity%