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

gulp-include

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-include - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

index.js

@@ -48,3 +48,7 @@ var fs = require('fs'),

var leadingWhitespace = null;
if (leadingWhitespaceMatch) leadingWhitespace = leadingWhitespaceMatch[0].replace("\n", "");
if (leadingWhitespaceMatch) {
leadingWhitespace = leadingWhitespaceMatch[0];
if (leadingWhitespaceMatch[0].indexOf("\n") > -1) leadingWhitespace = leadingWhitespaceMatch[0].split("\n")[1];
leadingWhitespace = leadingWhitespace.replace("\n", "");
}

@@ -51,0 +55,0 @@ // Remove beginnings, endings and trim.

2

package.json
{
"name": "gulp-include",
"version": "2.0.0",
"version": "2.0.1",
"description": "Makes inclusion of files a breeze. Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/wiledal/gulp-include",

@@ -70,2 +70,5 @@ #gulp-include [![NPM version][npm-image]][npm-url] ![Travis build][travis-image]

## Release log
#### 2.0.1
* Fixed an issue with indenting
#### 2.0.0

@@ -72,0 +75,0 @@ * Core rewritten to be slimmer and more comprehensive.

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