New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

web-speech-cognitive-services

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-speech-cognitive-services - npm Package Compare versions

Comparing version

to
4.0.0-master.ff12edb

4

lib/BingSpeech/SpeechToText/createSpeechRecognitionPonyfill.js

@@ -99,3 +99,3 @@ "use strict";

var deviceModel = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 'web-speech-cognitive-services';
var deviceVersion = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : "4.0.0-master.62b04ac";
var deviceVersion = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : "4.0.0-master.ff12edb";
var config = new CognitiveSpeech.RecognizerConfig(new CognitiveSpeech.SpeechConfig(new CognitiveSpeech.Context(new CognitiveSpeech.OS(osPlatform, osName, osVersion), new CognitiveSpeech.Device(deviceManufacturer, deviceModel, deviceVersion))), mode, language, CognitiveSpeech.SpeechResultFormat.Detailed);

@@ -205,3 +205,3 @@ var fetchToken;

case 0:
recognizer = this.recognizer = this.createRecognizer(this.lang, this.osPlatform || window.navigator.userAgent, this.osName || window.navigator.appName, this.osVersion || window.navigator.appVersion, this.deviceManufacturer || 'web-speech-cognitive-services', this.deviceModel || 'web-speech-cognitive-services', this.deviceVersion || "4.0.0-master.62b04ac");
recognizer = this.recognizer = this.createRecognizer(this.lang, this.osPlatform || window.navigator.userAgent, this.osName || window.navigator.appName, this.osVersion || window.navigator.appVersion, this.deviceManufacturer || 'web-speech-cognitive-services', this.deviceModel || 'web-speech-cognitive-services', this.deviceVersion || "4.0.0-master.ff12edb");
_toPromise = toPromise(), eventListener = _toPromise.eventListener, promises = (0, _objectWithoutProperties2.default)(_toPromise, ["eventListener"]);

@@ -208,0 +208,0 @@ speechContext = this.grammars && this.grammars.createSpeechContext();

@@ -191,3 +191,3 @@ "use strict";

this.emit('end');
_context3.next = 22;
_context3.next = 21;
break;

@@ -202,5 +202,4 @@

});
throw _context3.t3;
case 22:
case 21:
case "end":

@@ -207,0 +206,0 @@ return _context3.stop();

@@ -192,3 +192,3 @@ "use strict";

this.emit('end');
_context3.next = 22;
_context3.next = 21;
break;

@@ -203,5 +203,4 @@

});
throw _context3.t3;
case 22:
case 21:
case "end":

@@ -208,0 +207,0 @@ return _context3.stop();

{
"name": "web-speech-cognitive-services",
"version": "4.0.0-master.62b04ac",
"version": "4.0.0-master.ff12edb",
"description": "Polyfill Web Speech API with Cognitive Services Speech-to-Text service",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet