Skip to content

Commit

Permalink
bug fixed and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Jul 14, 2015
1 parent 7304d26 commit d4ba5e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,4 @@ function parseDependencies(src, replace, async){
}

// Exports
module.exports = parseDependencies;
module.exports = parseDependencies;
3 changes: 2 additions & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function parse(src, options){
if (!options) options = {};

return acorn.parse(src, {
sourceType: options.sourceType,
ranges: util.defined(options.ranges, false),
ecmaVersion: util.defined(options.ecmaVersion, 6),
locations: util.defined(options.locations, null),
Expand Down Expand Up @@ -138,4 +139,4 @@ module.exports = function (src, replace, options){
});

return replace ? src : modules;
};
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"acorn": "^2.0.4"
},
"devDependencies": {
"detective": "^4.1.0",
"detective": "^4.1.1",
"benchmark": "^1.0.0",
"expect.js": "^0.3.1"
},
Expand Down

0 comments on commit d4ba5e7

Please sign in to comment.