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

grunt-decomment

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-decomment - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "grunt-decomment",
"version": "0.2.0",
"version": "0.2.1",
"description": "Removes comments from JSON, JavaScript, CSS, HTML, etc.",

@@ -5,0 +5,0 @@ "files": [

@@ -11,2 +11,12 @@ 'use strict';

var files = this.data.files;
if (files) {
for (var f in files) {
var src = files[f];
if (!grunt.file.exists(src)) {
throw new Error("File '" + src + "' not found.");
}
}
}
var type, method = 'decomment', opt = this.options();

@@ -31,3 +41,2 @@

var dest = path.join(cwd, byDest.dest);
byDest.src.forEach(function (f) {

@@ -34,0 +43,0 @@ var file = path.join(cwd, f);

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