gulp-rollup
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -12,2 +12,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var bufferFrom = require('buffer-from'); | ||
@@ -107,6 +108,6 @@ function GulpRollup(options) { | ||
path: entryFile, | ||
contents: new Buffer(result.code) | ||
contents: bufferFrom(result.code) | ||
}); | ||
} else { | ||
file.contents = new Buffer(result.code); | ||
file.contents = bufferFrom(result.code); | ||
} | ||
@@ -113,0 +114,0 @@ |
{ | ||
"name": "gulp-rollup", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "gulp plugin for Rollup ES6 module bundler", | ||
@@ -26,2 +26,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"buffer-from": "^0.1.0", | ||
"gulp-util": "^3.0.6", | ||
@@ -28,0 +29,0 @@ "readable-stream": "^2.1.4", |
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
11119
123
5
+ Addedbuffer-from@^0.1.0
+ Addedbuffer-from@0.1.2(transitive)