New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@channel/channel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@channel/channel - npm Package Versions

1.0.0

Diff

Changelog

Source

channel@1.0.0 - 2019-06-09

Added

  • The Channel class now exposes the static methods Channel.race, Channel.merge, Channel.zip and Channel.latest #4.

Changed

  • The close and stop arguments passed to executor have been merged as the second argument.
  • The stop promise resolves to argument passed to return if return is called.
  • The push function now resolves to the value passed to next.
  • The push function now unwraps promise-like values passed to push.
  • Buffers now throw an error if remove is called when the buffer is empty.
  • Channel properties and methods which don’t belong to the async iterator interface are now hidden using a private WeakMap.
  • Channels stop immediately when the executor throws an error.
  • Executor now runs synchronously when next is called for the first time (#10).
  • The final iteration result/errors are now consumed by iterator methods.
  • return/throw behave more like the methods do for async generators.
brainkim
published 1.0.0-alpha.1 •

brainkim
published 0.1.1 •

Changelog

Source

channel@0.1.1 - 2019-05-06

Added

  • Adds throw method to channels.
brainkim
published 0.1.0 •

Changelog

Source

channel@0.1.0 - 2019-04-08

  • Initial release.
brainkim
published 0.1.0-alpha.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc