Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 577d498

Browse files
authored
Merge pull request #1359 from aminya/cryptoLengthError
2 parents a86919b + 2b488eb commit 577d498

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"atom-package-deps": "5.1.0",
173173
"babel-preset-env": "1.7.0",
174174
"consistent-path": "2.0.3",
175-
"crypto-random-string": "2.0.0",
175+
"crypto-random-string": "3.3.1",
176176
"eslint": "4.19.1",
177177
"eslint-rule-documentation": "1.0.23",
178178
"fs-plus": "3.1.1",

pnpm-lock.yaml

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function sendJob(config) {
6060
// NOTE: Jobs _must_ have a unique ID as they are completely async and results
6161
// can arrive back in any order.
6262
// eslint-disable-next-line no-param-reassign
63-
config.emitKey = cryptoRandomString(10)
63+
config.emitKey = cryptoRandomString({ length: 10 })
6464

6565
return new Promise((resolve, reject) => {
6666
// All worker errors are caught and re-emitted along with their associated

0 commit comments

Comments
 (0)