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

gulp-usemin-extend

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-usemin-extend - npm Package Compare versions

Comparing version 0.3.23 to 0.3.24

4

lib/blocksBuilder.js

@@ -9,4 +9,4 @@ var fs = require('fs');

var startReg = /<!--\s*build:(\w+)(?:(?:\(([^\)]+?)\))?\s+(\/?([^\s]+?))?)?\s*-->/gim;
var endReg = /<!--\s*endbuild\s*-->/gim;
var startReg = options.startReg || /<!--\s*build:(\w+)(?:(?:\(([^\)]+?)\))?\s+(\/?([^\s]+?))?)?\s*-->/gim;
var endReg = options.endReg || /<!--\s*endbuild\s*-->/gim;
var jsReg = options.jsReg || /<\s*script\s+.*?src\s*=\s*['"]?([^'"?# ]+).*?><\s*\/\s*script\s*>/gi;

@@ -13,0 +13,0 @@ var cssReg = options.cssReg || /<\s*link\s+.*?href\s*=\s*['"]?([^'"?# ]+).*?>/gi;

{
"name": "gulp-usemin-extend",
"version": "0.3.23",
"version": "0.3.24",
"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",

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

#### startReg
Type: `Reg`
(新增属性),用来匹配开始标志
#### endReg
Type: `Reg`
(新增属性),用来匹配结束标志
#### jsReg

@@ -121,0 +131,0 @@ Type: `Reg`

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