dependencies: Patch bad triple-slash reference out of @uppy/core types.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-14 20:11:02 -07:00 committed by Tim Abbott
parent 97b0fd424d
commit e74ed28f4f
4 changed files with 29 additions and 14 deletions

View File

@ -155,8 +155,9 @@
"source-map@^0.6": "npm:source-map-js@1.0.1" "source-map@^0.6": "npm:source-map-js@1.0.1"
}, },
"patchedDependencies": { "patchedDependencies": {
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch", "@uppy/core@3.10.1": "patches/@uppy__core@3.10.1.patch",
"eslint-plugin-no-jquery@2.7.0": "patches/eslint-plugin-no-jquery@2.7.0.patch" "eslint-plugin-no-jquery@2.7.0": "patches/eslint-plugin-no-jquery@2.7.0.patch",
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch"
} }
}, },
"nyc": { "nyc": {

View File

@ -0,0 +1,11 @@
diff --git a/types/index.d.ts b/types/index.d.ts
index d23ea1113366ad1d5a3300268ab8c49440dfd0be..0eea14653663ab70c4c62194d4715e0034c888b5 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -1,6 +1,3 @@
-// This references the old types on purpose, to make sure to not create breaking changes for TS consumers.
-// eslint-disable-next-line @typescript-eslint/triple-slash-reference
-/// <reference path="../../utils/types/index.d.ts"/>
import * as UppyUtils from '@uppy/utils'
// Utility types

View File

@ -8,6 +8,9 @@ overrides:
source-map@^0.6: npm:source-map-js@1.0.1 source-map@^0.6: npm:source-map-js@1.0.1
patchedDependencies: patchedDependencies:
'@uppy/core@3.10.1':
hash: p55fuvtzi4wgpu6zqubw64gyay
path: patches/@uppy__core@3.10.1.patch
eslint-plugin-no-jquery@2.7.0: eslint-plugin-no-jquery@2.7.0:
hash: 3o6vd4atcpz6wln5ovpbrt3cea hash: 3o6vd4atcpz6wln5ovpbrt3cea
path: patches/eslint-plugin-no-jquery@2.7.0.patch path: patches/eslint-plugin-no-jquery@2.7.0.patch
@ -51,13 +54,13 @@ importers:
version: 7.112.2 version: 7.112.2
'@uppy/core': '@uppy/core':
specifier: ^3.0.2 specifier: ^3.0.2
version: 3.10.1 version: 3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay)
'@uppy/progress-bar': '@uppy/progress-bar':
specifier: ^3.0.1 specifier: ^3.0.1
version: 3.1.1(@uppy/core@3.10.1) version: 3.1.1(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))
'@uppy/xhr-upload': '@uppy/xhr-upload':
specifier: ^3.0.2 specifier: ^3.0.2
version: 3.6.4(@uppy/core@3.10.1) version: 3.6.4(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))
'@zxcvbn-ts/core': '@zxcvbn-ts/core':
specifier: ^3.0.1 specifier: ^3.0.1
version: 3.0.4 version: 3.0.4
@ -9334,14 +9337,14 @@ snapshots:
'@ungap/structured-clone@1.2.0': {} '@ungap/structured-clone@1.2.0': {}
'@uppy/companion-client@3.8.0(@uppy/core@3.10.1)': '@uppy/companion-client@3.8.0(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))':
dependencies: dependencies:
'@uppy/core': 3.10.1 '@uppy/core': 3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay)
'@uppy/utils': 5.8.0 '@uppy/utils': 5.8.0
namespace-emitter: 2.0.1 namespace-emitter: 2.0.1
p-retry: 6.2.0 p-retry: 6.2.0
'@uppy/core@3.10.1': '@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay)':
dependencies: dependencies:
'@transloadit/prettier-bytes': 0.3.2 '@transloadit/prettier-bytes': 0.3.2
'@uppy/store-default': 3.2.2 '@uppy/store-default': 3.2.2
@ -9352,9 +9355,9 @@ snapshots:
nanoid: 4.0.2 nanoid: 4.0.2
preact: 10.20.2 preact: 10.20.2
'@uppy/progress-bar@3.1.1(@uppy/core@3.10.1)': '@uppy/progress-bar@3.1.1(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))':
dependencies: dependencies:
'@uppy/core': 3.10.1 '@uppy/core': 3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay)
'@uppy/utils': 5.8.0 '@uppy/utils': 5.8.0
preact: 10.20.2 preact: 10.20.2
@ -9365,10 +9368,10 @@ snapshots:
lodash: 4.17.21 lodash: 4.17.21
preact: 10.20.2 preact: 10.20.2
'@uppy/xhr-upload@3.6.4(@uppy/core@3.10.1)': '@uppy/xhr-upload@3.6.4(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))':
dependencies: dependencies:
'@uppy/companion-client': 3.8.0(@uppy/core@3.10.1) '@uppy/companion-client': 3.8.0(@uppy/core@3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay))
'@uppy/core': 3.10.1 '@uppy/core': 3.10.1(patch_hash=p55fuvtzi4wgpu6zqubw64gyay)
'@uppy/utils': 5.8.0 '@uppy/utils': 5.8.0
nanoid: 4.0.2 nanoid: 4.0.2

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 260
# historical commits sharing the same major version, in which case a # historical commits sharing the same major version, in which case a
# minor version bump suffices. # minor version bump suffices.
PROVISION_VERSION = (270, 1) # last bumped 2024-05-14 for adding @types/is-url PROVISION_VERSION = (270, 2) # last bumped 2024-05-14 for patching @uppy/core