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.2 to 0.1.3

8

hash-src.js

@@ -78,3 +78,3 @@ // 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

if (!options || !options.build_dir) {
throw "Need build_dir";
throw new Error("Need build_dir");
}

@@ -124,2 +124,5 @@

if (!exists) {
if (options.verbose) {
console.log("[gulp-hash-src] \"" + full_path + "\" does not exist. Cannot hash.");
}
return next();

@@ -130,2 +133,5 @@ }

if (is_dir) {
if (options.verbose) {
console.log("[gulp-hash-src] \"" + full_path + "\" is a directory. Cannot hash.");
}
return next();

@@ -132,0 +138,0 @@ }

2

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

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

@@ -87,2 +87,4 @@ # gulp-hash-src

href="file.css?0123456789abcdef"
verbose Whether or not to log info about missing files (default: false)
```

@@ -89,0 +91,0 @@

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