Socket
Socket
Sign inDemoInstall

nanolith

Package Overview
Dependencies
1
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
10Next

0.4.2

Diff

Changelog

Source

[0.4.2] - 2023-8-2

Changed

  • Minor refactors & performance improvements.
  • README image.

Added

  • ServiceClusterOptions and optional autoRenew option.
  • Accept exit codes in the Service.close() and exceptionHandler.terminate() functions.
  • SharedMap.delete() method.
  • New clause to the license.

Fixed

  • SharedMap.get() returning null for non-existent properties, but returning the string of 'null' for existing properties with values set to null.
  • Service.call() hanging forever if the underlying task uses process.exit().
mstephen19
published 0.4.2-beta4 •

mstephen19
published 0.4.2-beta3 •

mstephen19
published 0.4.2-beta2 •

mstephen19
published 0.4.2-beta1 •

mstephen19
published 0.4.1 •

Changelog

Source

[0.4.1] - 2023-5-2

Changed

  • pool to use shared values for the active count and concurrency count, enabling the spawning of new threads from other threads.
  • pool to allow for the enqueuing of new items on all threads.
  • define() to always return the Nanolith instance, regardless of whether or not it is being run on the main thread.
  • Renamed MainThread to ParentThread to match the changes made above + update docs.
  • Change "performant" to "scalable" in "About" section in README.
  • Renamed all MainThread... message body types to be ParentThread... instead.
  • Default max concurrency of pool from 1 thread per core to 2 threads per core + docs update.

Added

  • Test for the safeMode option with define().
  • getDefaultPoolConcurrency() function exported from root + docs.
mstephen19
published 0.4.0-test1 •

mstephen19
published 0.4.0 •

mstephen19
published 0.3.9 •

mstephen19
published 0.3.9-beta3 •

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