diff --git a/packages/rest-api-client/package.json b/packages/rest-api-client/package.json index 2a5c3231b3..1a29f010ba 100644 --- a/packages/rest-api-client/package.json +++ b/packages/rest-api-client/package.json @@ -59,7 +59,7 @@ "@rollup/plugin-terser": "^0.4.4", "@types/core-js": "^2.5.8", "@types/js-base64": "^3.3.1", - "@types/mime": "^3.0.4", + "@types/mime": "^4.0.0", "@types/qs": "^6.9.16", "rollup": "^4.24.3", "rollup-plugin-ecma-version-validator": "^0.2.13", @@ -78,7 +78,7 @@ "axios": "^1.7.7", "form-data": "^4.0.1", "js-base64": "^3.7.7", - "mime": "^3.0.0", + "mime": "^4.0.4", "qs": "^6.12.3" }, "exports": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 96fada7712..b64e69d61d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -408,8 +408,8 @@ importers: specifier: ^3.7.7 version: 3.7.7 mime: - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^4.0.4 + version: 4.0.4 qs: specifier: ^6.12.3 version: 6.12.3 @@ -436,8 +436,8 @@ importers: specifier: ^3.3.1 version: 3.3.1 '@types/mime': - specifier: ^3.0.4 - version: 3.0.4 + specifier: ^4.0.0 + version: 4.0.0 '@types/qs': specifier: ^6.9.16 version: 6.9.16 @@ -3361,8 +3361,11 @@ packages: resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} dev: true - /@types/mime@3.0.4: - resolution: {integrity: sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw==} + /@types/mime@4.0.0: + resolution: {integrity: sha512-5eEkJZ/BLvTE3vXGKkWlyTSUVZuzj23Wj8PoyOq2lt5I3CYbiLBOPb3XmCW6QcuOibIUE6emHXHt9E/F/rCa6w==} + deprecated: This is a stub types definition. mime provides its own type definitions, so you do not need this installed. + dependencies: + mime: 4.0.4 dev: true /@types/minimatch@5.1.2: @@ -3460,7 +3463,7 @@ packages: resolution: {integrity: sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==} dependencies: '@types/http-errors': 2.0.1 - '@types/mime': 3.0.4 + '@types/mime': 4.0.0 '@types/node': 18.19.64 dev: true @@ -8493,11 +8496,10 @@ packages: hasBin: true dev: true - /mime@3.0.0: - resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} - engines: {node: '>=10.0.0'} + /mime@4.0.4: + resolution: {integrity: sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==} + engines: {node: '>=16'} hasBin: true - dev: false /mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}