Skip to content

Commit 041cec6

Browse files
authored
fix: Change lodash to node-noop for no vuln (#161)
* fix: Change lodash to node-noop for no vuln * fix: Add 1523 path allowlists for lodash
1 parent fccf586 commit 041cec6

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

audit-ci.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"low": true,
3-
"allowlist": []
3+
"allowlist": [
4+
"1523|eslint>inquirer>lodash",
5+
"1523|eslint>lodash",
6+
"1523|eslint>table>lodash",
7+
"1523|mocha>yargs-unparser>lodash"
8+
]
49
}

test/npm-none/package-lock.json

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

test/npm-none/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "audit-ci-npm-no-vulnerability",
33
"description": "Test package.json with low vulnerability",
44
"dependencies": {
5-
"lodash": "4.17.11"
5+
"node-noop": "1.0.0"
66
}
77
}

test/yarn-none/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "audit-ci-yarn-no-vulnerability",
33
"description": "Test package.json with no vulnerability",
44
"dependencies": {
5-
"lodash": "4.17.11"
5+
"node-noop": "1.0.0"
66
}
77
}

test/yarn-none/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
6-
version "4.17.11"
7-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
8-
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
5+
6+
version "1.0.0"
7+
resolved "https://registry.yarnpkg.com/node-noop/-/node-noop-1.0.0.tgz#47a3e7d80cffaa6458364bd22ed85cab3307be79"
8+
integrity sha1-R6Pn2Az/qmRYNkvSLthcqzMHvnk=

0 commit comments

Comments
 (0)