Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-tpl-rev

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-tpl-rev - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

travis.yml

2

package.json
{
"name": "gulp-tpl-rev",
"version": "1.0.4",
"version": "1.0.5",
"description": "template resource url revisioning by appending content hash to filenames: unicorn.css => unicorn.css?_v=1",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -45,4 +45,7 @@ "use strict";

var query = urlObject.query;
query[options.name] = options.hash(urlObject.pathname);
attr.value = url.format(urlObject);
var hash = options.hash(urlObject.pathname);
if (hash) {
query[options.name] = hash;
attr.value = url.format(urlObject);
}
}

@@ -49,0 +52,0 @@ rewriter.emitStartTag(token);

@@ -7,3 +7,3 @@ > Static asset revisioning by appending content hash to filenames

```
$ npm install --save-dev gulp-rev
$ npm install --save-dev gulp-tpl-rev
```

@@ -10,0 +10,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