docpad-plugin-cleanurls
Advanced tools
Comparing version 2.4.2 to 2.4.3
## History | ||
- v2.4.3 April 5, 2013 | ||
- Dependency upgrades | ||
- v2.4.2 April 1, 2013 | ||
@@ -4,0 +7,0 @@ - Dependency upgrades |
@@ -60,3 +60,3 @@ // Generated by CoffeeScript 1.6.2 | ||
database = docpad.getCollection('html'); | ||
TaskGroup = require('taskgroup'); | ||
TaskGroup = require('taskgroup').TaskGroup; | ||
safefs = require('safefs'); | ||
@@ -74,3 +74,5 @@ pathUtil = require('path'); | ||
docpad.log('debug', 'Writing static clean url files'); | ||
tasks = new TaskGroup(function(err) { | ||
tasks = new TaskGroup().setConfig({ | ||
concurrency: 0 | ||
}).once('complete', function(err) { | ||
docpad.log('debug', 'Wrote static clean url files'); | ||
@@ -80,3 +82,3 @@ return next(err); | ||
addWriteTask = function(outPath, outContent, encoding) { | ||
return tasks.push(function(complete) { | ||
return tasks.addTask(function(complete) { | ||
return safefs.writeFile(outPath, outContent, encoding, complete); | ||
@@ -116,3 +118,3 @@ }); | ||
}); | ||
tasks.async(); | ||
tasks.run(); | ||
} else { | ||
@@ -119,0 +121,0 @@ next(); |
@@ -6,4 +6,6 @@ // Generated by CoffeeScript 1.6.2 | ||
module.exports = function(testers) { | ||
var MyTester, _ref; | ||
var MyTester, expect, request, _ref; | ||
expect = require('chai').expect; | ||
request = require('request'); | ||
return MyTester = (function(_super) { | ||
@@ -20,7 +22,5 @@ __extends(MyTester, _super); | ||
MyTester.prototype.testServer = function(next) { | ||
var expect, fsUtil, request, tester; | ||
var fsUtil, tester; | ||
tester = this; | ||
expect = testers.expect; | ||
request = testers.request; | ||
fsUtil = require('fs'); | ||
@@ -27,0 +27,0 @@ MyTester.__super__.testServer.apply(this, arguments); |
{ | ||
"name": "docpad-plugin-cleanurls", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "Adds support for clean urls to DocPad", | ||
@@ -31,7 +31,9 @@ "homepage": "http://docpad.org/plugin/cleanurls", | ||
"dependencies": { | ||
"safefs": "~2.0.3", | ||
"taskgroup": "~2.0.0" | ||
"safefs": "~3.0.1", | ||
"taskgroup": "~3.1.1" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "~1.6.2" | ||
"coffee-script": "~1.6.2", | ||
"chai": "~1.5.0", | ||
"request": "~2.16.6" | ||
}, | ||
@@ -38,0 +40,0 @@ "main": "./out/cleanurls.plugin.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14770
168
3
+ Addedambi@2.1.6(transitive)
+ Addedeventemitter2@0.4.14(transitive)
+ Addedextendonclass@1.0.1(transitive)
+ Addedgraceful-fs@2.0.3(transitive)
+ Addedsafefs@3.0.6(transitive)
+ Addedtaskgroup@3.1.23.3.9(transitive)
- Removedsafefs@2.0.3(transitive)
- Removedtaskgroup@2.0.0(transitive)
Updatedsafefs@~3.0.1
Updatedtaskgroup@~3.1.1