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

docpad-plugin-combiner

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

docpad-plugin-combiner - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

Contributing.md

9

out/combiner.plugin.js

@@ -46,5 +46,5 @@ // Generated by CoffeeScript 1.6.3

CombinerPlugin.prototype.renderAfter = function(opts, next) {
var combineOutCollection, combineOutContent, combineOutFilePath, combineOutModel, config, key, outPath, outputFile, value, writeCount, _i, _len, _ref;
var combineOutCollection, combineOutContent, combineOutFilePath, combineOutModel, config, contextRendered, key, outPath, outputFile, value, writeCount, _i, _len, _ref;
config = this.docpad.getConfig();
combineOutCollection = this.docpad.collections.combineOut;
combineOutCollection = this.docpad.getCollection("combineOut");
if (!combineOutCollection) {

@@ -70,3 +70,6 @@ if (typeof next === "function") {

}
combineOutContent[combineOutFilePath] += combineOutModel.get('contentRendered');
contextRendered = combineOutModel.get('contentRendered');
if (contextRendered != null) {
combineOutContent[combineOutFilePath] += contextRendered;
}
}

@@ -73,0 +76,0 @@ writeCount = 0;

{
"name": "docpad-plugin-combiner",
"version": "2.0.4",
"version": "2.0.5",
"description": "A Docpad plugin that adds the ability to combine parts to create a final master file",

@@ -27,7 +27,7 @@ "homepage": "https://github.com/pflannery/docpad-plugin-combiner",

"node": ">=0.8",
"docpad": ">=6.46"
"docpad": ">=6.46 <=6.54.10"
},
"devDependencies": {
"coffee-script": ">=1.6",
"docpad": ">=6.46"
"docpad": ">=6.46 <=6.54.10"
},

@@ -37,4 +37,4 @@ "main": "./out/combiner.plugin.js",

"test": "node ./out/combiner.test.js",
"test-debug": "node --debug-brk ./out/combiner.test.js"
"test-debug": "node --debug-brk ./out/combiner.test.js"
}
}

@@ -22,2 +22,3 @@ # Combiner Plugin for [DocPad](http://docpad.org)

outPath: scripts/myScript.js
write: false # prevents "Rename one of them to avoid an over-write" message
---

@@ -31,2 +32,3 @@ function foo(){}

outPath: scripts/myScript.js
write: false # prevents "Rename one of them to avoid an over-write" message
---

@@ -33,0 +35,0 @@ ### coffeescript ###

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