fix: apps/api/v2/package.json & apps/api/v2/.snyk to reduce vulnerabilities (#19755)

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:semver:20150403

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
This commit is contained in:
Bailey Pumfleet
2025-03-05 18:07:55 +00:00
committed by GitHub
co-authored by snyk-bot
parent 07969f5287
commit 6849638b1f
2 changed files with 19 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:semver:20150403':
- '@calcom/platform-libraries-0.0.2 > @calcom/features > @calcom/atoms > rollup-plugin-node-builtins > browserify-fs > levelup > semver':
patched: '2025-03-05T12:50:30.654Z'
id: 'npm:semver:20150403'
path: >-
@calcom/platform-libraries-0.0.2 > @calcom/features > @calcom/atoms >
rollup-plugin-node-builtins > browserify-fs > levelup > semver
+7 -3
View File
@@ -24,7 +24,9 @@
"test:e2e:watch": "yarn dev:build && jest --runInBand --detectOpenHandles --forceExit --config ./jest-e2e.json --watch",
"prisma": "yarn workspace @calcom/prisma prisma",
"generate-schemas": "yarn prisma generate && yarn prisma format",
"copy-swagger-module": "ts-node -r tsconfig-paths/register swagger/copy-swagger-module.ts"
"copy-swagger-module": "ts-node -r tsconfig-paths/register swagger/copy-swagger-module.ts",
"prepare": "yarn run snyk-protect",
"snyk-protect": "snyk-protect"
},
"dependencies": {
"@axiomhq/winston": "^1.2.0",
@@ -75,7 +77,8 @@
"uuid": "^8.3.2",
"winston": "^3.13.0",
"winston-transport": "^4.7.0",
"zod": "^3.22.4"
"zod": "^3.22.4",
"@snyk/protect": "latest"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
@@ -102,5 +105,6 @@
},
"prisma": {
"schema": "../../../packages/prisma/schema.prisma"
}
},
"snyk": true
}