Socket
Socket
Sign inDemoInstall

@types/react-speech-recognition

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.9.0 to 3.9.1

5

react-speech-recognition/index.d.ts

@@ -5,3 +5,6 @@ // Type definitions for react-speech-recognition 3.9

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.4
/// <reference types="dom-speech-recognition" />
interface Command {

@@ -22,3 +25,3 @@ command: string | string[] | RegExp;

interface SpeechRecognition {
getRecognition(): SpeechRecognition | null;
getRecognition(): globalThis.SpeechRecognition | null;
startListening(options?: ListeningOptions): Promise<void>;

@@ -25,0 +28,0 @@ stopListening(): void;

{
"name": "@types/react-speech-recognition",
"version": "3.9.0",
"version": "3.9.1",
"description": "TypeScript definitions for react-speech-recognition",

@@ -22,5 +22,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-speech-recognition",

"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "f92efb089f1962835806557c3bc4525cd838c5076647f11a7aefbe82c1d3a773",
"typeScriptVersion": "3.8"
"dependencies": {
"@types/dom-speech-recognition": "*"
},
"typesPublisherContentHash": "a3d64d7b12a4f2dd9c9faf74d7c35b9e462378b71db10bb218868485fbe72fd3",
"typeScriptVersion": "4.4"
}

9

react-speech-recognition/README.md

@@ -15,3 +15,6 @@ # Installation

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.4
/// <reference types="dom-speech-recognition" />
interface Command {

@@ -32,3 +35,3 @@ command: string | string[] | RegExp;

interface SpeechRecognition {
getRecognition(): SpeechRecognition | null;
getRecognition(): globalThis.SpeechRecognition | null;
startListening(options?: ListeningOptions): Promise<void>;

@@ -66,4 +69,4 @@ stopListening(): void;

### Additional Details
* Last updated: Sun, 26 Dec 2021 20:31:22 GMT
* Dependencies: none
* Last updated: Tue, 14 Mar 2023 01:32:42 GMT
* Dependencies: [@types/dom-speech-recognition](https://npmjs.com/package/@types/dom-speech-recognition)
* Global values: none

@@ -70,0 +73,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc