cognitive-services-speech-s.../package.json

116 строки
3.1 KiB
JSON
Исходник Обычный вид История

2018-12-14 20:27:57 +03:00
{
"name": "microsoft-cognitiveservices-speech-sdk",
"author": "Microsoft Corporation",
"homepage": "https://docs.microsoft.com/azure/cognitive-services/speech-service/",
2020-12-11 11:40:26 +03:00
"version": "1.15.0-alpha.0.1",
2018-12-14 20:27:57 +03:00
"license": "MIT",
"description": "Microsoft Cognitive Services Speech SDK for JavaScript",
"keywords": [
"microsoft",
"cognitiveservices",
"speech",
"sdk",
"javascript",
"typescript",
"ts",
"js",
"browser",
"websocket",
"speechtotext",
"texttospeech"
2018-12-14 20:27:57 +03:00
],
"bugs": {
"url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/cognitive-services-speech-sdk-js"
},
"browser": {
"asn1.js-rfc2560": false,
"asn1.js-rfc5280": false,
"https-proxy-agent": false,
"simple-lru-cache": false,
"ws": false,
Glharper/speaker recognition (#192) * Create more idiomatic RestConnection class and methods * Fix lint for new classes * Initial implementation of create profile * Fix broken conversation translator test * Fixes to return actual VoiceProfile object * Build fixes * Clean up callback code * Initial version of voice enrollment * Add delete profile to client, add rest connection class in case needed for speaker recognizer. * Add blob promise to IAudioSource interface in place of file * Add reset profile method * Initial implementation of verifySpeaker and identifySpeaker * Fix create model bug, rename public methods to align with SDK conventions * SpeakerRecognition recognizeOnceAsync() works now for Identification models/profiles * speaker verify now working * Add CancellationDetail classes for SR results * Handle service errors and result property setting * Better error handling for VoiceProfile, VoiceProfileResult callbacks * Bug fixes, misspelled detail fields * Fix error creation for Enrollments * Add tests for speaker recognition * Generate VoiceProfileResult errors using response statusText * Remove currently unused RestConnection class * Use "reason" getter for result consistency * Use PromiseHelper for instant promise fulfillment * add xmlhttprequest dependency for node * Node support for XMLHttpRequest primitive * Allow CancellationDetails to be seen externally * Allow PushAudioInputStream to be read as Blob for REST connections * Address code review issues, simplify callback handling in VoiceProfileClient, lengthen rest timeout * More code review corrections * Fix weird node promise issue, clean up promise code * Another fix from input stream * Use Buffer when sending AudioPushStream with node.js * Add china host detection, use Buffer.from instead of deprecated Buffer constructor * Use PromiseHelper to send error promise for unimplemented blob getter * Add new static test variables for Speaker ID tests
2020-06-17 18:32:38 +03:00
"fs": false,
"xmlhttprequest-ts": false,
"async-disk-cache": false,
"distrib/es2015/external/ocsp/ocsp": false,
"distrib/lib/external/ocsp/ocsp": false,
"agent-base": false,
"tls": false,
"net": false
},
2019-06-20 01:45:49 +03:00
"main": "distrib/lib/microsoft.cognitiveservices.speech.sdk.js",
"module": "distrib/es2015/microsoft.cognitiveservices.speech.sdk.js",
"types": "distrib/lib/microsoft.cognitiveservices.speech.sdk.d.ts",
2018-12-14 20:27:57 +03:00
"files": [
"distrib/lib/**/*",
2019-06-20 01:45:49 +03:00
"distrib/es2015/**/*",
"distrib/browser/**/*",
2018-12-14 20:27:57 +03:00
"LICENSE",
"REDIST.txt"
],
"devDependencies": {
"@types/jest": "^25.2.2",
"@types/node": "^12.12.30",
2020-01-17 22:11:08 +03:00
"@types/request": "^2.48.3",
"@types/rimraf": "^3.0.0",
"@types/uuid": "^8.3.0",
2020-01-17 22:11:08 +03:00
"@types/ws": "^6.0.4",
"asn1.js": "^5.2.0",
"dts-bundle-webpack": "^1.0.2",
2019-06-20 01:45:49 +03:00
"gulp": "^4.0.2",
2020-01-17 22:11:08 +03:00
"gulp-rename": "^2.0.0",
2019-06-20 01:45:49 +03:00
"gulp-sourcemaps": "^2.6.5",
"gulp-terser": "^1.2.0",
"gulp-tslint": "^8.1.4",
"gulp-typescript": "^5.0.1",
"jest": "^26.0.1",
2020-01-17 22:11:08 +03:00
"jest-junit": "^10.0.0",
"ocsp": "^1.2.0",
"request": "^2.88.0",
"rimraf": "^3.0.2",
2019-09-13 21:03:39 +03:00
"semver": "^6.3.0",
2019-06-20 01:45:49 +03:00
"source-map-loader": "^0.2.4",
"ts-jest": "^25.5.1",
2020-01-17 22:11:08 +03:00
"tslint": "^5.20.1",
"typescript": "^3.5.3",
2019-09-13 21:03:39 +03:00
"webpack-stream": "^5.2.1"
2018-12-14 20:27:57 +03:00
},
"scripts": {
2019-06-20 01:45:49 +03:00
"build": "gulp compress && gulp build2015",
DialogServiceConnector, Connect/Disconnect impl (#90) * Implemented DialogConnectorFactory. * WIP * begin add dialog tests * connect impl and first test * headers for browser * expose connect * initial listenOnce * repalce websocket use * listenOnce with browser connection support * listenOnce with activity responses * expose get/setter props * cleanup * generic send fnc * extracting functionality from base reco * Save the day * First incarnation of the BaseAudioPlayer class. # Conflicts: # tests/DialogServiceConnectorTests.ts * Fix bugs in BaseAudioPlayer and added manual tests for it. - server.js - web socket streaming long audio file (node server.js from the folder) - AudioPlayerBaseTest.html lauch http-server in the folder and then load the page * lint cleanup * Added missed server.js file for audio player manual tests * Added audio output stream * TSLint fixes * AudioOutputStreamTests * update message loop * AudioOutputStream fixes Jsonification of activity Added AudioOutputStream to activity ActivityPayloadResponse class * refactor message loop and add sendActivity * Turn management classes * Add integration with turn management * Few fixes - turn.end is not coming Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration # Conflicts: # src/common.speech/DialogServiceAdapter.ts * Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing * Added timeouts as workaround to not routed messages to 2s. Added debugturn logging for investingating the messages not routed. Added timestamps to console.info * remove promisehelper wait, rm cancel recos * minor code restructuring * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * Added try / catch for audio message handling. * restrict config to once per connection * Upgrade https-proxy-agent to 2.2.3 after the last alert. * fix reco end, remove speech context on turn.end * Fix machine in the middle vulnerability for "https-proxy-agent" (#97) - changes generated by npm audit fix --force - upgrade "https-proxy-agent" to 3.0.0 as there is inconsistency on reports as what version fixes the vulnerability * fix for mic staying open * split config into BF and Commands * add temporary ApplicationId to tests * add reconnect on websocket timeout, config parity * remove authHeader from botFramework config * Implemented DialogConnectorFactory. * WIP * begin add dialog tests * connect impl and first test * headers for browser * initial listenOnce * expose connect * repalce websocket use * listenOnce with browser connection support * listenOnce with activity responses * expose get/setter props * cleanup * generic send fnc * extracting functionality from base reco * Save the day * First incarnation of the BaseAudioPlayer class. # Conflicts: # tests/DialogServiceConnectorTests.ts * Fix bugs in BaseAudioPlayer and added manual tests for it. - server.js - web socket streaming long audio file (node server.js from the folder) - AudioPlayerBaseTest.html lauch http-server in the folder and then load the page * lint cleanup * Added missed server.js file for audio player manual tests * Added audio output stream * TSLint fixes * AudioOutputStreamTests * update message loop * AudioOutputStream fixes Jsonification of activity Added AudioOutputStream to activity ActivityPayloadResponse class * refactor message loop and add sendActivity * Turn management classes * Add integration with turn management * Few fixes - turn.end is not coming Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration # Conflicts: # src/common.speech/DialogServiceAdapter.ts * Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing * Added timeouts as workaround to not routed messages to 2s. Added debugturn logging for investingating the messages not routed. Added timestamps to console.info * remove promisehelper wait, rm cancel recos * minor code restructuring * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * * The last audio message is null. When we encounter it we closed the audio stream. * Added isClosed to the audio output stream impl. * Changed tests to defer the shutdown to avoid random red herrings. * Added try / catch for audio message handling. * restrict config to once per connection * fix reco end, remove speech context on turn.end * fix for mic staying open * split config into BF and Commands * add temporary ApplicationId to tests * add reconnect on websocket timeout, config parity * remove authHeader from botFramework config * merge * restore code coverage * extend gitattributes
2019-10-31 21:48:40 +03:00
"test": "npm run lint && npm run jest --coverage",
2018-12-14 20:27:57 +03:00
"jest": "jest",
"lint": "tslint -p tsconfig.json",
"civersion": "node ci/version.js",
2019-06-14 20:43:53 +03:00
"prepare": "npm run build"
2018-12-14 20:27:57 +03:00
},
"jest": {
"testEnvironment": "node"
},
"jest-junit": {
"suiteName": "jest tests",
"output": "./test-javascript-junit.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " <20> ",
"usePathForSuiteName": "true"
},
"dependencies": {
"agent-base": "^6.0.0",
"asn1.js-rfc2560": "^5.0.0",
"asn1.js-rfc5280": "^3.0.0",
"async-disk-cache": "^2.1.0",
2020-01-17 22:11:08 +03:00
"https-proxy-agent": "^3.0.1",
"simple-lru-cache": "0.0.2",
"uuid": "^8.3.1",
Glharper/speaker recognition (#192) * Create more idiomatic RestConnection class and methods * Fix lint for new classes * Initial implementation of create profile * Fix broken conversation translator test * Fixes to return actual VoiceProfile object * Build fixes * Clean up callback code * Initial version of voice enrollment * Add delete profile to client, add rest connection class in case needed for speaker recognizer. * Add blob promise to IAudioSource interface in place of file * Add reset profile method * Initial implementation of verifySpeaker and identifySpeaker * Fix create model bug, rename public methods to align with SDK conventions * SpeakerRecognition recognizeOnceAsync() works now for Identification models/profiles * speaker verify now working * Add CancellationDetail classes for SR results * Handle service errors and result property setting * Better error handling for VoiceProfile, VoiceProfileResult callbacks * Bug fixes, misspelled detail fields * Fix error creation for Enrollments * Add tests for speaker recognition * Generate VoiceProfileResult errors using response statusText * Remove currently unused RestConnection class * Use "reason" getter for result consistency * Use PromiseHelper for instant promise fulfillment * add xmlhttprequest dependency for node * Node support for XMLHttpRequest primitive * Allow CancellationDetails to be seen externally * Allow PushAudioInputStream to be read as Blob for REST connections * Address code review issues, simplify callback handling in VoiceProfileClient, lengthen rest timeout * More code review corrections * Fix weird node promise issue, clean up promise code * Another fix from input stream * Use Buffer when sending AudioPushStream with node.js * Add china host detection, use Buffer.from instead of deprecated Buffer constructor * Use PromiseHelper to send error promise for unimplemented blob getter * Add new static test variables for Speaker ID tests
2020-06-17 18:32:38 +03:00
"ws": "^7.2.0",
"xmlhttprequest-ts": "^1.0.1"
},
"resolutions": {
"extend": "3.0.2"
2019-06-20 01:45:49 +03:00
},
"sideEffects": false
}