mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @uppy/status-bar@5.0.2 ### Patch Changes -8ac1654: Change internal type from `any` to `unknown`. ## @uppy/webcam@5.0.2 ### Patch Changes -8ac1654: - Remove TagFile type - Use UppyFile instead. - Split UppyFile into two interfaces distinguished by the `isRemote` boolean: - LocalUppyFile - RemoteUppyFile ## @uppy/xhr-upload@5.0.2 ### Patch Changes -8ac1654: - Make `file.data` nullable - Because for ghosts it will be `undefined` and we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check for `undefined` everywhere (when trying to store a blob that was `undefined`). This means we have to add null checks in some packages - Split UppyFile into two interfaces distinguished by the `isRemote` boolean: - LocalUppyFile - RemoteUppyFile ## uppy@5.1.8 ### Patch Changes - Updated dependencies [8ac1654] - Updated dependencies [8ac1654] - Updated dependencies [8ac1654] - @uppy/status-bar@5.0.2 - @uppy/webcam@5.0.2 - @uppy/xhr-upload@5.0.2 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "@uppy/webcam",
|
|
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
|
|
"version": "5.0.2",
|
|
"license": "MIT",
|
|
"style": "dist/style.min.css",
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --build tsconfig.build.json",
|
|
"build:css": "sass --load-path=../../ src/style.scss dist/style.css && postcss dist/style.css -u cssnano -o dist/style.min.css",
|
|
"typecheck": "tsc --build",
|
|
"test": "vitest run --environment=jsdom --silent='passed-only'"
|
|
},
|
|
"keywords": [
|
|
"file uploader",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"webcam",
|
|
"picture",
|
|
"photo",
|
|
"video",
|
|
"record",
|
|
"mediarecorder"
|
|
],
|
|
"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",
|
|
"./css/style.css": "./dist/style.css",
|
|
"./css/style.min.css": "./dist/style.min.css",
|
|
"./css/style.scss": "./src/style.scss",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dependencies": {
|
|
"@uppy/utils": "workspace:^",
|
|
"is-mobile": "^4.0.0",
|
|
"preact": "^10.5.13"
|
|
},
|
|
"devDependencies": {
|
|
"cssnano": "^7.0.7",
|
|
"jsdom": "^26.1.0",
|
|
"postcss": "^8.5.6",
|
|
"postcss-cli": "^11.0.1",
|
|
"sass": "^1.89.2",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "workspace:^"
|
|
}
|
|
}
|