uppy/packages/@uppy/compressor/package.json
prakash 9fa8886a2a
chore(deps): upgrade TypeScript to 6
Moves all 43 workspaces to typescript ^6.0.3 (@uppy/companion was already
pinned to 6.0.3). The two Angular workspaces stay on their own lines,
~5.7.3 and ~5.9.3, because the Angular compiler pins its supported range.

TypeScript 6 reports TS2882 for side-effect imports of files it has no
declarations for, which the browser tests in @uppy/dashboard,
@uppy/golden-retriever and @uppy/xhr-upload hit when importing plugin CSS.
Each gets a one-line ambient declaration.

Nothing else changed: no source, no config, no lockfile churn beyond the
compiler itself.

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19).
2026-07-26 02:45:03 +05:30

56 lines
1.2 KiB
JSON

{
"name": "@uppy/compressor",
"description": "Uppy plugin that compresses images before upload, saving up to 60% in size",
"version": "3.1.0",
"license": "MIT",
"keywords": [
"file uploader",
"uppy",
"uppy-plugin",
"compress",
"image compression"
],
"type": "module",
"homepage": "https://uppy.io",
"sideEffects": false,
"bugs": {
"url": "https://github.com/transloadit/uppy/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/transloadit/uppy.git"
},
"files": [
"src",
"lib",
"dist",
"CHANGELOG.md"
],
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"@transloadit/prettier-bytes": "^1.1.0",
"compressorjs": "^1.3.0",
"preact": "^10.29.2",
"promise-queue": "^2.2.5"
},
"peerDependencies": {
"@uppy/core": "workspace:^"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "^20.19.0",
"jsdom": "^29.1.1",
"typescript": "^6.0.3",
"vitest": "^4.1.6"
},
"scripts": {
"build": "tsc --build tsconfig.build.json",
"typecheck": "tsc --build",
"test": "vitest run --environment=jsdom --silent='passed-only'"
}
}