Skip to content

Commit

Permalink
Fix CVE-2021-23566 in nanoid before 3.1.31, closes #219 (#220)
Browse files Browse the repository at this point in the history
* CVE-2021-23566 in nanoid before 3.1.31

* Use the new import form
  • Loading branch information
pgorny authored Jan 24, 2022
1 parent 2754e64 commit 7c19967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"mustache": "^2.1.2",
"nanoid": "^2.1.3",
"nanoid": "^3.1.31",
"os-family": "^1.0.0",
"pify": "^2.3.0",
"pinkie": "^2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import del from 'del';
import execa from 'execa';
import { ensureDir, pathExists, copy } from 'fs-extra';
import OS from 'os-family';
import nanoid from 'nanoid';
import { nanoid } from 'nanoid';
import promisify from './promisify';
import BINARIES from '../binaries';
import flattenWhitespace from './flatten-whitespace';
Expand Down

0 comments on commit 7c19967

Please sign in to comment.