match-requires
Advanced tools
+1
-2
@@ -14,4 +14,3 @@ /*! | ||
| if (stripComments === true) { | ||
| var strip = require('strip-comments'); | ||
| str = strip(str); | ||
| str = require('strip-comments')(str); | ||
| } | ||
@@ -18,0 +17,0 @@ |
+2
-2
| { | ||
| "name": "match-requires", | ||
| "description": "Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "homepage": "https://github.com/jonschlinkert/match-requires", | ||
@@ -23,3 +23,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
| "dependencies": { | ||
| "requires-regex": "^0.3.1", | ||
| "requires-regex": "^0.3.3", | ||
| "strip-comments": "^0.4.3" | ||
@@ -26,0 +26,0 @@ }, |
+1
-1
@@ -124,2 +124,2 @@ # match-requires [](https://www.npmjs.com/package/match-requires) [](https://travis-ci.org/jonschlinkert/match-requires) | ||
| _This file was generated by [verb](https://github.com/verbose/verb) on January 07, 2016._ | ||
| _This file was generated by [verb](https://github.com/verbose/verb) on January 08, 2016._ |
7273
-0.32%36
-2.7%Updated