Skip to content

Commit

Permalink
Upgrade vulnerable devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
swansontec committed May 25, 2021
1 parent 5a811c7 commit d1cd778
Show file tree
Hide file tree
Showing 4 changed files with 2,292 additions and 1,904 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"simple-import-sort"
],
"rules": {
"no-var": "error",
"simple-import-sort/sort": "error"
"simple-import-sort/imports": "error"
}
}
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,35 @@
}
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-babel": "^5.0.4",
"@rollup/plugin-node-resolve": "^8.1.0",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^3.6.0",
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.1",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^7.4.0",
"eslint-config-standard-kit": "^0.14.4",
"chai": "^4.3.4",
"eslint": "^7.14.0",
"eslint-config-standard-kit": "0.15.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"mocha": "^8.0.1",
"eslint-plugin-simple-import-sort": "^6.0.1",
"husky": "^4.3.0",
"lint-staged": "^10.5.3",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.21.0",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-flow-entry": "^0.3.4",
"rollup": "^2.47.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-flow-entry": "^0.3.5",
"rollup-plugin-uglify": "^6.0.4",
"sucrase": "^3.15.0",
"typescript": "^3.9.6"
"sucrase": "^3.18.1",
"typescript": "^4.1.2"
}
}
2 changes: 1 addition & 1 deletion src/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function parse(
}

// Allocate the output:
const out = new (opts.out || Uint8Array)(
const out = new (opts.out ?? Uint8Array)(
((end * encoding.bits) / 8) | 0
) as Uint8Array

Expand Down
Loading

0 comments on commit d1cd778

Please sign in to comment.