Skip to content

Commit f8505c1

Browse files
authored
Update axios dependencies (#22388)
## Description Updates axios dependencies to the latest version (in package.json direct dependencies and in transitive dependencies in lockfiles) throughout the repo to address a few CVEs.
1 parent e23e509 commit f8505c1

File tree

57 files changed

+119
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+119
-119
lines changed

azure/packages/test/scenario-runner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@fluidframework/telemetry-utils": "workspace:~",
8282
"@fluidframework/test-runtime-utils": "workspace:~",
8383
"@fluidframework/test-utils": "workspace:~",
84-
"axios": "^1.6.2",
84+
"axios": "^1.7.7",
8585
"commander": "^5.1.0",
8686
"cross-env": "^7.0.3",
8787
"js-yaml": "^4.1.0",

docs/pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/apps/attributable-map/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = (env) => {
4444
template: "./src/index.html",
4545
}),
4646
new webpack.ProvidePlugin({
47-
process: "process/browser",
47+
process: "process/browser.js",
4848
}),
4949
],
5050
},

examples/apps/collaborative-textarea/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = (env) => {
4141
},
4242
plugins: [
4343
new webpack.ProvidePlugin({
44-
process: "process/browser",
44+
process: "process/browser.js",
4545
}),
4646
new HtmlWebpackPlugin({
4747
template: "./src/index.html",

examples/apps/collaborative-textarea/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = (env) => {
4949
},
5050
plugins: [
5151
new webpack.ProvidePlugin({
52-
process: "process/browser",
52+
process: "process/browser.js",
5353
}),
5454
new HtmlWebpackPlugin({
5555
template: "./tests/index.html",

examples/apps/contact-collection/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/apps/contact-collection/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/apps/data-object-grid/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = (env) => {
6565
// https://github.com/browserify/node-util/issues/57#issuecomment-764436352
6666
// Note that using DefinePlugin with `process.env.NODE_DEBUG': undefined` would also handle this case.
6767
new webpack.ProvidePlugin({
68-
process: "process/browser",
68+
process: "process/browser.js",
6969
}),
7070
new HtmlWebpackPlugin({
7171
template: "./public/index.html",

examples/apps/presence-tracker/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = (env) => {
4444
template: "./src/index.html",
4545
}),
4646
new webpack.ProvidePlugin({
47-
process: "process/browser",
47+
process: "process/browser.js",
4848
}),
4949
],
5050
},

examples/apps/presence-tracker/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/apps/task-selection/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/apps/task-selection/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/apps/tree-comparison/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/apps/tree-comparison/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/benchmarks/bubblebench/baseline/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (env) => {
4848
},
4949
plugins: [
5050
new webpack.ProvidePlugin({
51-
process: "process/browser",
51+
process: "process/browser.js",
5252
}),
5353
],
5454
},

examples/data-objects/canvas/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = (env) => {
7272
},
7373
plugins: [
7474
new webpack.ProvidePlugin({
75-
process: "process/browser",
75+
process: "process/browser.js",
7676
}),
7777
],
7878
// This impacts which files are watched by the dev server (and likely by webpack if watch is true).

examples/data-objects/diceroller/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = (env) => {
4141
},
4242
plugins: [
4343
new webpack.ProvidePlugin({
44-
process: "process/browser",
44+
process: "process/browser.js",
4545
}),
4646
],
4747
// This impacts which files are watched by the dev server (and likely by webpack if watch is true).

examples/data-objects/webflow/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = (env) => {
5959
},
6060
plugins: [
6161
new webpack.ProvidePlugin({
62-
process: "process/browser",
62+
process: "process/browser.js",
6363
}),
6464
],
6565
// This impacts which files are watched by the dev server (and likely by webpack if watch is true).

examples/external-data/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (env) => {
4848
},
4949
plugins: [
5050
new webpack.ProvidePlugin({
51-
process: "process/browser",
51+
process: "process/browser.js",
5252
}),
5353
new HtmlWebpackPlugin({
5454
template: "./src/index.html",

examples/external-data/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: path.join(__dirname, "tests", "index.html"),

examples/service-clients/azure-client/external-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@fluidframework/routerlicious-driver": "workspace:~",
4848
"@fluidframework/telemetry-utils": "workspace:~",
4949
"assert": "^2.0.0",
50-
"axios": "^1.6.2",
50+
"axios": "^1.7.7",
5151
"events_pkg": "npm:events@^3.1.0",
5252
"fluid-framework": "workspace:~",
5353
"uuid": "^9.0.0"

examples/service-clients/azure-client/external-controller/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (env) => {
4848
"process.env.FLUID_CLIENT": JSON.stringify(fluidClient),
4949
}),
5050
new webpack.ProvidePlugin({
51-
process: "process/browser",
51+
process: "process/browser.js",
5252
}),
5353
new HtmlWebpackPlugin({
5454
template: "./src/index.html",

examples/service-clients/azure-client/external-controller/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./tests/index.html",

examples/service-clients/odsp-client/shared-tree-demo/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = (env) => {
5454
},
5555
plugins: [
5656
new webpack.ProvidePlugin({
57-
process: "process/browser",
57+
process: "process/browser.js",
5858
}),
5959
// No need to write a index.html
6060
new HtmlWebpackPlugin({

examples/utils/webpack-fluid-loader/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"@fluidframework/telemetry-utils": "workspace:~",
102102
"@fluidframework/test-runtime-utils": "workspace:~",
103103
"@fluidframework/tool-utils": "workspace:~",
104-
"axios": "^1.6.2",
104+
"axios": "^1.7.7",
105105
"buffer": "^6.0.3",
106106
"express": "^4.19.2",
107107
"isomorphic-fetch": "^3.0.0",

examples/version-migration/live-schema-upgrade/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/version-migration/live-schema-upgrade/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/version-migration/same-container/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = (env) => {
4444
},
4545
plugins: [
4646
new webpack.ProvidePlugin({
47-
process: "process/browser",
47+
process: "process/browser.js",
4848
}),
4949
new HtmlWebpackPlugin({
5050
template: "./src/index.html",

examples/version-migration/same-container/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (env) => {
4848
},
4949
plugins: [
5050
new webpack.ProvidePlugin({
51-
process: "process/browser",
51+
process: "process/browser.js",
5252
}),
5353
new HtmlWebpackPlugin({
5454
template: "./tests/index.html",

examples/version-migration/separate-container/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = (env) => {
4444
},
4545
plugins: [
4646
new webpack.ProvidePlugin({
47-
process: "process/browser",
47+
process: "process/browser.js",
4848
}),
4949
new HtmlWebpackPlugin({
5050
template: "./src/index.html",

examples/version-migration/separate-container/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/version-migration/tree-shim/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/version-migration/tree-shim/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/view-integration/container-views/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/view-integration/external-views/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (env) => {
4242
},
4343
plugins: [
4444
new webpack.ProvidePlugin({
45-
process: "process/browser",
45+
process: "process/browser.js",
4646
}),
4747
new HtmlWebpackPlugin({
4848
template: "./src/index.html",

examples/view-integration/external-views/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

examples/view-integration/view-framework-sampler/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = (env) => {
3636
},
3737
plugins: [
3838
new webpack.ProvidePlugin({
39-
process: "process/browser",
39+
process: "process/browser.js",
4040
}),
4141
new HtmlWebpackPlugin({
4242
template: "./src/index.html",

examples/view-integration/view-framework-sampler/webpack.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
},
4747
plugins: [
4848
new webpack.ProvidePlugin({
49-
process: "process/browser",
49+
process: "process/browser.js",
5050
}),
5151
new HtmlWebpackPlugin({
5252
template: "./tests/index.html",

experimental/PropertyDDS/packages/property-dds/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@fluidframework/runtime-definitions": "workspace:~",
6767
"@fluidframework/runtime-utils": "workspace:~",
6868
"@fluidframework/shared-object-base": "workspace:~",
69-
"axios": "^1.6.2",
69+
"axios": "^1.7.7",
7070
"buffer": "^6.0.3",
7171
"lodash": "^4.17.21",
7272
"lz4js": "^0.2.0",

packages/drivers/routerlicious-driver/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"@types/node": "^18.19.0",
144144
"@types/sinon": "^17.0.3",
145145
"@types/uuid": "^9.0.2",
146-
"axios": "^1.6.2",
146+
"axios": "^1.7.7",
147147
"c8": "^8.0.1",
148148
"concurrently": "^8.2.1",
149149
"copyfiles": "^2.4.1",

packages/loader/driver-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"@fluidframework/core-utils": "workspace:~",
121121
"@fluidframework/driver-definitions": "workspace:~",
122122
"@fluidframework/telemetry-utils": "workspace:~",
123-
"axios": "^1.6.2",
123+
"axios": "^1.7.7",
124124
"lz4js": "^0.2.0",
125125
"uuid": "^9.0.0"
126126
},

packages/service-clients/end-to-end-tests/azure-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"@fluidframework/test-runtime-utils": "workspace:~",
8181
"@fluidframework/test-utils": "workspace:~",
8282
"@fluidframework/tree": "workspace:~",
83-
"axios": "^1.6.2",
83+
"axios": "^1.7.7",
8484
"cross-env": "^7.0.3",
8585
"mocha": "^10.2.0",
8686
"mocha-json-output-reporter": "^2.0.1",

packages/test/test-drivers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@fluidframework/tinylicious-driver": "workspace:~",
7171
"@fluidframework/tool-utils": "workspace:~",
7272
"agentkeepalive": "^4.5.0",
73-
"axios": "^1.6.2",
73+
"axios": "^1.7.7",
7474
"semver": "^7.5.3",
7575
"uuid": "^9.0.0"
7676
},

0 commit comments

Comments
 (0)