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

gulp-inc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-inc - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

9

index.js

@@ -11,6 +11,7 @@ 'use strict';

var pluginName = 'gulp-inc',
regex = options.regex || /^(.*=\s*(include)\s+([\w\.\/-]+))$/gm;
regex = options.regex || /^(.*=\s*(include)\s+([\w\.\/-]+))$/gm,
preproccesor = options.preproccesor || null;
if( typeof options.preproccesor == 'function')
preproccesor = options.preproccesor;
if( typeof preproccesor == 'function')
preproccesor = preproccesor;
else

@@ -28,3 +29,3 @@ preproccesor = function(contents){ return content; }

var content = String(file.contents),
var content = String(file.contents);
var result = content,

@@ -31,0 +32,0 @@ matches;

{
"name": "gulp-inc",
"version": "0.0.2",
"version": "0.1.0",
"description": "Inject file contents with an include tag and compile using your favorite preprocessor like CoffeeScript, Markdown, Sass, etc.",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/danioso/gulp-inc",

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