Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @google-cloud/speech from 0.6.0 to 0.11.0 #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade @google-cloud/speech from 0.6.0 to 0.11.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 12 versions ahead of your current version.
  • The recommended version was released 2 years ago, on 2017-11-06.

The recommended version fixes:

Severity Issue Exploit Maturity
Uninitialized Memory Exposure
npm:tunnel-agent:20170305
Proof of Concept
Prototype Pollution
SNYK-JS-DOTPROP-543489
Proof of Concept
Release notes
Package name: @google-cloud/speech
  • 0.11.0 - 2017-11-06

    release level

    This is the (hopefully) final release candidate before declaring a stable release.

    ⚠️ Breaking Changes!

    New client class

    The client object is no longer initialized with require('@google-cloud/speech').v1(). This used to return a function that built and returned an internal class.

    We now expose an ES6 class directly; there are no wrappers or obfuscation. Basic usage looks like this:

    // Import the language module.
    const speech = require('@google-cloud/speech');
    

    // Instantiate a client class.
    let client = new speech.SpeechClient();

    Features

    Runnable samples

    There are now runnable samples in the samples/ directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.

    Implementation Details

    • Change to a new linter (ESLint) and code style formatter (prettify).
    • Update docs to use JSDoc 3.
    • Migrate to the googleapis/nodejs-speech repository.

    Refer to the nodejs-speech API reference documentation for details.

  • 0.10.3 - 2017-09-05

    release level

    Dependencies

    • Update google-proto-files (#2592)
  • 0.10.2 - 2017-07-28

    release level

    Features

    • Add support for WordTimeOffset (#2493)

    Dependencies

    • Remove google-proto-files dependency. (#2458)
  • 0.10.1 - 2017-07-17

    release level

    Bugfixes

    • Keep bi-directional request streams alive for piped streams. (#2461)
  • 0.10.0 - 2017-07-15

    release level

    ⚠️ Breaking Changes

    The majority of our Speech API has changed (PR: #2459). Please refer to the API documentation for more information on how to use the module.

    Please open an issue with any feedback, questions, or issues. We're happy to help during the transition.

    Features

    • The Node.js Speech client library is now supported at the beta quality level.
  • 0.9.4 - 2017-07-05

    release level

    Features

    • Update parameters under which requests are retried (#2390)
  • 0.9.3 - 2017-06-04

    release level

    Documentation

    • Updated documentation to point to the v1 endpoint. (#2219)

    Dependencies

    • Update dependencies.
  • 0.9.2 - 2017-05-13

    release level

    Bugfixes

    • Reverted the use of a trailing dot after googleapis.com because it flatly broke Android. (#2283)
  • 0.9.1 - 2017-04-14

    release level

    Features

    • Update FQDN's to googleapis.com. with a trailing dot. (#2214)
  • 0.9.0 - 2017-04-11

    release level

    ⚠️ Breaking Changes

    API upgraded to v1

    This release introduces the Speech v1 API, which brings a few small, but significant changes.

    • English as the default language is no longer assumed.

    • sampleRate sampleRateHertz

    These changes affect all API requests.

    var request = {
      config: {
    +    languageCode: 'en-US',  // <-- Now required!
        encoding: 'LINEAR16',
    -    sampleRate: 16000,
    +    sampleRateHertz: 16000,  // <-- Not `sampleRate` anymore!
      }
    };

    Additionally, the following endpointer types have been removed:

    • Speech.endpointerTypes.START_OF_SPEECH
    • Speech.endpointerTypes.END_OF_SPEECH
    • Speech.endpointerTypes.END_OF_AUDIO

    The event types that now exist are:

    • Speech.eventTypes.ENDPOINTER_EVENT_UNSPECIFIED: No event specified.
    • Speech.eventTypes.END_OF_SINGLE_UTTERANCE: Indicates that the server has detected the end of the user's speech utterance and expects no additional speech.
  • 0.8.0 - 2017-03-31
  • 0.7.0 - 2017-03-03
  • 0.6.0 - 2017-01-31
from @google-cloud/speech GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant