cimi/semver-sync — pull request #4 by lddubeau (2013-05-10 19:40:18+00:00)
Title: A proposed fix for supporting AMD-style modules.

Thank you for the useful tool. I've tried using it for code I've designed to load in Node.js **and** in through RequireJS. Unfortunately, semver-sync 1.1.1 crashes when trying to extract version information from my file. The amd.js fixture this patch adds shows a bare-bones version of what I'm talking about. If you run the test suite without the patch to patterns.js, the test will fail.

Truth be told I would not be surprised if the patch needs adjustment because I'm not familiar at all with the data structure provided by Uglify. At the very least, my patch should show what the problem is.

Thanks!