Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uppy/webcam

Package Overview
Dependencies
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/webcam - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

types/generatedLocale.d.ts

2

lib/index.js

@@ -454,2 +454,2 @@ var _class, _temp;

return Webcam;
}(Plugin), _class.VERSION = "1.5.3", _temp);
}(Plugin), _class.VERSION = "1.5.4", _temp);
{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "1.5.3",
"version": "1.5.4",
"license": "MIT",

@@ -29,3 +29,3 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^2.2.1",
"@uppy/utils": "^2.2.2",
"preact": "8.2.9"

@@ -36,3 +36,3 @@ },

},
"gitHead": "07e9909bfcca44505433c8bfc38a050314be64ce"
"gitHead": "2c98271103539fbe46b37b9f8c2746bc7188b9c8"
}

@@ -1,25 +0,26 @@

import Uppy = require('@uppy/core');
import Uppy = require('@uppy/core')
import WebcamLocale = require('./generatedLocale')
declare module Webcam {
export type WebcamMode = 'video-audio' | 'video-only' | 'audio-only' | 'picture';
export type WebcamMode =
| 'video-audio'
| 'video-only'
| 'audio-only'
| 'picture'
export interface WebcamOptions extends Uppy.PluginOptions {
onBeforeSnapshot?: () => Promise<void>;
countdown?: number | boolean;
mirror?: boolean;
facingMode?: string;
modes: WebcamMode[];
replaceTargetContent?: boolean
target?: Uppy.PluginTarget
onBeforeSnapshot?: () => Promise<void>
countdown?: number | boolean
mirror?: boolean
facingMode?: string
modes?: WebcamMode[]
locale?: WebcamLocale
title?: string
}
}
declare class Webcam extends Uppy.Plugin {
constructor(uppy: Uppy.Uppy, opts: Partial<Webcam.WebcamOptions>);
}
declare class Webcam extends Uppy.Plugin<Webcam.WebcamOptions> {}
export = Webcam;
declare module '@uppy/core' {
export interface Uppy {
use(pluginClass: typeof Webcam, opts: Partial<Webcam.WebcamOptions>): Uppy.Uppy;
}
}
export = Webcam
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc