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 throat from 5.0.0 to 6.0.1 #286

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

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade throat from 5.0.0 to 6.0.1.

ℹ️ 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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 2 years ago, on 2021-01-20.
Release notes
Package name: throat
  • 6.0.1 - 2021-01-20

    Performance Improvements

    • Optimise the queue again (#57)

      6.0.0 was significantly slower than 5.0.0. This restores the balance. Each of these benchmarks is run 10x times, in order to make the numbers reasonably stable for comparison.

      5.0.0 benchmark:

      limit=10
      10 promises: 1.118ms
      100 promises: 31.778ms
      1000 promises: 22.806ms
      10000 promises: 59.501ms
      100000 promises: 941.285ms
      1000000 promises: 11.569s
      limit=1000000
      10 promises: 0.177ms
      100 promises: 0.425ms
      1000 promises: 4.904ms
      10000 promises: 84.251ms
      100000 promises: 1.081s
      1000000 promises: 13.656s
      

      6.0.0 benchmark:

      limit=10
      10 promises: 1.122ms
      100 promises: 18.4ms
      1000 promises: 34.742ms
      10000 promises: 86.504ms
      100000 promises: 1.475s
      1000000 promises: 20.298s
      limit=1000000
      10 promises: 0.264ms
      100 promises: 0.424ms
      1000 promises: 5.6ms
      10000 promises: 93.45ms
      100000 promises: 1.466s
      1000000 promises: 20.109s
      

      6.0.1 benchmark:

      limit=10
      10 promises: 1.217ms
      100 promises: 4.433ms
      1000 promises: 49.928ms
      10000 promises: 67.578ms
      100000 promises: 958.481ms
      1000000 promises: 10.542s
      limit=1000000
      10 promises: 0.118ms
      100 promises: 0.424ms
      1000 promises: 4.993ms
      10000 promises: 84.649ms
      100000 promises: 1.163s
      1000000 promises: 13.297s
      
  • 6.0.0 - 2021-01-20

    Breaking Changes

    • Throat no longer supports overriding the Promise implementation (#56)

      If you need to support older browsers, you should use a global polyfill. If you want throat to return a different type of Promise, you should manually wrap the result using CustomPromise.resolve(...)

    • Older browsers are no longer tested, although most will continue to work if you include a polyfill for Promise (#56)

      We are still testing on:

      • Microsoft Edge version 15
      • Google Chrome version 55
      • Firefox version 52
      • Safari version 12
      • iOS Safari version 11
    • Node.js version 8 is no longer tested, although it will probably continue to work (#56)

    New Features

    • Environments that support async stack traces will now show the full stack trace when using throat. Previously throat calls effectively cut the stack trace off at that call. (#56)
  • 5.0.0 - 2019-05-24
    • Breaking Change: drop support for node 4 and 5
    • fix: improve typescript types and support using TypeScript's default import style
from throat GitHub release notes
Commit messages
Package name: throat

Compare


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
Development

Successfully merging this pull request may close these issues.

None yet

1 participant