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

gulp-usemin

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-usemin - npm Package Compare versions

Comparing version 0.3.29 to 0.3.30

5

lib/htmlBuilder.js

@@ -48,2 +48,3 @@ module.exports = function(file, blocks, options, push, callback) {

var cssCounter = 0;
var htmlImportCounter = 0;
var promises = blocks.map(function(block, i) {

@@ -96,3 +97,5 @@ return new Promise(function(resolve) {

push(file);
html[i] += '<link rel="import" href="' + name.replace(path.basename(name), path.basename(file.path)) + '"/>';
var htmlImportAttributes = options ? options.htmlImportAttributes : null;
html[i] += '<link rel="import" href="' + name.replace(path.basename(name), path.basename(file.path)) + '"'
+ createHTMLAttributes(htmlImportAttributes, htmlImportCounter++) + ' />';
resolve();

@@ -99,0 +102,0 @@ }.bind(this, block.nameInHTML));

2

package.json
{
"name": "gulp-usemin",
"version": "0.3.29",
"version": "0.3.30",
"description": "Replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).",

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

@@ -245,2 +245,5 @@ [![Build Status](https://travis-ci.org/zont/gulp-usemin.svg?branch=master)](https://travis-ci.org/zont/gulp-usemin)

#####0.3.30
- Introduce html import attributes (by jackw)
#####0.3.29

@@ -247,0 +250,0 @@ - Migrate gulp-util to individual modules (by pioug)

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