Comparing version 0.6.9 to 0.6.10
@@ -29,14 +29,5 @@ var assert = require("assert"); | ||
var visitor = new RequireVisitor(this, id); | ||
return util.makePromise(function(finish) { | ||
recast.runString(source, function(ast, reprint) { | ||
ast = visitor.visit(ast); | ||
Q.all(visitor.promises).then(function() { | ||
reprint(ast); | ||
}); | ||
}, { | ||
writeback: function(code) { | ||
finish(null, code); | ||
} | ||
}); | ||
var ast = visitor.visit(recast.parse(source)); | ||
return Q.all(visitor.promises).then(function() { | ||
return recast.print(ast); | ||
}); | ||
@@ -43,0 +34,0 @@ }; |
@@ -17,3 +17,3 @@ { | ||
], | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "homepage": "http://github.com/benjamn/commoner", | ||
"q": ">= 0.9.1", | ||
"recast": ">= 0.3.3", | ||
"recast": "~0.4.1", | ||
"commander": ">= 1.1.1", | ||
@@ -46,4 +46,4 @@ "glob": ">= 3.2.1", | ||
"engines": { | ||
"node": ">= 0.6" | ||
"node": ">= 0.8" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
Commoner | ||
Commoner [![Build Status](https://travis-ci.org/benjamn/commoner.png?branch=master)](https://travis-ci.org/benjamn/commoner) | ||
--- | ||
@@ -105,3 +105,3 @@ | ||
merely creates a hard link between the hash file and a file with a more | ||
meaningful name outside of the cache directory. | ||
meaningful name in the output directory. | ||
@@ -108,0 +108,0 @@ When you pass the `--watch` flag to `bin/commonize`, Commoner avoids |
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
32
68832
1623
+ Addedcls@0.1.5(transitive)
+ Addedrecast@0.4.25(transitive)
- Removedrecast@0.23.9(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedtiny-invariant@1.3.3(transitive)
Updatedrecast@~0.4.1