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

gulp-file-include

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-file-include - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

8

index.js

@@ -142,4 +142,8 @@ 'use strict';

var data = JSON.parse(matches[3]);
for (var k in data) {
text = text.replace(new RegExp(prefix + k, 'g'), data[k]);
// grab keys & sort by longest keys 1st to iterate in that order
var keys = Object.keys(data).sort().reverse();
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
text = text.replace(new RegExp(prefix + key, 'g'), data[key]);
}

@@ -146,0 +150,0 @@ }

{
"name": "gulp-file-include",
"version": "0.7.0",
"version": "0.7.1",
"description": "a gulp plugin for file include",

@@ -37,3 +37,3 @@ "main": "index.js",

"dependencies": {
"concat-stream": "^1.4.6",
"concat-stream": "^1.4.7",
"event-stream": "^3.1.7",

@@ -40,0 +40,0 @@ "gulp-util": "^3.0.1"

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