Skip to content

Commit 221d2c5

Browse files
committed
deps: pin @tootallnate/once >=3.0.1 for security fix
Refs KEH-281
1 parent eab2422 commit 221d2c5

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"That's why @testing-library/dom has been added to resolutions.",
2020
"NOTE: This can be removed after dependencies don't bring conflicting/old versions"
2121
],
22+
"@tootallnate/once": [
23+
"@tootallnate/once vulnerable to Incorrect Control Flow Scoping in versions <3.0.1",
24+
"Pinning to >=3.0.1 via react-helsinki-headless-cms > jest-environment-jsdom > jsdom > http-proxy-agent > @tootallnate/once",
25+
"See https://www.npmjs.com/advisories/1113977",
26+
"NOTE: This can be removed when react-helsinki-headless-cms no longer resolves vulnerable @tootallnate/once versions"
27+
],
2228
"@types/cookie": [
2329
"To use the last known @types/cookie version, only for <v1 cookie",
2430
"",
@@ -95,6 +101,7 @@
95101
},
96102
"resolutions": {
97103
"@testing-library/dom": "^10.4.0",
104+
"@tootallnate/once": ">=3.0.1",
98105
"@types/cookie": "^0.6.0",
99106
"draft-js/immutable": "3.8.3",
100107
"**/@ardatan/relay-compiler/immutable": "3.8.3",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,10 +2191,10 @@
21912191
traverse "^0.6.7"
21922192
unified "^9.2.2"
21932193

2194-
"@tootallnate/once@2":
2195-
version "2.0.0"
2196-
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
2197-
integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==
2194+
"@tootallnate/once@2", "@tootallnate/once@>=3.0.1":
2195+
version "3.0.1"
2196+
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-3.0.1.tgz#d580decb59cb41a15856387a86800838102daf44"
2197+
integrity sha512-VyMVKRrpHTT8PnotUeV8L/mDaMwD5DaAKCFLP73zAqAtvF0FCqky+Ki7BYbFCYQmqFyTe9316Ed5zS70QUR9eg==
21982198

21992199
"@tybys/wasm-util@^0.10.0", "@tybys/wasm-util@^0.10.1":
22002200
version "0.10.1"

0 commit comments

Comments
 (0)