Comparing version 0.5.2 to 0.5.3
@@ -34,3 +34,3 @@ 'use strict'; | ||
filename = this.replaceBackslashInPath(filename); | ||
if (filename.charAt(0) !== '/' && !filename.match(/^[a-z]:\//i)) { | ||
if (filename.charAt(0) !== '/' && !filename.match(/^[a-z]+\//i)) { | ||
// a core module (not mapped to a file) | ||
@@ -37,0 +37,0 @@ return filename; |
{ | ||
"name": "madge", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/pahen/node-madge", |
@@ -42,2 +42,6 @@ # MaDGe - Module Dependency Graph | ||
OR | ||
$ brew install graphviz | ||
### Ubuntu | ||
@@ -238,88 +242,91 @@ | ||
## v0.5.3 (November 25, 2015) | ||
* Correct regex on CommonJS parser to detect a core module (Thanks to Guillaume Gomez). | ||
## v0.5.2 (October 16, 2015) | ||
Updated dependency resolve to latest version. | ||
* Updated dependency resolve to latest version. | ||
## v0.5.1 (October 15, 2015) | ||
Updated dependencies to newer versions (Thanks to Martin Kapp). | ||
* Updated dependencies to newer versions (Thanks to Martin Kapp). | ||
## v0.5.0 (April 2, 2015) | ||
Added support for ES6 modules (Thanks to Marc Laval). | ||
Added support for setting custom file extension name (Thanks to Marc Laval). | ||
* Added support for ES6 modules (Thanks to Marc Laval). | ||
* Added support for setting custom file extension name (Thanks to Marc Laval). | ||
## v0.4.1 (December 19, 2014) | ||
Fixed issues with absolute paths for modules IDs in Windows (all tests should now pass on Windows too). | ||
* Fixed issues with absolute paths for modules IDs in Windows (all tests should now pass on Windows too). | ||
## v0.4.0 (December 19, 2014) | ||
Add support for JSX (React) and additional module paths (Thanks to Ben Lowery). | ||
Fix for detecting presence of AMD or CommonJS modules (Thanks to Aaron Russ). | ||
Now resolves the module IDs from the RequireJS paths-config properly (Thanks to russaa). | ||
Added support for option findNestedDependencies to find nested dependencies in AMD modules. | ||
* Add support for JSX (React) and additional module paths (Thanks to Ben Lowery). | ||
* Fix for detecting presence of AMD or CommonJS modules (Thanks to Aaron Russ). | ||
* Now resolves the module IDs from the RequireJS paths-config properly (Thanks to russaa). | ||
* Added support for option findNestedDependencies to find nested dependencies in AMD modules. | ||
## v0.3.5 (Septemper 22, 2014) | ||
Fix issue with number of graph node lines increased with each render (Thanks to Colin H. Fredericks). | ||
* Fix issue with number of graph node lines increased with each render (Thanks to Colin H. Fredericks). | ||
## v0.3.4 (Septemper 04, 2014) | ||
Correctly detect circular dependencies when using path aliases in RequireJS config (Thanks to Nicolas Ramz). | ||
* Correctly detect circular dependencies when using path aliases in RequireJS config (Thanks to Nicolas Ramz). | ||
## v0.3.3 (July 11, 2014) | ||
Fixed bug with relative paths in AMD not handled properly when checking for cyclic dependencies. | ||
* Fixed bug with relative paths in AMD not handled properly when checking for cyclic dependencies. | ||
## v0.3.2 (June 25, 2014) | ||
Handle anonymous require() as entry in the RequireJS optimized file (Thanks to Benjamin Horsleben). | ||
* Handle anonymous require() as entry in the RequireJS optimized file (Thanks to Benjamin Horsleben). | ||
## v0.3.1 (June 03, 2014) | ||
Apply exclude to RequireJS shim dependencies (Thanks to Michael White). | ||
* Apply exclude to RequireJS shim dependencies (Thanks to Michael White). | ||
## v0.3.0 (May 25, 2014) | ||
Added support for onParseFile and onAddModule options (Thanks to Brandon Selway). | ||
Added JSON output option (Thanks to Drew Foehn). | ||
Fix for optimized files including dependency information for excluded modules (Thanks to Drew Foehn). Fixes [issue](https://github.com/pahen/madge/issues/26). | ||
* Added support for onParseFile and onAddModule options (Thanks to Brandon Selway). | ||
* Added JSON output option (Thanks to Drew Foehn). | ||
* Fix for optimized files including dependency information for excluded modules (Thanks to Drew Foehn). Fixes [issue](https://github.com/pahen/madge/issues/26). | ||
## v0.2.0 (April 17, 2014) | ||
Added support for including shim dependencies found in RequiredJS config (specify with option -R). | ||
* Added support for including shim dependencies found in RequiredJS config (specify with option -R). | ||
## v0.1.9 (February 17, 2014) | ||
Ensure forward slashes are used in modules paths (Windows). | ||
* Ensure forward slashes are used in modules paths (Windows). | ||
## v0.1.8 (January 27, 2014) | ||
Added support for reading AMD dependencies from a r.js optimized file by using option -O. | ||
* Added support for reading AMD dependencies from a r.js optimized file by using option -O. | ||
## v0.1.7 (September 20, 2013) | ||
Added missing fontsize option when generating images. | ||
* Added missing fontsize option when generating images. | ||
## v0.1.6 (September 04, 2013) | ||
AMD plugins are now ignored as dependencies. Fixes [issue](https://github.com/pahen/grunt-madge/issues/1). | ||
* AMD plugins are now ignored as dependencies. Fixes [issue](https://github.com/pahen/grunt-madge/issues/1). | ||
## v0.1.5 (September 04, 2013) | ||
Fixed Windows [issue](https://github.com/pahen/node-madge/issues/17) when reading from standard input with --read. | ||
* Fixed Windows [issue](https://github.com/pahen/node-madge/issues/17) when reading from standard input with --read. | ||
## v0.1.4 (January 10, 2013) | ||
Switched library for walking directory tree which should solve issues on [Windows](https://github.com/pahen/node-madge/issues/8). | ||
* Switched library for walking directory tree which should solve issues on [Windows](https://github.com/pahen/node-madge/issues/8). | ||
## v0.1.3 (December 28, 2012) | ||
Added proper exit code when running "madge --circular" so it can be used in build scripts. | ||
* Added proper exit code when running "madge --circular" so it can be used in build scripts. | ||
## v0.1.2 (November 15, 2012) | ||
Relative AMD module identifiers (if the first term is "." or "..") are now resolved. | ||
* Relative AMD module identifiers (if the first term is "." or "..") are now resolved. | ||
## v0.1.1 (September 3, 2012) | ||
Tweaked circular dependency path output. | ||
* Tweaked circular dependency path output. | ||
## v0.1.0 (September 3, 2012) | ||
Complete path in circular dependencies is now printed (and marked as red in image graphs). | ||
* Complete path in circular dependencies is now printed (and marked as red in image graphs). | ||
## v0.0.5 (August 8, 2012) | ||
Added support for CoffeeScript. Files with extension .coffee will automatically be compiled on-the-fly. | ||
* Added support for CoffeeScript. Files with extension .coffee will automatically be compiled on-the-fly. | ||
## v0.0.4 (August 17, 2012) | ||
Fixed dependency issues with Node.js v0.8. | ||
* Fixed dependency issues with Node.js v0.8. | ||
## v0.0.3 (July 01, 2012) | ||
Added support for Node.js v0.8 and dropped support for lower versions. | ||
* Added support for Node.js v0.8 and dropped support for lower versions. | ||
## v0.0.2 (May 21, 2012) | ||
Added ability to read config file and customize colors. | ||
* Added ability to read config file and customize colors. | ||
## v0.0.1 (May 20, 2012) | ||
Initial release. | ||
* Initial release. | ||
@@ -326,0 +333,0 @@ # License |
Sorry, the diff of this file is not supported yet
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
139549
355