fix: issue #6952 CVE in deps (#6959)

* bump vite to 4.5.1

* bump graphql and replace deprecated babel plugin

* bump testing-library/jest-dom

* bump axios

* Revert "bump testing-library/jest-dom"

This reverts commit 22a7df578111874bb30498e22991a9803a087a5f.

* bump chai

* This reverts commit b8a3d999b5410651644160c2385a6c9167abeff8.

* skip failing test on macos

* bump postcss

* fix lint
This commit is contained in:
Filipe Freire 2024-01-05 09:57:02 +00:00 committed by GitHub
parent 336a7ede6c
commit 54a989a13d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 562 additions and 557 deletions

1099
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -53,7 +53,7 @@
"@stoplight/spectral-ruleset-bundler": "^1.5.2",
"@stoplight/spectral-rulesets": "^1.16.0",
"@stoplight/types": "^13.15.0",
"axios": "^1.4.0",
"axios": "^1.6.3",
"commander": "^5.1.0",
"consola": "^2.15.0",
"cosmiconfig": "^6.0.0",

View File

@ -13,7 +13,7 @@
"@stoplight/spectral-formats": "^1.5.0",
"@stoplight/spectral-rulesets": "^1.16.0",
"aws4": "^1.12.0",
"axios": "^1.4.0",
"axios": "^1.6.3",
"clone": "^2.1.2",
"color": "^3.1.2",
"fuzzysort": "^1.2.1",

View File

@ -48,7 +48,7 @@
"@stoplight/spectral-rulesets": "^1.16.0",
"apiconnect-wsdl": "1.8.31",
"aws4": "^1.12.0",
"axios": "^1.4.0",
"axios": "^1.6.3",
"chai": "^4.3.4",
"chai-json-schema": "1.5.1",
"change-case": "^4.1.2",
@ -89,7 +89,7 @@
"yaml-source-map": "^2.1.1"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@develohpanda/fluent-builder": "^2.1.2",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
@ -151,7 +151,7 @@
"esbuild-plugin-alias": "0.2.1",
"esbuild-runner": "^2.2.2",
"fuzzysort": "^1.2.1",
"graphql": "^16.7.1",
"graphql": "^16.8.1",
"highlight.js": "^11.5.1",
"httplease-asap": "^0.6.0",
"jest": "^28.1.0",
@ -163,7 +163,7 @@
"ncp": "^2.0.0",
"objectpath": "^2.0.0",
"openapi-types": "^7.0.1",
"postcss": "^8.4.6",
"postcss": "^8.4.32",
"react": "^18.2.0",
"react-aria": "3.23.1",
"react-aria-components": "^1.0.0-rc.0",
@ -179,7 +179,7 @@
"type-fest": "^2.12.0",
"typescript": "^5.1.6",
"typescript-json-schema": "^0.50.1",
"vite": "^4.4.7",
"vite": "^4.5.1",
"vkbeautify": "^0.99.1",
"ws": "^8.13.0",
"xmldom": "^0.6.0",

View File

@ -645,6 +645,10 @@ describe('sendCurlAndWriteTimeline()', () => {
});
it('disables ssl verification when configured to do so', async () => {
if (process.platform === 'darwin') {
// skipped this test, due to SSL_VERIFYHOST being disabled for MacOS on libcurl-promise.ts
return;
}
const workspace = await models.workspace.create();
const settings = await models.settings.getOrCreate();
const cookies = [

View File

@ -54,7 +54,7 @@ export default defineConfig(({ mode }) => {
babel: {
plugins: [
// We need to have these plugins installed in our dependencies
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-transform-class-properties', { loose: true }],
],
},
}),