gulp-concat-script
Advanced tools
Comparing version 1.0.2 to 1.0.3
var fs = require('fs'), | ||
os = require('os'), | ||
through = require('through2'), | ||
@@ -22,3 +23,3 @@ gutil = require('gulp-util'), | ||
var contents = file.contents.toString(), | ||
lines = contents.split('\n'), | ||
lines = contents.split(os.EOL), | ||
newLines = [], | ||
@@ -40,3 +41,3 @@ parsed = false; | ||
path: file.path, | ||
contents: new Buffer(newLines.join('\n')) | ||
contents: new Buffer(newLines.join(os.EOL)) | ||
}); | ||
@@ -43,0 +44,0 @@ } |
{ | ||
"name": "gulp-concat-script", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Parses js files, finds `document.write('<script src='*.js'></script>')` directive and includes these files.", | ||
@@ -30,4 +30,4 @@ "main": "index.js", | ||
"gitHead": "7726096ccf1f2b168e22d05573826b5e7d7acf92", | ||
"_id": "gulp-concat-script@1.0.1", | ||
"_shasum": "5f3e616867882388cc311a0406da16baef838ce5", | ||
"_id": "gulp-concat-script@1.0.2", | ||
"_shasum": "86963731da9cb3b1a17aca03984d96d9af6467ab", | ||
"_from": "gulp-concat-script@latest", | ||
@@ -34,0 +34,0 @@ "_npmVersion": "1.4.28", |
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
4858
40