gulp-include
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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. |
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16029
278
142
0