Socket
Socket
Sign inDemoInstall

threadedclass

Package Overview
Dependencies
4
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234567Next

1.2.2

Diff

Changelog

Source

1.2.2 (2024-04-10)

Bug Fixes

  • don't reply with an error if the child is not available anymore (981b255)
  • handle throws in replyError (c1c9183)
nytamin
published 1.2.1 •

Changelog

Source

1.2.1 (2022-12-07)

Bug Fixes

  • linting errors (c3fedd5)
  • only apply custom loader for electron < 17.3 (1e063a1)
nytamin
published 1.2.1-nightly--20221205-135702-1e063a1.0 •

nytamin
published 1.2.0 •

Changelog

Source

1.2.0 (2022-11-23)

Features

  • add autoRestart retry options (52e4591)
  • add strict mode (75c4d4d)
  • allow disabling timeouts and add error types (5616a1a)

Bug Fixes

  • promise returned from restartChild (7b025f7)
  • refactor and fix an issue with autoRestartFailCount (e32dd03)
  • test failing inconsistently, and lint (5760962)
nytamin
published 1.1.2 •

Changelog

Source

1.1.2 (2022-11-02)

Bug Fixes

  • bug fix: it wasn't possible to call ThreadedClassManager.restart multiple times for the same instance (e93e5c5)
nytamin
published 1.1.1 •

Changelog

Source

1.1.1 (2022-09-23)

Bug Fixes

nytamin
published 1.1.1-nightly--20220811-060344-b3e48bb.0 •

nytamin
published 1.1.0 •

Changelog

Source

1.1.0 (2022-08-11)

Features

  • add custom killTimeout option (ff9847c)
  • add event to allow listening to side-effect errors (4ce09c9)
  • allow changing restart timeout (73057ac)

Bug Fixes

  • crash/failed test after restarted child (cbb37a1)
  • forward errors from WorkerThreads to consumers (9a36299)
  • forward errors upwards so that they can be caught (75685ae)
  • improve logging for when rejecting all methods (34a5fd2)
  • kill children if they crash during init (16c0427)
  • move restartTimeout to class options (dd5703e)
  • verify that restarted event is emitted correctly (64dac40)
  • when emitting or throwing errors, only do additional writes to console when the debug is enabled (4df8586)
nytamin
published 1.0.3-nightly--20220808-110410-b00ecb0.0 •

nytamin
published 1.0.3-nightly--20220408-083320-cd379f1.0 •

234567Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc