web-speech-cognitive-services
Advanced tools
Comparing version 7.1.4-master.9e026d9 to 8.0.0-main.5903868
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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5865640
8
30261
20
13
13
+ Addedevent-as-promise@2.0.0(transitive)
+ Addedon-error-resume-next@2.0.1(transitive)
- Removed@babel/runtime@7.19.0
- Removedp-defer@4.0.0
- Removedp-defer-es5@2.0.1
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/cli@7.26.4(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.3(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.3(transitive)
- Removed@babel/helper-annotate-as-pure@7.25.9(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-create-class-features-plugin@7.25.9(transitive)
- Removed@babel/helper-create-regexp-features-plugin@7.26.3(transitive)
- Removed@babel/helper-define-polyfill-provider@0.6.3(transitive)
- Removed@babel/helper-member-expression-to-functions@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-optimise-call-expression@7.25.9(transitive)
- Removed@babel/helper-plugin-utils@7.25.9(transitive)
- Removed@babel/helper-remap-async-to-generator@7.25.9(transitive)
- Removed@babel/helper-replace-supers@7.25.9(transitive)
- Removed@babel/helper-skip-transparent-expression-wrappers@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helper-wrap-function@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(transitive)
- Removed@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(transitive)
- Removed@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(transitive)
- Removed@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(transitive)
- Removed@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(transitive)
- Removed@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(transitive)
- Removed@babel/plugin-syntax-import-assertions@7.26.0(transitive)
- Removed@babel/plugin-syntax-import-attributes@7.26.0(transitive)
- Removed@babel/plugin-syntax-unicode-sets-regex@7.18.6(transitive)
- Removed@babel/plugin-transform-arrow-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-async-generator-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-async-to-generator@7.25.9(transitive)
- Removed@babel/plugin-transform-block-scoped-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-block-scoping@7.25.9(transitive)
- Removed@babel/plugin-transform-class-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-class-static-block@7.26.0(transitive)
- Removed@babel/plugin-transform-classes@7.25.9(transitive)
- Removed@babel/plugin-transform-computed-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-destructuring@7.25.9(transitive)
- Removed@babel/plugin-transform-dotall-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-duplicate-keys@7.25.9(transitive)
- Removed@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-dynamic-import@7.25.9(transitive)
- Removed@babel/plugin-transform-exponentiation-operator@7.26.3(transitive)
- Removed@babel/plugin-transform-export-namespace-from@7.25.9(transitive)
- Removed@babel/plugin-transform-for-of@7.25.9(transitive)
- Removed@babel/plugin-transform-function-name@7.25.9(transitive)
- Removed@babel/plugin-transform-json-strings@7.25.9(transitive)
- Removed@babel/plugin-transform-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-logical-assignment-operators@7.25.9(transitive)
- Removed@babel/plugin-transform-member-expression-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-amd@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-commonjs@7.26.3(transitive)
- Removed@babel/plugin-transform-modules-systemjs@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-umd@7.25.9(transitive)
- Removed@babel/plugin-transform-named-capturing-groups-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-new-target@7.25.9(transitive)
- Removed@babel/plugin-transform-nullish-coalescing-operator@7.25.9(transitive)
- Removed@babel/plugin-transform-numeric-separator@7.25.9(transitive)
- Removed@babel/plugin-transform-object-rest-spread@7.25.9(transitive)
- Removed@babel/plugin-transform-object-super@7.25.9(transitive)
- Removed@babel/plugin-transform-optional-catch-binding@7.25.9(transitive)
- Removed@babel/plugin-transform-optional-chaining@7.25.9(transitive)
- Removed@babel/plugin-transform-parameters@7.25.9(transitive)
- Removed@babel/plugin-transform-private-methods@7.25.9(transitive)
- Removed@babel/plugin-transform-private-property-in-object@7.25.9(transitive)
- Removed@babel/plugin-transform-property-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-regenerator@7.25.9(transitive)
- Removed@babel/plugin-transform-regexp-modifiers@7.26.0(transitive)
- Removed@babel/plugin-transform-reserved-words@7.25.9(transitive)
- Removed@babel/plugin-transform-runtime@7.25.9(transitive)
- Removed@babel/plugin-transform-shorthand-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-spread@7.25.9(transitive)
- Removed@babel/plugin-transform-sticky-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-template-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-typeof-symbol@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-escapes@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-property-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-sets-regex@7.25.9(transitive)
- Removed@babel/preset-env@7.26.0(transitive)
- Removed@babel/preset-modules@0.1.6-no-external-plugins(transitive)
- Removed@babel/runtime@7.19.0(transitive)
- Removed@babel/runtime-corejs3@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.26.4(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@esbuild/linux-loong64@0.14.54(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3(transitive)
- Removed@types/normalize-package-data@2.4.4(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedbabel-plugin-polyfill-corejs2@0.4.12(transitive)
- Removedbabel-plugin-polyfill-corejs3@0.10.6(transitive)
- Removedbabel-plugin-polyfill-regenerator@0.6.3(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbraces@3.0.3(transitive)
- Removedbrowserslist@4.24.2(transitive)
- Removedcaniuse-lite@1.0.30001687(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedcommander@6.2.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcore-js-compat@3.39.0(transitive)
- Removedcore-js-pure@3.39.0(transitive)
- Removedelectron-to-chromium@1.5.72(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedesbuild@0.14.54(transitive)
- Removedesbuild-android-64@0.14.54(transitive)
- Removedesbuild-android-arm64@0.14.54(transitive)
- Removedesbuild-darwin-64@0.14.54(transitive)
- Removedesbuild-darwin-arm64@0.14.54(transitive)
- Removedesbuild-freebsd-64@0.14.54(transitive)
- Removedesbuild-freebsd-arm64@0.14.54(transitive)
- Removedesbuild-linux-32@0.14.54(transitive)
- Removedesbuild-linux-64@0.14.54(transitive)
- Removedesbuild-linux-arm@0.14.54(transitive)
- Removedesbuild-linux-arm64@0.14.54(transitive)
- Removedesbuild-linux-mips64le@0.14.54(transitive)
- Removedesbuild-linux-ppc64le@0.14.54(transitive)
- Removedesbuild-linux-riscv64@0.14.54(transitive)
- Removedesbuild-linux-s390x@0.14.54(transitive)
- Removedesbuild-netbsd-64@0.14.54(transitive)
- Removedesbuild-openbsd-64@0.14.54(transitive)
- Removedesbuild-sunos-64@0.14.54(transitive)
- Removedesbuild-windows-32@0.14.54(transitive)
- Removedesbuild-windows-64@0.14.54(transitive)
- Removedesbuild-windows-arm64@0.14.54(transitive)
- Removedescalade@3.2.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedevent-as-promise@1.0.5(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfind-up@6.3.0(transitive)
- Removedfs-readdir-recursive@1.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhosted-git-info@4.1.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedlocate-path@7.2.0(transitive)
- Removedlodash.debounce@4.0.8(transitive)
- Removedlru-cache@5.1.16.0.0(transitive)
- Removedmake-dir@2.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removednode-releases@2.0.19(transitive)
- Removednormalize-package-data@3.0.3(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedon-error-resume-next@1.1.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-defer@4.0.0(transitive)
- Removedp-defer-es5@2.0.1(transitive)
- Removedp-limit@4.0.0(transitive)
- Removedp-locate@6.0.0(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-exists@5.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpify@4.0.1(transitive)
- Removedread-pkg@7.1.0(transitive)
- Removedread-pkg-up@9.1.0(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedregenerate@1.4.2(transitive)
- Removedregenerate-unicode-properties@10.2.0(transitive)
- Removedregenerator-runtime@0.13.110.14.1(transitive)
- Removedregenerator-transform@0.15.2(transitive)
- Removedregexpu-core@6.2.0(transitive)
- Removedregjsgen@0.8.0(transitive)
- Removedregjsparser@0.12.0(transitive)
- Removedresolve@1.22.8(transitive)
- Removedsemver@5.7.26.3.17.6.3(transitive)
- Removedslash@2.0.0(transitive)
- Removedspdx-correct@3.2.0(transitive)
- Removedspdx-exceptions@2.5.0(transitive)
- Removedspdx-expression-parse@3.0.1(transitive)
- Removedspdx-license-ids@3.0.20(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedtype-fest@2.19.0(transitive)
- Removedunicode-canonical-property-names-ecmascript@2.0.1(transitive)
- Removedunicode-match-property-ecmascript@2.0.0(transitive)
- Removedunicode-match-property-value-ecmascript@2.2.0(transitive)
- Removedunicode-property-aliases-ecmascript@2.1.0(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedvalidate-npm-package-license@3.0.4(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyallist@3.1.14.0.0(transitive)
- Removedyocto-queue@1.1.1(transitive)
Updatedbase64-arraybuffer@^1.0.2
Updatedevent-as-promise@^2.0.0
Updatedevent-target-shim@^6.0.2
Updatedmemoize-one@^6.0.0
Updatedon-error-resume-next@^2.0.1
Updatedsimple-update-in@^2.2.0