Skip to content

Commit dec87ee

Browse files
feat: security fixes + release (PROVCON-5413) (#2944)
* feat: upgrade cypress to fix form-data security issue (PROVCON-5413) * feat: release security fixes + scarf integration (PROVCON-5413)
1 parent a71b8ec commit dec87ee

5 files changed

Lines changed: 75 additions & 46 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"concurrently": "8.2.2",
3535
"css-loader": "6.7.1",
3636
"cssnano": "5.0.6",
37-
"cypress": "^13.6.6",
37+
"cypress": "^13.17.0",
3838
"eslint": "7.31.0",
3939
"eslint-plugin-import": "2.29.1",
4040
"eslint-plugin-jest": "24.4.0",

packages/elements-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stoplight/elements-core",
3-
"version": "9.0.23",
3+
"version": "9.0.24",
44
"sideEffects": [
55
"web-components.min.js",
66
"src/web-components/**",

packages/elements-dev-portal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stoplight/elements-dev-portal",
3-
"version": "3.0.23",
3+
"version": "3.0.24",
44
"description": "UI components for composing beautiful developer documentation.",
55
"keywords": [],
66
"sideEffects": [
@@ -65,7 +65,7 @@
6565
},
6666
"dependencies": {
6767
"@scarf/scarf": "^1.4.0",
68-
"@stoplight/elements-core": "~9.0.23",
68+
"@stoplight/elements-core": "~9.0.24",
6969
"@stoplight/markdown-viewer": "^5.7.1",
7070
"@stoplight/mosaic": "^1.53.5",
7171
"@stoplight/path": "^1.3.2",

packages/elements/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stoplight/elements",
3-
"version": "9.0.23",
3+
"version": "9.0.24",
44
"description": "UI components for composing beautiful developer documentation.",
55
"keywords": [],
66
"sideEffects": [
@@ -64,7 +64,7 @@
6464
},
6565
"dependencies": {
6666
"@scarf/scarf": "^1.4.0",
67-
"@stoplight/elements-core": "~9.0.23",
67+
"@stoplight/elements-core": "~9.0.24",
6868
"@stoplight/http-spec": "^7.1.0",
6969
"@stoplight/json": "^3.18.1",
7070
"@stoplight/mosaic": "^1.53.5",

yarn.lock

Lines changed: 69 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2886,27 +2886,27 @@
28862886
"@types/conventional-commits-parser" "^5.0.0"
28872887
chalk "^5.3.0"
28882888

2889-
"@cypress/request@^3.0.1":
2890-
version "3.0.1"
2891-
resolved "https://registry.npmjs.org/@cypress/request/-/request-3.0.1.tgz"
2892-
integrity sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ==
2889+
"@cypress/request@^3.0.6":
2890+
version "3.0.10"
2891+
resolved "https://registry.yarnpkg.com/@cypress/request/-/request-3.0.10.tgz#e09c695e8460a82acafe6cfaf089cf2ca06dc054"
2892+
integrity sha512-hauBrOdvu08vOsagkZ/Aju5XuiZx6ldsLfByg1htFeldhex+PeMrYauANzFsMJeAA0+dyPLbDoX2OYuvVoLDkQ==
28932893
dependencies:
28942894
aws-sign2 "~0.7.0"
28952895
aws4 "^1.8.0"
28962896
caseless "~0.12.0"
28972897
combined-stream "~1.0.6"
28982898
extend "~3.0.2"
28992899
forever-agent "~0.6.1"
2900-
form-data "~2.3.2"
2901-
http-signature "~1.3.6"
2900+
form-data "~4.0.4"
2901+
http-signature "~1.4.0"
29022902
is-typedarray "~1.0.0"
29032903
isstream "~0.1.2"
29042904
json-stringify-safe "~5.0.1"
29052905
mime-types "~2.1.19"
29062906
performance-now "^2.1.0"
2907-
qs "6.10.4"
2907+
qs "~6.14.1"
29082908
safe-buffer "^5.1.2"
2909-
tough-cookie "^4.1.3"
2909+
tough-cookie "^5.0.0"
29102910
tunnel-agent "^0.6.0"
29112911
uuid "^8.3.2"
29122912

@@ -9962,7 +9962,7 @@ columnify@1.6.0:
99629962
strip-ansi "^6.0.1"
99639963
wcwidth "^1.0.0"
99649964

9965-
combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6:
9965+
combined-stream@^1.0.8, combined-stream@~1.0.6:
99669966
version "1.0.8"
99679967
resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz"
99689968
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
@@ -10596,12 +10596,12 @@ csstype@^3.0.2, csstype@^3.0.6:
1059610596
resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz"
1059710597
integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==
1059810598

10599-
cypress@^13.6.6:
10600-
version "13.13.3"
10601-
resolved "https://registry.npmjs.org/cypress/-/cypress-13.13.3.tgz"
10602-
integrity sha512-hUxPrdbJXhUOTzuML+y9Av7CKoYznbD83pt8g3klgpioEha0emfx4WNIuVRx0C76r0xV2MIwAW9WYiXfVJYFQw==
10599+
cypress@^13.17.0:
10600+
version "13.17.0"
10601+
resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.17.0.tgz#34c3d68080c4497eace0f353bd1629587a5f600d"
10602+
integrity sha512-5xWkaPurwkIljojFidhw8lFScyxhtiFHl/i/3zov+1Z5CmY4t9tjIdvSXfu82Y3w7wt0uR9KkucbhkVvJZLQSA==
1060310603
dependencies:
10604-
"@cypress/request" "^3.0.1"
10604+
"@cypress/request" "^3.0.6"
1060510605
"@cypress/xvfb" "^1.2.4"
1060610606
"@types/sinonjs__fake-timers" "8.1.1"
1060710607
"@types/sizzle" "^2.3.2"
@@ -10612,6 +10612,7 @@ cypress@^13.6.6:
1061210612
cachedir "^2.3.0"
1061310613
chalk "^4.1.0"
1061410614
check-more-types "^2.24.0"
10615+
ci-info "^4.0.0"
1061510616
cli-cursor "^3.1.0"
1061610617
cli-table3 "~0.6.1"
1061710618
commander "^6.2.1"
@@ -10626,7 +10627,6 @@ cypress@^13.6.6:
1062610627
figures "^3.2.0"
1062710628
fs-extra "^9.1.0"
1062810629
getos "^3.2.1"
10629-
is-ci "^3.0.1"
1063010630
is-installed-globally "~0.4.0"
1063110631
lazy-ass "^1.6.0"
1063210632
listr2 "^3.8.3"
@@ -10641,6 +10641,7 @@ cypress@^13.6.6:
1064110641
semver "^7.5.3"
1064210642
supports-color "^8.1.1"
1064310643
tmp "~0.2.3"
10644+
tree-kill "1.2.2"
1064410645
untildify "^4.0.0"
1064510646
yauzl "^2.10.0"
1064610647

@@ -12669,14 +12670,16 @@ form-data@^4.0.5:
1266912670
hasown "^2.0.2"
1267012671
mime-types "^2.1.12"
1267112672

12672-
form-data@~2.3.2:
12673-
version "2.3.3"
12674-
resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz"
12675-
integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==
12673+
form-data@~4.0.4:
12674+
version "4.0.6"
12675+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.6.tgz#28e864e1b786dbebb68db1f452f9635278665827"
12676+
integrity sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==
1267612677
dependencies:
1267712678
asynckit "^0.4.0"
12678-
combined-stream "^1.0.6"
12679-
mime-types "^2.1.12"
12679+
combined-stream "^1.0.8"
12680+
es-set-tostringtag "^2.1.0"
12681+
hasown "^2.0.4"
12682+
mime-types "^2.1.35"
1268012683

1268112684
format@^0.2.0:
1268212685
version "0.2.2"
@@ -13455,6 +13458,13 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2:
1345513458
dependencies:
1345613459
function-bind "^1.1.2"
1345713460

13461+
hasown@^2.0.4:
13462+
version "2.0.4"
13463+
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.4.tgz#8c62d8cb90beb2aad5d0a5b67581ad9854c3f003"
13464+
integrity sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==
13465+
dependencies:
13466+
function-bind "^1.1.2"
13467+
1345813468
hast-to-hyperscript@^10.0.0, hast-to-hyperscript@^10.0.1:
1345913469
version "10.0.1"
1346013470
resolved "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-10.0.1.tgz"
@@ -13813,14 +13823,14 @@ http-reasons@0.1.0:
1381313823
resolved "https://registry.npmjs.org/http-reasons/-/http-reasons-0.1.0.tgz"
1381413824
integrity sha1-qVPKZwB4Zp3eFCzomUAbnW6F07Q=
1381513825

13816-
http-signature@~1.3.6:
13817-
version "1.3.6"
13818-
resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.3.6.tgz"
13819-
integrity sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==
13826+
http-signature@~1.4.0:
13827+
version "1.4.0"
13828+
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.4.0.tgz#dee5a9ba2bf49416abc544abd6d967f6a94c8c3f"
13829+
integrity sha512-G5akfn7eKbpDN+8nPS/cb57YeA1jLTVxjpCj7tmm3QKPdyDy7T+qSC40e9ptydSWvkwjSXw1VbkpyEm39ukeAg==
1382013830
dependencies:
1382113831
assert-plus "^1.0.0"
1382213832
jsprim "^2.0.2"
13823-
sshpk "^1.14.1"
13833+
sshpk "^1.18.0"
1382413834

1382513835
http2-wrapper@^2.1.10:
1382613836
version "2.2.1"
@@ -14317,7 +14327,7 @@ is-callable@^1.1.4, is-callable@^1.1.5, is-callable@^1.2.4:
1431714327
resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz"
1431814328
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
1431914329

14320-
is-ci@3.0.1, is-ci@^3.0.1:
14330+
is-ci@3.0.1:
1432114331
version "3.0.1"
1432214332
resolved "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz"
1432314333
integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==
@@ -19065,20 +19075,20 @@ qrcode-terminal@^0.12.0:
1906519075
resolved "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz"
1906619076
integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ==
1906719077

19068-
qs@6.10.4:
19069-
version "6.10.4"
19070-
resolved "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz"
19071-
integrity sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==
19072-
dependencies:
19073-
side-channel "^1.0.4"
19074-
1907519078
qs@^6.10.0, qs@~6.14.0:
1907619079
version "6.14.0"
1907719080
resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.0.tgz#c63fa40680d2c5c941412a0e899c89af60c0a930"
1907819081
integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==
1907919082
dependencies:
1908019083
side-channel "^1.1.0"
1908119084

19085+
qs@~6.14.1:
19086+
version "6.14.2"
19087+
resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.2.tgz#b5634cf9d9ad9898e31fba3504e866e8efb6798c"
19088+
integrity sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==
19089+
dependencies:
19090+
side-channel "^1.1.0"
19091+
1908219092
querystring@0.2.0:
1908319093
version "0.2.0"
1908419094
resolved "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz"
@@ -20792,10 +20802,10 @@ sprintf-js@~1.0.2:
2079220802
resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz"
2079320803
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
2079420804

20795-
sshpk@^1.14.1:
20796-
version "1.16.1"
20797-
resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz"
20798-
integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==
20805+
sshpk@^1.18.0:
20806+
version "1.18.0"
20807+
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.18.0.tgz#1663e55cddf4d688b86a46b77f0d5fe363aba028"
20808+
integrity sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==
2079920809
dependencies:
2080020810
asn1 "~0.2.3"
2080120811
assert-plus "^1.0.0"
@@ -21511,6 +21521,18 @@ tiny-relative-date@^1.3.0:
2151121521
resolved "https://registry.npmjs.org/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz"
2151221522
integrity sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A==
2151321523

21524+
tldts-core@^6.1.86:
21525+
version "6.1.86"
21526+
resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.86.tgz#a93e6ed9d505cb54c542ce43feb14c73913265d8"
21527+
integrity sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==
21528+
21529+
tldts@^6.1.32:
21530+
version "6.1.86"
21531+
resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.86.tgz#087e0555b31b9725ee48ca7e77edc56115cd82f7"
21532+
integrity sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==
21533+
dependencies:
21534+
tldts-core "^6.1.86"
21535+
2151421536
tmp@0.2.7, tmp@^0.0.33, tmp@~0.2.1, tmp@~0.2.3:
2151521537
version "0.2.7"
2151621538
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.7.tgz#26f4db11d1601ce8012dcb8a798ece1c06a99059"
@@ -21548,7 +21570,7 @@ toidentifier@1.0.1, toidentifier@~1.0.1:
2154821570
resolved "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"
2154921571
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==
2155021572

21551-
tough-cookie@^4.0.0, tough-cookie@^4.1.3:
21573+
tough-cookie@^4.0.0:
2155221574
version "4.1.3"
2155321575
resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz"
2155421576
integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==
@@ -21558,6 +21580,13 @@ tough-cookie@^4.0.0, tough-cookie@^4.1.3:
2155821580
universalify "^0.2.0"
2155921581
url-parse "^1.5.3"
2156021582

21583+
tough-cookie@^5.0.0:
21584+
version "5.1.2"
21585+
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.1.2.tgz#66d774b4a1d9e12dc75089725af3ac75ec31bed7"
21586+
integrity sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==
21587+
dependencies:
21588+
tldts "^6.1.32"
21589+
2156121590
tr46@^2.1.0:
2156221591
version "2.1.0"
2156321592
resolved "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz"
@@ -21575,7 +21604,7 @@ traverse@~0.6.6:
2157521604
resolved "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz"
2157621605
integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=
2157721606

21578-
tree-kill@^1.2.2:
21607+
tree-kill@1.2.2, tree-kill@^1.2.2:
2157921608
version "1.2.2"
2158021609
resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz"
2158121610
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==

0 commit comments

Comments
 (0)