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 node-pty from 0.7.6 to 0.9.0 #3

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

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Apr 7, 2020

Snyk has created this PR to upgrade node-pty from 0.7.6 to 0.9.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 42 versions ahead of your current version.
  • The recommended version was released 6 months ago, on 2019-10-22.
Release notes
Package name: node-pty
  • 0.9.0 - 2019-10-22

    🚀 Features / API

    • New events API that is easier to use and plays nicer with TypeScript (#283) via @Tyriar
      pty.onData(d => console.log(d));
      pty.onExit(e => console.log(e.exitCode, e.signal));
    • cols and rows are now exposed on IPty (#290) via @Tyriar
      console.log(pty.cols, pty.rows)
    • Experimental flow control APIs are available (#304, #364) via @jerch. Note that they may be removed in the future, see node-pty.d.ts for details and xtermjs/xterm.js#2077 for discussion
    • Promoted conpty support to stable and removed experimental from name (#365) via @Tyriar
      // before
      const pty = spawn(file, args, { experimentalUseConpty: true });
      

      // after
      const pty = spawn(file, args, { useConpty: true });

    • Allow specifying the PSEUDOCONSOLE_INHERIT_CURSOR conpty flag with IWindowsPtyForkOptions.conptyInheritCursor (#309) via @Tyriar

    ⬆️ Dependencies

    🐞 Bug fixes

    • Fix passing null as encoding to use raw buffers (#273, #362) via @anszom, @Tyriar
    • Provide better error message when ioctl fails (#285) via @Tyriar
    • Restore default ctrl+c handler in conpty support (#287) via @Tyriar
    • Mark several APIs as readonly (#308) via @Tyriar
    • Fix crash when using conpty on 32-bit Windows (#314) via @ZoeyR
    • Fix handle inheritance for shells (#334) via @ZoeyR
    • Re-throw release binary require exception when debug require fails (#340) via @Tyriar
    • Avoid specifying /usr/*/lib under libraries (#343) via @deepak1556
    • Fix compilation when VWERASE/VDISCARD are named differently (#358) via @ThePrez
    • Protect calling resize with invalid values from crashing winpty (#363) via @Tyriar

    📝 Documentation and internal improvements

    ⚠️ Deprecations

    • The on event format is now deprecated and will be removed in v1 (#283) via @Tyriar
      // deprecated
      pty.on('data', d => console.log(d));
      

      // recommended
      pty.onData(d => console.log(d));

    🎉 New real-world use cases

  • 0.9.0-beta9 - 2019-05-22
  • 0.9.0-beta8 - 2019-05-22
  • 0.9.0-beta7 - 2019-05-22
  • 0.9.0-beta6 - 2019-05-19
  • 0.9.0-beta5 - 2019-05-18
  • 0.9.0-beta4 - 2019-05-16
  • 0.9.0-beta31 - 2019-10-22
  • 0.9.0-beta30 - 2019-10-22
  • 0.9.0-beta3 - 2019-05-15
  • 0.9.0-beta29 - 2019-10-22
  • 0.9.0-beta28 - 2019-10-16
  • 0.9.0-beta27 - 2019-10-07
  • 0.9.0-beta26 - 2019-09-11
  • 0.9.0-beta25 - 2019-09-04
  • 0.9.0-beta24 - 2019-08-08
  • 0.9.0-beta23 - 2019-08-08
  • 0.9.0-beta22 - 2019-08-06
  • 0.9.0-beta21 - 2019-07-26
  • 0.9.0-beta20 - 2019-07-26
  • 0.9.0-beta2 - 2019-05-12
  • 0.9.0-beta19 - 2019-07-06
  • 0.9.0-beta18 - 2019-06-07
  • 0.9.0-beta17 - 2019-06-04
  • 0.9.0-beta16 - 2019-05-30
  • 0.9.0-beta15 - 2019-05-30
  • 0.9.0-beta14 - 2019-05-28
  • 0.9.0-beta13 - 2019-05-24
  • 0.9.0-beta12 - 2019-05-24
  • 0.9.0-beta11 - 2019-05-22
  • 0.9.0-beta10 - 2019-05-22
  • 0.9.0-beta1 - 2019-05-10
  • 0.9.0-alpha3 - 2019-05-21
  • 0.9.0-alpha2 - 2019-05-17
  • 0.9.0-alpha1 - 2019-05-17
  • 0.8.2-beta1 - 2019-05-02
  • 0.8.1 - 2019-01-20

    Bug fixes

    • Fixed IPty.kill when using ConPTY (#262, #263) via @Tyriar
    • Changed ConPTY to be enabled by default on Windows build number 18309+ due to stability concerns (was previously 17692+) (#262) via @Tyriar
  • 0.8.0 - 2018-12-21

    Features

    Documentation and internal improvements

  • 0.7.8 - 2018-09-28

    Bug fixes

    • Fix Windows quoting of arguments when an argument contains both a space and non-surrounding quotes (#232) via @alexr00

    Documentation and internal improvements

    • Added a note to the README about security/containers (#231) via @Tyriar
    • Documented the fact that terminal creation can throw on Windows when the shell path doesn't exist (#227) via @alexr00
    • Improved debugging documentation (#226) via @Tyriar
    • Updated the version of Electron the example works on (#225) via @Tyriar
  • 0.7.8-conpty2 - 2018-12-21
  • 0.7.8-conpty1 - 2018-12-11
  • 0.7.7 - 2018-09-05

    Bug fixes

    • Fix handling of quote escapes on Windows (#222) via @alexr00, arguments that contain spaces that are not surrounded in quotes are now correctly quoted
    • Fixed an issue where kill didn't work anymore when used with a signal (#206) via @Tyriar, reverting the change in 0.7.5 to deliver signal to all slave processes
  • 0.7.6 - 2018-06-25

    Bug fixes

from node-pty GitHub release notes
Commit messages
Package name: node-pty
  • beac2b8 Merge pull request #366 from microsoft/r090
  • ff1c57b Merge pull request #365 from microsoft/conpty_stable
  • f9fc7a7 v0.9.0
  • 4deaa3a Remove experimental from conpty
  • b44c429 Merge pull request #364 from microsoft/experimental_fc
  • 766484c Mark flow control APIs are experimental
  • 0db311d Merge pull request #362 from microsoft/312_encoding_types
  • 70b2e94 Merge pull request #363 from microsoft/protect_resize
  • 3a896a5 Protect resize against NaN and Infinity
  • 9520129 Correct encoding types
  • 74edc71 Merge pull request #358 from ThePrez/ibmi
  • d64a9be Allow for differently-named VWERASE/VDISCARD
  • 932f1a2 Merge pull request #355 from microsoft/xterm41
  • a3c540e Merge branch 'master' into xterm41
  • 00fd05c Update electron example to xterm 4.1
  • d15af01 Merge pull request #350 from microsoft/xterm4
  • 0815402 Update example xterm to v4
  • 347f5dd Merge pull request #342 from microsoft/remove_pollUntil
  • 36d947e Disable failing test
  • 9009e60 Fix new Buffer warning
  • 398fbf6 Merge branch 'master' into remove_pollUntil
  • 3e64589 Merge pull request #343 from microsoft/remove_default_library_paths
  • 495efa2 build: don't specify /usr/*/lib paths under libraries
  • d34b965 Remove pollUntil, add unit test debug target

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant