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

gulp-strip-code

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-strip-code - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

index.js

@@ -8,2 +8,4 @@ var es = require('event-stream');

options.start_comment = (typeof options.start_comment === 'undefined') ? 'test-code' : options.start_comment;
options.end_comment = (typeof options.end_comment === 'undefined') ? 'end-test-code' : options.end_comment;
var pattern = options.pattern || new RegExp("[\\t ]*\\/\\* ?" + options.start_comment + " ?\\*\\/[\\s\\S]*?\\/\\* ?" + options.end_comment + " ?\\*\\/[\\t ]*\\n?", "g");

@@ -10,0 +12,0 @@

2

package.json
{
"name": "gulp-strip-code",
"version": "0.1.1",
"version": "0.1.2",
"description": "A gulp plugin to remove parts of code based on regular expressions.",

@@ -5,0 +5,0 @@ "main": "index.js",

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