Skip to content

Commit

Permalink
Upgrade standard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
swansontec committed Mar 28, 2018
1 parent ca7ac2c commit c7f4011
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 403 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-filesize": "^1.3.2",
"rollup-plugin-uglify": "^3.0.0",
"standard": "^10.0.1"
"standard": "^11.0.1"
}
}
8 changes: 4 additions & 4 deletions src/base32.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export function parse (string, opts = {}) {
return codec.parse(
opts.loose
? string
.toUpperCase()
.replace(/0/g, 'O')
.replace(/1/g, 'L')
.replace(/8/g, 'B')
.toUpperCase()
.replace(/0/g, 'O')
.replace(/1/g, 'L')
.replace(/8/g, 'B')
: string,
encoding,
opts
Expand Down
Loading

0 comments on commit c7f4011

Please sign in to comment.