Skip to content

Commit 12171bd

Browse files
sb-benohesnyk-bot
andauthored
BB2-3270 Fix Vulns in SDK (#55)
* fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6032459 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-AXIOS-6124857 * npm audit fix * fix axios with jest * removed our own sdk from deps --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
1 parent e59d11e commit 12171bd

2 files changed

Lines changed: 54 additions & 74 deletions

File tree

package-lock.json

Lines changed: 48 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cms-bluebutton-sdk",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "An sdk used for interacting with the CMS Blue Button 2.0 API",
55
"main": "dist/cms-bluebutton-sdk.cjs.js",
66
"module": "dist/cms-bluebutton-sdk.esm.js",
@@ -29,6 +29,9 @@
2929
],
3030
"transform": {
3131
"^.+\\.(ts|tsx)?$": "ts-jest"
32+
},
33+
"moduleNameMapper": {
34+
"^axios$": "axios/dist/node/axios.cjs"
3235
}
3336
},
3437
"keywords": [
@@ -63,10 +66,9 @@
6366
},
6467
"dependencies": {
6568
"@microsoft/api-extractor": "^7.19.5",
66-
"axios": "^0.26.1",
69+
"axios": "^1.6.3",
6770
"babel-jest": "^27.5.1",
68-
"cms-bluebutton-sdk": "^1.0.1",
6971
"moment": "^2.29.4",
70-
"typedoc": "^0.22.11"
72+
"typedoc": "^0.23.0"
7173
}
7274
}

0 commit comments

Comments
 (0)