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.0.1 to 0.1.0

14

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

@@ -16,8 +16,12 @@ "main": "Gruntfile.js",

"devDependencies": {
"grunt": "~0.4.0rc7",
"grunt-contrib-jshint": "~0.1.1rc6",
"grunt-contrib-nodeunit": "~0.1.2rc6",
"grunt-contrib-clean": "0.4.0rc6"
"grunt": "~0.4.0",
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt-contrib-clean": "~0.4.0"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"include",
"gruntplugin"

@@ -24,0 +28,0 @@ ],

@@ -1,5 +0,5 @@

# grunt-includes
# grunt-includes [![Build Status](https://travis-ci.org/vanetix/grunt-includes.png)](https://travis-ci.org/vanetix/grunt-includes)
***Only works with grunt >= 0.4.0***
A grunt task for including a file within another file (think php includes).
A grunt task for including a file within another file (think php includes). *Circular* imports will break the recursive strategy.

@@ -6,0 +6,0 @@ ## Getting Started

@@ -14,2 +14,3 @@ /*

*/
var path = require('path');

@@ -25,10 +26,6 @@

* Core `grunt-includes` task
* Iterates over all source files and calls `recurse(path)` on each
*/
grunt.registerMultiTask('includes', 'Your task description goes here.', function() {
/**
* Iterate over all source files and build any includes
*/
this.files.forEach(function(f) {

@@ -35,0 +32,0 @@ var src = f.src.filter(function(path) {

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