uppy/packages/@uppy/utils/package.json
Prakash 3f0dd05a4e Upgrade vitest to v4
Bump vitest and @vitest/browser from ^3.2.4 to ^4.1.6.

Vitest 4 reworked the Mock type: ReturnType<typeof vi.fn> now resolves to
Mock<Procedure | Constructable>, a union with a constructor signature that
TypeScript no longer treats as directly callable (TS2348). Switch the core
test-mock helpers to an explicit callable Mock type.
2026-05-21 22:24:54 +05:30

45 lines
1,009 B
JSON

{
"name": "@uppy/utils",
"description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.",
"version": "7.2.0",
"license": "MIT",
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsc --build tsconfig.build.json",
"typecheck": "tsc --build",
"test": "vitest run --environment=jsdom --silent='passed-only'"
},
"keywords": [
"file uploader",
"uppy"
],
"homepage": "https://uppy.io",
"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": {
"lodash": "^4.18.1",
"preact": "^10.29.2"
},
"devDependencies": {
"@types/lodash": "^4.14.199",
"jsdom": "^26.1.0",
"typescript": "^5.8.3",
"vitest": "^4.1.6"
}
}