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

grunt-includes

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-includes - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

2

package.json
{
"name": "grunt-includes",
"description": "Include other files within a file.",
"version": "0.3.5",
"version": "0.3.6",
"author": "vanetix <matmcfarland@gmail.com>",

@@ -6,0 +6,0 @@ "main": "Gruntfile.js",

@@ -154,2 +154,3 @@ # grunt-includes [![Build Status](https://travis-ci.org/vanetix/grunt-includes.png?branch=master)](https://travis-ci.org/vanetix/grunt-includes)

## Release History
- 0.3.6 - Update replacement so only the include statement is replace. Thanks [SAPikachu](https://github.com/SAPikachu)!
- 0.3.5 - Add options for filename prefix and suffix.

@@ -156,0 +157,0 @@ - 0.3.4 - Add explicit include path option.

@@ -145,3 +145,3 @@ /*

function recurse(p, opts, included, indents) {
var src, next, match, error, comment,
var src, next, match, error, comment, content,
newline, compiled, indent, fileLocation;

@@ -209,3 +209,4 @@

next = path.join((opts.includePath || path.dirname(p)), fileLocation);
line = recurse(next, opts, included, indents + indent);
content = recurse(next, opts, included, indents + indent);
line = line.replace(opts.includeRegexp, content);

@@ -228,3 +229,2 @@ /**

}
};
};
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