New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-concat-in-order

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-concat-in-order - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

Gruntfile.js

@@ -55,3 +55,3 @@ /*

extractRequired: function(filepath, filecontent) {
var workingdir = filepath.split('/');
var workingdir = path.normalize(filepath).split(path.sep);
workingdir.pop();

@@ -58,0 +58,0 @@

{
"name": "grunt-concat-in-order",
"description": "Concatenates files respecting declared, required dependencies order.",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/miensol/grunt-concat-in-order",

@@ -6,0 +6,0 @@ "author": {

@@ -120,3 +120,3 @@ # grunt-concat-in-order

### Filebased
### File based
You can enable automatic addition of files with the following example. (notice the onlyConcatRequiredFiles : true) This is the same way of declaring dependencies used by [juicer](https://github.com/cjohansen/juicer)

@@ -129,3 +129,3 @@

extractRequired: function(filepath, filecontent) {
var workingdir = filepath.split('/');
var workingdir = path.normalize(filepath).split(path.sep);
workingdir.pop();

@@ -146,3 +146,3 @@

This will declare all files a modules using their filenames. In main.js you will typically have these depend statements:
This will declare all files as modules using their filenames. In main.js you will typically have these depend statements:

@@ -163,3 +163,3 @@ /**

The option onlyConcatRequiredFiles will only work if files are declared and required with their actual filenames.
The option onlyConcatRequiredFiles will only work if modules are declared and required with their actual filenames.

@@ -171,2 +171,3 @@ ## Contributing

- 0.1.4 - @mokkabonna added ability to concat only files that are required by some moule
- 0.1.6 - @mokkabonna updated documenation and fixed path splitting in sample
- 0.1.4 - @mokkabonna added ability to concat only files that are required by some module
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