Comparing version 1.5.0 to 1.5.1
@@ -0,1 +1,7 @@ | ||
### Version 1.5.1 (2017-03-26) | ||
- Fixed: Random comments can now be inserted at the end of sequences of | ||
whitespace. | ||
### Version 1.5.0 (2017-03-25) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "eslump", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Simon Lydell", |
@@ -95,3 +95,3 @@ const randomInt = require("random-int"); | ||
for (let i = 0; i < times; i++) { | ||
const index = randomInt(0, items.length - 1); | ||
const index = randomInt(0, items.length); | ||
const comment = randomItem(choices)(); | ||
@@ -98,0 +98,0 @@ items.splice(index, 0, comment); |
@@ -197,3 +197,3 @@ # eslump | ||
[flow]: https://github.com/facebook/flow | ||
[prettier]: https://github.com/jlongster/prettier/ | ||
[prettier]: https://github.com/prettier/prettier/ | ||
[shift-codegen]: https://github.com/shapesecurity/shift-codegen-js | ||
@@ -200,0 +200,0 @@ [shift-fuzzer]: https://github.com/shapesecurity/shift-fuzzer-js |
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
29942