New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-mix-make-file-hash

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-mix-make-file-hash - npm Package Compare versions

Comparing version

to
1.1.1

8

index.js

@@ -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",