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.9.0 to 0.10.1 #1

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

Conversation

alexandre-cezar
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade node-pty from 0.9.0 to 0.10.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.


  • The recommended version is 23 versions ahead of your current version.

  • The recommended version was released on 3 years ago.

Release notes
Package name: node-pty
  • 0.10.1 - 2021-04-23
  • 0.10.0 - 2021-02-04

    🚀 Features

    • Expose IPty.pause(), IPty.resume() APIs to pause and resume the socket respectively (#452) via @ meganrogge, this can be used to implement flow control by blocking the process output

    🐞 Bug fixes

    • Don't resolve symlinks when launching shell by setting $PWD (#156) via @ vvavrychuk
    • Temporarily block signals during forking (#218) via @ jerch
    • Throw when args is not a string | string[] (#396) via @ Tyriar
    • Fix process name returning garbled text sometimes on macOS (#401) via @ Tyriar

    📝 Documentation and internal improvements

    🎉 New real-world use cases

  • 0.10.0-beta9 - 2020-04-30
  • 0.10.0-beta8 - 2020-04-15
  • 0.10.0-beta7 - 2020-04-07
  • 0.10.0-beta6 - 2020-04-07
  • 0.10.0-beta5 - 2020-04-05
  • 0.10.0-beta4 - 2020-03-03
  • 0.10.0-beta3 - 2019-10-25
  • 0.10.0-beta20 - 2021-01-20
  • 0.10.0-beta2 - 2019-10-24
  • 0.10.0-beta19 - 2021-01-14
  • 0.10.0-beta18 - 2020-10-15
  • 0.10.0-beta17 - 2020-09-08
  • 0.10.0-beta16 - 2020-08-13
  • 0.10.0-beta15 - 2020-07-31
  • 0.10.0-beta14 - 2020-07-17
  • 0.10.0-beta13 - 2020-07-08
  • 0.10.0-beta12 - 2020-06-10
  • 0.10.0-beta11 - 2020-06-08
  • 0.10.0-beta10 - 2020-06-04
  • 0.10.0-beta1 - 2019-10-22
  • 0.10.0-alpha1 - 2020-06-09
  • 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

from node-pty GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade node-pty from 0.9.0 to 0.10.1.

See this package in npm:
node-pty

See this project in Snyk:
https://app.snyk.io/org/alexandrecezar.usa/project/3fc8d1ec-6f01-4be4-aa0d-fd61cc572fda?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

2 participants