From 44cf2bbfb45beaa508e7161e50739409356593ff Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Mon, 11 Nov 2024 13:14:18 +0100 Subject: [PATCH] fix: update Scarf.js to v1.4.0 to avoid breaking Vitest Refs https://github.com/swagger-api/swagger-ui/issues/10197 --- package-lock.json | 20 ++++---------------- package.json | 2 +- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 492304a8b3f..0c0dfd79379 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@emotion/styled": "^11.11.5", "@mui/material": "^5.15.21", "@primer/octicons-react": "^19.12.0", - "@scarf/scarf": "=1.3.0", + "@scarf/scarf": "=1.4.0", "@swagger-api/apidom-core": ">=1.0.0-alpha.3 <1.0.0-beta.0", "@swagger-api/apidom-json-pointer": ">=1.0.0-alpha.3 <1.0.0-beta.0", "@swagger-api/apidom-ls": ">=1.0.0-alpha.3 <1.0.0-beta.0", @@ -5836,9 +5836,9 @@ "dev": true }, "node_modules/@scarf/scarf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.3.0.tgz", - "integrity": "sha512-lHKK8M5CTcpFj2hZDB3wIjb0KAbEOgDmiJGDv1WBRfQgRm/a8/XMEkG/N1iM01xgbUDsPQwi42D+dFo1XPAKew==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", + "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", "hasInstallScript": true }, "node_modules/@sideway/address": { @@ -26543,12 +26543,6 @@ "ramda-adjunct": "^5.0.0" } }, - "node_modules/swagger-client/node_modules/@scarf/scarf": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", - "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", - "hasInstallScript": true - }, "node_modules/swagger-client/node_modules/cookie": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", @@ -26602,12 +26596,6 @@ "react-dom": ">=16.8.0 <19" } }, - "node_modules/swagger-ui-react/node_modules/@scarf/scarf": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.4.0.tgz", - "integrity": "sha512-xxeapPiUXdZAE3che6f3xogoJPeZgig6omHEy1rIY5WVsB3H2BHNnZH+gHG6x91SCWyQCzWGsuL2Hh3ClO5/qQ==", - "hasInstallScript": true - }, "node_modules/swagger-ui-react/node_modules/dompurify": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", diff --git a/package.json b/package.json index e80a69fd286..7b9cb9292d4 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@emotion/styled": "^11.11.5", "@mui/material": "^5.15.21", "@primer/octicons-react": "^19.12.0", - "@scarf/scarf": "=1.3.0", + "@scarf/scarf": "=1.4.0", "@swagger-api/apidom-core": ">=1.0.0-alpha.3 <1.0.0-beta.0", "@swagger-api/apidom-json-pointer": ">=1.0.0-alpha.3 <1.0.0-beta.0", "@swagger-api/apidom-ls": ">=1.0.0-alpha.3 <1.0.0-beta.0",