You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-better-rollup

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-better-rollup - npm Package Compare versions

Comparing version

to
4.0.0

17

index.js

@@ -77,7 +77,9 @@ 'use strict'

// core options
'format', 'file', 'dir', /*'name'*/, 'globals',
'dir', 'file', 'format', 'globals', /*'name',*/
// advanced options
'paths', 'banner', 'footer', 'intro', 'outro', 'sourcemap', 'sourcemapFile', 'interop', 'extend',
'assetFileNames', 'banner', 'chunkFileNames', 'compact', 'entryFileNames', 'extend', 'footer', 'interop',
'intro', 'outro', 'paths', 'sourcemap', 'sourcemapExcludeSources', 'sourcemapFile', 'sourcemapPathTransform',
// danger zone
'exports', /*'amd',*/ 'indent', 'strict', 'freeze', 'legacy', 'namespaceToStringTag',
/*'amd',*/ 'esModule', 'exports', 'freeze', 'indent', 'namespaceToStringTag', 'noConflict', 'preferConst',
'strict',
]

@@ -95,13 +97,14 @@ assignCertainProperties(outputOptions, inputOptions, propsToCopy)

if (result === undefined) return
var output = result.output[0]
// Pass sourcemap content and metadata to gulp-sourcemaps plugin to handle
// destination (and custom name) was given, possibly multiple output bundles.
if (createSourceMap) {
result.map.file = path.relative(originalCwd, originalPath)
result.map.sources = result.map.sources.map(source => path.relative(originalCwd, source))
output.map.file = path.relative(originalCwd, originalPath)
output.map.sources = output.map.sources.map(source => path.relative(originalCwd, source))
}
// return bundled file as buffer
targetFile.contents = Buffer.from(result.code)
targetFile.contents = Buffer.from(output.code)
// apply sourcemap to output file
if (createSourceMap)
applySourceMap(targetFile, result.map)
applySourceMap(targetFile, output.map)
})

@@ -108,0 +111,0 @@ }

{
"name": "gulp-better-rollup",
"version": "3.4.0",
"version": "4.0.0",
"description": "Better Gulp plugin for Rollup ES6 module bundler",

@@ -31,11 +31,14 @@ "author": "Mike Kovarik",

"plugin-error": "^1.0.1",
"rollup": "^0.66.0",
"vinyl": "^2.1.0",
"vinyl-sourcemaps-apply": "^0.2.1"
},
"peerDependencies": {
"rollup": "^1.4.1"
},
"devDependencies": {
"gulp-sourcemaps": "^2.1.1",
"mocha": "^5.1.1",
"mocha": "^6.0.2",
"rollup": "^1.4.1",
"should": "^13.2.1"
}
}

@@ -190,2 +190,6 @@ # gulp-better-rollup

})
```
```
## Looking for maintainer
I no longer have time to dedicate myself to the project, nor do I use it in my current projects. I'd gladly accept new maintainers.