From 0b6459921a67166103898493461c48905e5cc3f0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:15:19 +0000 Subject: [PATCH] fix(deps): update dependency axios to v1 [security] --- package.json | 2 +- yarn.lock | 221 ++++++++++----------------------------------------- 2 files changed, 42 insertions(+), 181 deletions(-) diff --git a/package.json b/package.json index ce10619..490feb1 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", "@socialgouv/eslint-config-react": "^1.91.0", - "axios": "^0.21.4", + "axios": "^1.0.0", "date-fns": "^2.24.0", "deepmerge": "^4.2.2", "gatsby": "^3.9.0", diff --git a/yarn.lock b/yarn.lock index 9fbf937..9faf353 100644 --- a/yarn.lock +++ b/yarn.lock @@ -396,13 +396,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-string-parser@npm:^7.19.4": - version: 7.19.4 - resolution: "@babel/helper-string-parser@npm:7.19.4" - checksum: b2f8a3920b30dfac81ec282ac4ad9598ea170648f8254b10f475abe6d944808fb006aab325d3eb5a8ad3bea8dfa888cfa6ef471050dae5748497c110ec060943 - languageName: node - linkType: hard - "@babel/helper-string-parser@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-string-parser@npm:7.22.5" @@ -410,14 +403,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.18.6, @babel/helper-validator-identifier@npm:^7.19.1": - version: 7.19.1 - resolution: "@babel/helper-validator-identifier@npm:7.19.1" - checksum: 0eca5e86a729162af569b46c6c41a63e18b43dbe09fda1d2a3c8924f7d617116af39cac5e4cd5d431bb760b4dca3c0970e0c444789b1db42bcf1fa41fbad0a3a - languageName: node - linkType: hard - -"@babel/helper-validator-identifier@npm:^7.22.15": +"@babel/helper-validator-identifier@npm:^7.18.6, @babel/helper-validator-identifier@npm:^7.19.1, @babel/helper-validator-identifier@npm:^7.22.15": version: 7.22.15 resolution: "@babel/helper-validator-identifier@npm:7.22.15" checksum: eb0bee4bda664c0959924bc1ad5611eacfce806f46612202dd164fef1df8fef1a11682a1e7615288987100e9fb304982b6e2a4ff07ffe842ab8765b95ed1118c @@ -1562,18 +1548,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0-beta.49, @babel/types@npm:^7.10.5, @babel/types@npm:^7.12.7, @babel/types@npm:^7.15.4, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.19.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0": - version: 7.20.2 - resolution: "@babel/types@npm:7.20.2" - dependencies: - "@babel/helper-string-parser": ^7.19.4 - "@babel/helper-validator-identifier": ^7.19.1 - to-fast-properties: ^2.0.0 - checksum: 57e76e5f21876135f481bfd4010c87f2d38196bb0a2bc60a28d6e55e3afa90cdd9accf164e4cb71bdfb620517fa0a0cb5600cdce36c21d59fdaccfbb899c024c - languageName: node - linkType: hard - -"@babel/types@npm:^7.8.3": +"@babel/types@npm:^7.0.0-beta.49, @babel/types@npm:^7.10.5, @babel/types@npm:^7.12.7, @babel/types@npm:^7.15.4, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.19.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.8.3": version: 7.22.15 resolution: "@babel/types@npm:7.22.15" dependencies: @@ -4008,16 +3983,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.2.1, acorn@npm:^8.4.1": - version: 8.5.0 - resolution: "acorn@npm:8.5.0" - bin: - acorn: bin/acorn - checksum: 2e4c1dbed3da327684863debf31d341bf8882c6893c506653872c00977eee45675feb9129255d6c74c88424d2b20d889ca6de5b39776e5e3cccfc756b3ca1da8 - languageName: node - linkType: hard - -"acorn@npm:^8.5.0": +"acorn@npm:^8.0.0, acorn@npm:^8.2.1, acorn@npm:^8.4.1, acorn@npm:^8.5.0": version: 8.10.0 resolution: "acorn@npm:8.10.0" bin: @@ -4156,13 +4122,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^3.0.0": - version: 3.0.0 - resolution: "ansi-regex@npm:3.0.0" - checksum: 2ad11c416f81c39f5c65eafc88cf1d71aa91d76a2f766e75e457c2a3c43e8a003aadbf2966b61c497aa6a6940a36412486c975b3270cdfc3f413b69826189ec3 - languageName: node - linkType: hard - "ansi-regex@npm:^4.1.0": version: 4.1.0 resolution: "ansi-regex@npm:4.1.0" @@ -4170,14 +4129,7 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^5.0.0": - version: 5.0.0 - resolution: "ansi-regex@npm:5.0.0" - checksum: b1bb4e992a5d96327bb4f72eaba9f8047f1d808d273ad19d399e266bfcc7fb19a4d1a127a32f7bc61fe46f1a94a4d04ec4c424e3fbe184929aa866323d8ed4ce - languageName: node - linkType: hard - -"ansi-regex@npm:^5.0.1": +"ansi-regex@npm:^5.0.0, ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" checksum: 2aa4bb54caf2d622f1afdad09441695af2a83aa3fe8b8afa581d205e57ed4261c183c4d3877cee25794443fde5876417d859c108078ab788d6af7e4fe52eb66b @@ -4290,7 +4242,7 @@ __metadata: "@types/react-simple-maps": ^3.0.0 "@typescript-eslint/eslint-plugin": ^5.0.0 "@typescript-eslint/parser": ^5.0.0 - axios: ^0.21.4 + axios: ^1.0.0 date-fns: ^2.24.0 deepmerge: ^4.2.2 eslint: ^7.32.0 @@ -4565,7 +4517,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.21.0, axios@npm:^0.21.1, axios@npm:^0.21.4": +"axios@npm:^0.21.0, axios@npm:^0.21.1": version: 0.21.4 resolution: "axios@npm:0.21.4" dependencies: @@ -4574,6 +4526,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.0.0": + version: 1.6.1 + resolution: "axios@npm:1.6.1" + dependencies: + follow-redirects: ^1.15.0 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: 573f03f59b7487d54551b16f5e155d1d130ad4864ed32d1da93d522b78a57123b34e3bde37f822a65ee297e79f1db840f9ad6514addff50d3cbf5caeed39e8dc + languageName: node + linkType: hard + "axobject-query@npm:^2.2.0": version: 2.2.0 resolution: "axobject-query@npm:2.2.0" @@ -4754,7 +4717,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-remove-graphql-queries@npm:^3.15.0": +"babel-plugin-remove-graphql-queries@npm:^3.15.0, babel-plugin-remove-graphql-queries@npm:^3.4.0": version: 3.15.0 resolution: "babel-plugin-remove-graphql-queries@npm:3.15.0" dependencies: @@ -4767,19 +4730,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-remove-graphql-queries@npm:^3.4.0": - version: 3.14.0 - resolution: "babel-plugin-remove-graphql-queries@npm:3.14.0" - dependencies: - "@babel/runtime": ^7.15.4 - gatsby-core-utils: ^2.14.0 - peerDependencies: - "@babel/core": ^7.0.0 - gatsby: ^3.0.0-next.0 - checksum: e2a7bed8afaeb6a202ff608b42138b6a649047e7f9ffd97ffb922682ed457c41361aaa7c6a4c030e7a87a5d2bf0d964d670726ad0a6413b8b07b4bbae3608a43 - languageName: node - linkType: hard - "babel-plugin-syntax-object-rest-spread@npm:^6.8.0": version: 6.13.0 resolution: "babel-plugin-syntax-object-rest-spread@npm:6.13.0" @@ -4804,33 +4754,7 @@ __metadata: languageName: node linkType: hard -"babel-preset-gatsby@npm:^1.0.0": - version: 1.14.0 - resolution: "babel-preset-gatsby@npm:1.14.0" - dependencies: - "@babel/plugin-proposal-class-properties": ^7.14.0 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.14.5 - "@babel/plugin-proposal-optional-chaining": ^7.14.5 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-transform-classes": ^7.15.4 - "@babel/plugin-transform-runtime": ^7.15.0 - "@babel/plugin-transform-spread": ^7.14.6 - "@babel/preset-env": ^7.15.4 - "@babel/preset-react": ^7.14.0 - "@babel/runtime": ^7.15.4 - babel-plugin-dynamic-import-node: ^2.3.3 - babel-plugin-macros: ^2.8.0 - babel-plugin-transform-react-remove-prop-types: ^0.4.24 - gatsby-core-utils: ^2.14.0 - gatsby-legacy-polyfills: ^1.14.0 - peerDependencies: - "@babel/core": ^7.11.6 - core-js: ^3.0.0 - checksum: f17265a03f5b80c704cd45af992e4baf18c326e11ddcd0c220f2291acc7f34e107657cfc3e5972848f53c0ca725a50784a65d39b7386d8022dbbdd9c0ee208ca - languageName: node - linkType: hard - -"babel-preset-gatsby@npm:^1.15.0": +"babel-preset-gatsby@npm:^1.0.0, babel-preset-gatsby@npm:^1.15.0": version: 1.15.0 resolution: "babel-preset-gatsby@npm:1.15.0" dependencies: @@ -8411,13 +8335,13 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0": - version: 1.14.3 - resolution: "follow-redirects@npm:1.14.3" +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.15.0": + version: 1.15.3 + resolution: "follow-redirects@npm:1.15.3" peerDependenciesMeta: debug: optional: true - checksum: b4d89339afd119b5e6fd92f0e81ae7d3621a5421af7d4a7d94539765c1d5546cf61d2f3219d40596e53c7c253307fbaf5dc772254aa9170fdfe1f9d7731732a9 + checksum: 584da22ec5420c837bd096559ebfb8fe69d82512d5585004e36a3b4a6ef6d5905780e0c74508c7b72f907d1fa2b7bd339e613859e9c304d0dc96af2027fd0231 languageName: node linkType: hard @@ -8453,7 +8377,7 @@ __metadata: languageName: node linkType: hard -"form-data@npm:4.0.0": +"form-data@npm:4.0.0, form-data@npm:^4.0.0": version: 4.0.0 resolution: "form-data@npm:4.0.0" dependencies: @@ -8655,25 +8579,7 @@ __metadata: languageName: node linkType: hard -"gatsby-core-utils@npm:^2.14.0, gatsby-core-utils@npm:^2.4.0": - version: 2.14.0 - resolution: "gatsby-core-utils@npm:2.14.0" - dependencies: - "@babel/runtime": ^7.15.4 - ci-info: 2.0.0 - configstore: ^5.0.1 - file-type: ^16.5.3 - fs-extra: ^10.0.0 - got: ^11.8.2 - node-object-hash: ^2.3.9 - proper-lockfile: ^4.1.2 - tmp: ^0.2.1 - xdg-basedir: ^4.0.0 - checksum: b33a1a1e9a9adc53bbc4053e1e1fbfb066817a2e922058990f20612afb19c351dfb77919231553e2051b734a339957f716012d741823d0b7c387a2b7ccc3ea7b - languageName: node - linkType: hard - -"gatsby-core-utils@npm:^2.15.0": +"gatsby-core-utils@npm:^2.14.0, gatsby-core-utils@npm:^2.15.0, gatsby-core-utils@npm:^2.4.0": version: 2.15.0 resolution: "gatsby-core-utils@npm:2.15.0" dependencies: @@ -8734,16 +8640,6 @@ __metadata: languageName: node linkType: hard -"gatsby-legacy-polyfills@npm:^1.14.0": - version: 1.14.0 - resolution: "gatsby-legacy-polyfills@npm:1.14.0" - dependencies: - "@babel/runtime": ^7.15.4 - core-js-compat: 3.9.0 - checksum: ae18b44141c0a1ff1dc2ab2bce8ac080547e27afa1747887d25fdf2df763037ad9ab8df5a8698c7856b2088337c0914e93b9a59b5b94c3af72c00a005c521bb4 - languageName: node - linkType: hard - "gatsby-legacy-polyfills@npm:^1.15.0": version: 1.15.0 resolution: "gatsby-legacy-polyfills@npm:1.15.0" @@ -9758,14 +9654,7 @@ gatsby-plugin-typescript@latest: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.2, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4": - version: 4.2.10 - resolution: "graceful-fs@npm:4.2.10" - checksum: 3f109d70ae123951905d85032ebeae3c2a5a7a997430df00ea30df0e3a6c60cf6689b109654d6fdacd28810a053348c4d14642da1d075049e6be1ba5216218da - languageName: node - linkType: hard - -"graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.2, graceful-fs@npm:^4.2.3, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -10290,14 +10179,7 @@ gatsby-plugin-typescript@latest: languageName: node linkType: hard -"http-cache-semantics@npm:^4.0.0": - version: 4.1.0 - resolution: "http-cache-semantics@npm:4.1.0" - checksum: 974de94a81c5474be07f269f9fd8383e92ebb5a448208223bfb39e172a9dbc26feff250192ecc23b9593b3f92098e010406b0f24bd4d588d631f80214648ed42 - languageName: node - linkType: hard - -"http-cache-semantics@npm:^4.1.1": +"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: 83ac0bc60b17a3a36f9953e7be55e5c8f41acc61b22583060e8dedc9dd5e3607c823a88d0926f9150e571f90946835c7fe150732801010845c72cd8bbff1a236 @@ -13312,14 +13194,14 @@ gatsby-plugin-typescript@latest: languageName: node linkType: hard -"negotiator@npm:0.6.2, negotiator@npm:~0.6.2": +"negotiator@npm:0.6.2": version: 0.6.2 resolution: "negotiator@npm:0.6.2" checksum: dfddaff6c06792f1c4c3809e29a427b8daef8cd437c83b08dd51d7ee11bbd1c29d9512d66b801144d6c98e910ffd8723f2432e0cbf8b18d41d2a09599c975ab3 languageName: node linkType: hard -"negotiator@npm:^0.6.3": +"negotiator@npm:^0.6.3, negotiator@npm:~0.6.2": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 @@ -15135,6 +15017,13 @@ gatsby-plugin-typescript@latest: languageName: node linkType: hard +"proxy-from-env@npm:^1.1.0": + version: 1.1.0 + resolution: "proxy-from-env@npm:1.1.0" + checksum: ed7fcc2ba0a33404958e34d95d18638249a68c430e30fcb6c478497d72739ba64ce9810a24f53a7d921d0c065e5b78e3822759800698167256b04659366ca4d4 + languageName: node + linkType: hard + "pseudomap@npm:^1.0.1, pseudomap@npm:^1.0.2": version: 1.0.2 resolution: "pseudomap@npm:1.0.2" @@ -17136,7 +17025,7 @@ react@latest: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0": +"string-width-cjs@npm:string-width@^4.2.0": version: 4.2.2 resolution: "string-width@npm:4.2.2" dependencies: @@ -17158,17 +17047,7 @@ react@latest: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2": - version: 2.1.1 - resolution: "string-width@npm:2.1.1" - dependencies: - is-fullwidth-code-point: ^2.0.0 - strip-ansi: ^4.0.0 - checksum: d6173abe088c615c8dffaf3861dc5d5906ed3dc2d6fd67ff2bd2e2b5dce7fd683c5240699cf0b1b8aa679a3b3bd6b28b5053c824cb89b813d7f6541d8f89064a - languageName: node - linkType: hard - -"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.2.3": +"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -17307,7 +17186,7 @@ react@latest: languageName: node linkType: hard -"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" dependencies: @@ -17316,7 +17195,7 @@ react@latest: languageName: node linkType: hard -"strip-ansi@npm:6.0.0, strip-ansi@npm:^6.0.0": +"strip-ansi@npm:6.0.0": version: 6.0.0 resolution: "strip-ansi@npm:6.0.0" dependencies: @@ -17334,15 +17213,6 @@ react@latest: languageName: node linkType: hard -"strip-ansi@npm:^4.0.0": - version: 4.0.0 - resolution: "strip-ansi@npm:4.0.0" - dependencies: - ansi-regex: ^3.0.0 - checksum: d9186e6c0cf78f25274f6750ee5e4a5725fb91b70fdd79aa5fe648eab092a0ec5b9621b22d69d4534a56319f75d8944efbd84e3afa8d4ad1b9a9491f12c84eca - languageName: node - linkType: hard - "strip-ansi@npm:^5.1.0, strip-ansi@npm:^5.2.0": version: 5.2.0 resolution: "strip-ansi@npm:5.2.0" @@ -18985,16 +18855,7 @@ react@latest: languageName: node linkType: hard -"wide-align@npm:^1.1.0": - version: 1.1.3 - resolution: "wide-align@npm:1.1.3" - dependencies: - string-width: ^1.0.2 || 2 - checksum: d09c8012652a9e6cab3e82338d1874a4d7db2ad1bd19ab43eb744acf0b9b5632ec406bdbbbb970a8f4771a7d5ef49824d038ba70aa884e7723f5b090ab87134d - languageName: node - linkType: hard - -"wide-align@npm:^1.1.5": +"wide-align@npm:^1.1.0, wide-align@npm:^1.1.5": version: 1.1.5 resolution: "wide-align@npm:1.1.5" dependencies: