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

gulp-hash-src

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-hash-src - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

10

hash-src.js

@@ -71,2 +71,7 @@ // jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, onevar: true, strict:true, undef:true, unused:true, curly:true, node:true, newcap:true

function destination_path(build_dir, link)
{
return p.join(build_dir, link);
}
p = fs_helper.p;

@@ -97,2 +102,5 @@

}
if (!options.destination_path) {
options.destination_path = destination_path;
}
if (typeof options.query_name === "undefined") {

@@ -122,4 +130,4 @@ options.query_name = "cbh"; /// "cache busting hash"

full_path = p.join(options.build_dir, link);
full_path = options.destination_path(options.build_dir, link);
fs_helper.fs.exists(full_path, function onres(exists)

@@ -126,0 +134,0 @@ {

2

package.json
{
"name": "gulp-hash-src",
"description": "Add hashes to links in HTML/CSS",
"version": "0.1.4",
"version": "0.1.5",
"author": {

@@ -6,0 +6,0 @@ "name": "Nathan Rugg",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc