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

react-webcam

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-webcam - npm Package Compare versions

Comparing version 5.2.2 to 5.2.3

2

dist/react-webcam.d.ts

@@ -15,3 +15,3 @@ import * as React from "react";

onUserMedia: (stream: MediaStream) => void;
onUserMediaError: (error: string) => void;
onUserMediaError: (error: string | DOMException) => void;
screenshotFormat: "image/webp" | "image/png" | "image/jpeg";

@@ -18,0 +18,0 @@ screenshotQuality: number;

{
"name": "react-webcam",
"version": "5.2.2",
"version": "5.2.3",
"description": "React webcam component",

@@ -5,0 +5,0 @@ "main": "dist/react-webcam.js",

@@ -8,2 +8,4 @@ # react-webcam

**DEMO:** https://codepen.io/mozmorris/pen/JLZdoP
https://www.npmjs.com/package/react-webcam

@@ -14,8 +16,12 @@

Note: Browsers will throw an error if the page is loaded from insecure origin. I.e. Use https.
**Note: Browsers will throw an error if the page is loaded from insecure origin. I.e. Use https.**
## Installation
```
```sh
// with npm
npm install react-webcam
// with yarn
yarn add react-webcam
```

@@ -113,3 +119,3 @@

You can find an exammple [https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010](https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010).
You can find an example [https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010](https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010).

@@ -116,0 +122,0 @@ ## Choosing a camera

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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