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

vinyl-map

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vinyl-map - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

2

package.json
{
"name": "vinyl-map",
"description": "Map vinyl files' contents as strings, so you can easily use existing code without needing yet another gulp plugin!",
"version": "0.0.0",
"version": "0.0.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -46,12 +46,10 @@ # vinyl-map [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/vinyl-map&title=vinyl-map&description=hughsk/vinyl-map%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #

gulp.task('minify', function() {
var minify = map(function(code, filename) {
return uglify.minify(code, { fromString: true })
})
return gulp.src('index.js')
.pipe(uglify())
.pipe(minify)
.pipe(gulp.dest('./dist'))
})
function uglify() {
return map(function(code, filename) {
return uglify.minify(code, { fromString: true })
})
}
```

@@ -58,0 +56,0 @@

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