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

web-speech-cognitive-services

Package Overview
Dependencies
Maintainers
0
Versions
163
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 7.1.4-master.9e026d9 to 8.0.0-main.5903868

dist/web-speech-cognitive-services.d.mts

114

package.json
{
"name": "web-speech-cognitive-services",
"version": "7.1.4-master.9e026d9",
"version": "8.0.0-main.5903868",
"description": "Polyfill Web Speech API with Cognitive Services Speech-to-Text service",
"files": [
"./dist/**/*"
],
"exports": {
".": {
"import": {
"types": "./dist/web-speech-cognitive-services.d.mts",
"default": "./dist/web-speech-cognitive-services.mjs"
},
"require": {
"types": "./dist/web-speech-cognitive-services.d.ts",
"default": "./dist/web-speech-cognitive-services.js"
}
}
},
"main": "./dist/web-speech-cognitive-services.js",
"typings": "./dist/web-speech-cognitive-services.d.ts",
"scripts": {
"build": "tsup",
"bump": "npm run bump:prod && npm run bump:dev && npm run bump:auditfix",
"bump:auditfix": "npm audit fix || exit 0",
"bump:dev": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.devDependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
"bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
"precommit": "npm run precommit:eslint && npm run precommit:typescript:production && npm run precommit:typescript:test",
"precommit:eslint": "eslint ./src/",
"precommit:typescript:production": "tsc --noEmit --project ./src/tsconfig.precommit.production.json",
"precommit:typescript:test": "tsc --noEmit --project ./src/tsconfig.precommit.test.json",
"prepack": "cp ../../CHANGELOG.md . && cp ../../LICENSE . && cp ../../README.md .",
"switch": "cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json",
"start": "npm run build -- --onSuccess \"touch ../pages/src/app/index.jsx\" --watch",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/compulim/web-speech-cognitive-services.git"
},
"keywords": [

@@ -26,24 +62,4 @@ "cognitive services",

],
"main": "lib/index.js",
"files": [
"lib/**/*",
"umd/**/*"
],
"scripts": {
"build": "babel --out-dir lib --ignore **/*.spec.js,**/*.test.js --source-maps true src/",
"bump": "npm run bump:prod && npm run bump:dev",
"bump:dev": "npm install --legacy-peer-deps $(cat package.json | jq -r '(.devDependencies | keys) - (.skipBump | keys) | .[]' | awk '{print $1 \"@latest\"}')",
"bump:prod": "npm install --legacy-peer-deps --save-exact $(cat package.json | jq -r '(.dependencies | keys) - (.skipBump | keys) | .[]' | awk '{print $1 \"@latest\"}')",
"clean": "rimraf lib",
"eslint": "eslint src/**/*.js",
"prepublishOnly": "npm run eslint && npm run build",
"start": "npm run build -- --skip-initial-build --watch",
"test": "jest"
},
"author": "William Wong <compulim@hotmail.com> (http://compulim.info/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/compulim/web-speech-cognitive-services.git"
},
"bugs": {

@@ -53,34 +69,38 @@ "url": "https://github.com/compulim/web-speech-cognitive-services/issues"

"homepage": "https://github.com/compulim/web-speech-cognitive-services#readme",
"skipBump": {
"node-fetch": "node-fetch@3 does not support CommonJS"
"pinDependencies": {
"node-fetch": [
"2",
"jsdom does not support node-fetch@3 because missing TextDecoder"
]
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.1",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"babel-jest": "^29.0.3",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"dotenv": "^16.0.2",
"eslint": "^8.24.0",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@jest/globals": "^29.7.0",
"@tsconfig/recommended": "^1.0.6",
"@tsconfig/strictest": "^2.0.5",
"@types/dom-speech-recognition": "^0.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.13.0",
"dotenv": "^16.4.5",
"esbuild": "^0.21.4",
"global-agent": "^3.0.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lolex": "^6.0.0",
"microsoft-cognitiveservices-speech-sdk": "^1.17.0",
"node-fetch": "^2.6.7",
"prettier": "^2.7.1",
"rimraf": "^3.0.2"
"microsoft-cognitiveservices-speech-sdk": "^1.36.0",
"node-fetch": "^2.7.0",
"p-defer": "^4.0.1",
"prettier": "^3.3.0",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@babel/runtime": "7.19.0",
"base64-arraybuffer": "1.0.2",
"event-as-promise": "1.0.5",
"event-target-shim": "6.0.2",
"memoize-one": "6.0.0",
"on-error-resume-next": "1.1.0",
"p-defer": "4.0.0",
"p-defer-es5": "2.0.1",
"simple-update-in": "2.2.0"
"base64-arraybuffer": "^1.0.2",
"event-as-promise": "^2.0.0",
"event-target-shim": "^6.0.2",
"memoize-one": "^6.0.0",
"on-error-resume-next": "^2.0.1",
"simple-update-in": "^2.2.0",
"web-speech-cognitive-services": "^8.0.0-main.5903868"
},

@@ -87,0 +107,0 @@ "peerDependencies": {

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