@uppy/thumbnail-generator: fix exifr import (#4054)

Fixes: https://github.com/transloadit/uppy/issues/4052
This commit is contained in:
Antoine du Hamel 2022-08-29 16:54:26 +02:00 committed by GitHub
parent c658883cbf
commit ea1c0760ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 1363 deletions

File diff suppressed because one or more lines are too long

View file

@ -185,7 +185,6 @@
"@types/eslint@^7.2.13": "^8.2.0",
"@types/react": "^17",
"@types/webpack-dev-server": "^4",
"exifr": "patch:exifr@npm:7.1.3#.yarn/patches/exifr-npm-7.1.3-e3f1c7a57d",
"preact": "patch:preact@npm:10.10.0#.yarn/patches/preact-npm-10.10.0-dd04de05e8.patch"
}
}

View file

@ -2,7 +2,7 @@ import { UIPlugin } from '@uppy/core'
import dataURItoBlob from '@uppy/utils/lib/dataURItoBlob'
import isObjectURL from '@uppy/utils/lib/isObjectURL'
import isPreviewSupported from '@uppy/utils/lib/isPreviewSupported'
import { rotation } from 'exifr/dist/mini.umd.js'
import { rotation } from 'exifr/dist/mini.esm.mjs'
import locale from './locale.js'
import packageJson from '../package.json'

View file

@ -17432,20 +17432,13 @@ __metadata:
languageName: node
linkType: hard
"exifr@npm:7.1.3":
"exifr@npm:^7.0.0":
version: 7.1.3
resolution: "exifr@npm:7.1.3"
checksum: c75a21e700378a29d226dd2c102d43679a68539ff1774b05ca19acce366ad47d056985e4f497afe7da6d0d8966d7dc73efb51acc11ff84fa57c9467e630c67ff
languageName: node
linkType: hard
"exifr@patch:exifr@npm:7.1.3#.yarn/patches/exifr-npm-7.1.3-e3f1c7a57d::locator=%40uppy-dev%2Fbuild%40workspace%3A.":
version: 7.1.3
resolution: "exifr@patch:exifr@npm%3A7.1.3#.yarn/patches/exifr-npm-7.1.3-e3f1c7a57d::version=7.1.3&hash=a0fd48&locator=%40uppy-dev%2Fbuild%40workspace%3A."
checksum: ac8f7ee214a7101f87dbabd5ab9cba7c0711f8046a1d4d023eae4755c2ad33f0fe2976ce0f0fd4dd3b97414d2f2caf54e8a753f0e59af42d3c00f4dffbdc389e
languageName: node
linkType: hard
"exit@npm:^0.1.2":
version: 0.1.2
resolution: "exit@npm:0.1.2"