Socket
Socket
Sign inDemoInstall

gulp-decomment

Package Overview
Dependencies
58
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "gulp-decomment",
"version": "0.1.0",
"version": "0.1.1",
"description": "Removes comments from JSON, JavaScript, CSS, HTML, etc.",

@@ -14,3 +14,3 @@ "scripts": {

"dependencies": {
"decomment": "0.7",
"decomment": "^0.7.5",
"gulp-util": "3.0",

@@ -17,0 +17,0 @@ "through2": "2.0"

@@ -34,3 +34,3 @@ gulp-decomment

return gulp.src('input.js')
.pipe(decomment())
.pipe(decomment({trim: true}))
.pipe(gulp.dest('dest'));

@@ -43,6 +43,7 @@ });

Available methods, according to [decomment API](https://github.com/vitaly-t/decomment#api):
* [decomment([options])](https://github.com/vitaly-t/decomment#decommentcode-options--string)
* [decomment.text([options])](https://github.com/vitaly-t/decomment#decommenttexttext-options--string)
* [decomment.html([options])](https://github.com/vitaly-t/decomment#decommenthtmlhtml-options--string)
##### - [decomment([options])](https://github.com/vitaly-t/decomment#decommentcode-options--string)
##### - [decomment.text([options])](https://github.com/vitaly-t/decomment#decommenttexttext-options--string)
##### - [decomment.html([options])](https://github.com/vitaly-t/decomment#decommenthtmlhtml-options--string)
## License

@@ -49,0 +50,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc