Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promise-socket

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-socket - npm Package Versions

23

8.0.0

Diff

Changelog

Source

v8.0.0 2024-06-21

  • Converted to ESM module.
  • Requires Node >= 16.
  • Uses "node:" prefix for Node.js modules.
  • Uses promise-writable with listeners leak fixed in dex4er/js-promise-writable#55; closes dex4er/js-promise-socket#63.
  • Uses promise-duplex with closed property that works with Node.js >= 16; closes dex4er/js-promise-socket#77.
  • setTimeout returns this; closes: dex4er/js-promise-socket#72.
dex4er
published 7.0.0 •

Changelog

Source

v7.0.0 2020-08-11

  • Requires Node >= 10.
  • Converted from tslint to eslint.
  • Uses @types/node v14.
dex4er
published 6.0.3 •

Changelog

Source

v6.0.3 2019-12-26

  • promise-readable@5.0.4: chunk returned by read method might be an empty string.
dex4er
published 6.0.2 •

Changelog

Source

v6.0.2 2019-10-07

  • Use mocha-steps for testing.
dex4er
published 6.0.1 •

Changelog

Source

v6.0.1 2019-10-07

  • Compatibility with newer NodeJS typings.
  • Updated dependencies.
dex4er
published 6.0.0 •

Changelog

Source

v6.0.0 2019-07-15

  • Uses promise-readable and promise-writable v5.
  • writeAll method doesn't close a socket.
  • PromiseReadable implements AsyncIterable so it is possible to use for await (const chunk of promiseReadable) loop.
  • New method iterate is provided.
dex4er
published 5.0.0 •

Changelog

Source

v5.0.0 2019-06-14

  • Method setTimeout sets an event handler that destroys a socket with TimeoutError. The handler is removed if timeout is equal 0.
dex4er
published 4.0.1 •

Changelog

Source

v4.0.1 2019-06-04

  • Minor tweaks in README.
  • Added source map to the package.
dex4er
published 4.0.0 •

Changelog

Source

v4.0.0 2019-05-10

  • Rewritten in Typescript.
  • Dropped support for Node < 6.
dex4er
published 3.1.1 •

Changelog

Source

v3.1.1 2018-05-22

  • Support connect(port, host) method arguments, again.
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