Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@holisticon/gulp-static-hash
Advanced tools
A gulp plugin for cache files by adding a hash version append their name(like a.js?v=hash) or create a hash named file
A gulp plugin for cache files by adding a hash version append their name(like a.js?v=hash).
npm install --save-dev @holisticon/gulp-static-hash
Or if you want to use the development version (nightly build), which maybe not stable!:
npm install @holisticon/gulp-static-hash@next --save-dev
var gulp = require('gulp');
var staticHash = require('gulp-static-hash');
gulp.task('static-hash-html', function () {
gulp.src('static/**/*.html')
.pipe(staticHash({asset: 'static'}))
.pipe(gulp.dest('dest'));
});
<link rel="stylesheet" href="main.min.css">
<script src="main.min.js"></script>
<img src="main.png" />
<link rel="stylesheet" href="main.min.css?v=8501b2b">
<script src="main.min.js?v=8501b2b"></script>
<img src="main.png?v=8501b2b" />
The path to assets in your project
The extension list need add hash version
The path to assets in your project used by create md5 file
FAQs
A gulp plugin for cache files by adding a hash version append their name(like a.js?v=hash) or create a hash named file
The npm package @holisticon/gulp-static-hash receives a total of 3 weekly downloads. As such, @holisticon/gulp-static-hash popularity was classified as not popular.
We found that @holisticon/gulp-static-hash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.