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.4.0 to 0.4.1

.travis.yml

6

index.js

@@ -70,2 +70,5 @@ 'use strict';

// need to double each `$` to escape it in the `replace` function
includeContent = String(includeContent).replace(/\$/gi, '$$$$');
// apply filters on include content

@@ -88,2 +91,3 @@ if (typeof filters === 'object') {

}
file.contents = new Buffer(text);

@@ -108,3 +112,3 @@ return file;

// And apply the composed function to the stringified content
// and apply the composed function to the stringified content
return filter(String(includeContent));

@@ -111,0 +115,0 @@ }

3

package.json
{
"name": "gulp-file-include",
"version": "0.4.0",
"version": "0.4.1",
"description": "a gulp plugin for file include",

@@ -17,2 +17,3 @@ "main": "index.js",

"include",
"replace",
"gulp",

@@ -19,0 +20,0 @@ "plugin"

@@ -1,3 +0,6 @@

[![NPM](https://nodei.co/npm/gulp-file-include.png?downloads=true)](https://nodei.co/npm/gulp-file-include/)
[![NPM](https://nodei.co/npm/gulp-file-include.png?downloads=true)](https://nodei.co/npm/gulp-file-include)
[![NPM version][npm-img]][npm-url]
[![build status][travis-img]][travis-url]
### gulp-file-include

@@ -138,1 +141,6 @@ a plugin of gulp for file include

MIT
[npm-img]: https://img.shields.io/npm/v/gulp-file-include.svg?style=flat
[npm-url]: https://www.npmjs.org/package/gulp-file-include
[travis-img]: https://img.shields.io/travis/coderhaoxin/gulp-file-include.svg?style=flat
[travis-url]: https://travis-ci.org/coderhaoxin/gulp-file-include
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