Skip to content

Commit

Permalink
Fixed issue with macro.random() and updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Huggins committed Nov 19, 2019
1 parent eb222fb commit 6175d39
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 43 deletions.
70 changes: 29 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-x12",
"version": "1.3.5",
"version": "1.3.6",
"description": "ASC X12 parser, generator, query engine, and mapper; now with support for streams.",
"main": "index.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/X12TransactionMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class X12TransactionMap {
},
random: function random () {
return {
val: Math.floor(Math.random() * 10000)
val: Math.floor(1000 + Math.random() * 10000)
}
},
truncate: function truncate (value: string|string[], maxChars: number) {
Expand Down

0 comments on commit 6175d39

Please sign in to comment.