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

bedrock

Package Overview
Dependencies
Maintainers
5
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock - npm Package Versions

23
7

4.5.1

Diff

Changelog

Source

4.5.1 - 2022-04-04 (backported fix)

Fixed

  • Fix winston child logger defaultMeta override bug.
dlongley
published 4.5.0 •

Changelog

Source

4.5.0 - 2022-03-22

Added

  • Add main export that includes information about the main program module such as its filename. The main program module will be properly computed on bedrock workers to express not the worker filename but the filename of the first loaded module, e.g., if an application foo.js calls bedrock.start, then main includes the full path filename for foo.js whether running in the primary process on a worker process.

Changed

  • Change internal implementation to use ESM + transpile using esm.js to CommonJS. Should be a non-breaking change.
dlongley
published 4.4.3 •

Changelog

Source

4.4.3 - 2021-12-08

Fixed

  • Ensure primary process does not exit before logger completes or errors so that the proper error code is returned.
  • Ensure an orderly exit is performed when nothing else is scheduled to run on the event loop on the primary process.
mattcollier
published 4.4.2 •

Changelog

Source

4.4.2 - 2021-11-04

Fixed

  • Signal handlers that prematurely terminated the primary or its workers have been refactored to allow an orderly exit. The primary and worker internal messaging and exit process has been cleaned up and simplified to help ensure more consistent outcomes and eliminate a number of bugs or unexpected states. Additionally, some unused IPC messages were removed. The expectation is that these changes do not affect existing applications except in those cases where those applications may have been exiting in inconsistent ways; the aim is for those applications to now exit the same way regardless of IPC message delivery order.
dlongley
published 4.4.1 •

Changelog

Source

4.4.1 - 2021-09-21

Fixed

  • Use Infinity for max event listeners instead of using 0 which is a proxy for it (from docs: "The value can be set to Infinity (or 0) to indicate an unlimited number of listeners."). Link: https://nodejs.org/api/events.html#events_emitter_setmaxlisteners_n This addresses problems with libraries (such as esm) that assume Infinity will be used and that make erroneous calculations if 0 is used instead (e.g., the esm library scales the max listeners from Infinity to 1 when the intention was to increase the max listeners by just 1).
mattcollier
published 4.4.0 •

Changelog

Source

4.4.0 - 2021-07-23

Added

  • Add new config config.loggers.enableFileTransport with a default of true. One can disable all file based logging by setting this value to false. This is useful for deployment targets such as Kubernetes that are only concerned with console logs.
msporny
published 4.3.0 •

Changelog

Source

4.3.0 - 2021-07-02

Added

  • Add unhandledRejection handler to deal with uncaught promises by causing the process to exit.
msporny
published 4.2.1 •

Changelog

Source

4.2.1 - 2021-07-01

Changed

  • Replace 'master' language in process, config, and logging to use 'primary'.
  • Backwards compatibility for config.core.master (removal planned for 5.x).
msporny
published 4.2.0 •

Changelog

Source

4.2.0 - 2021-06-30

Added

  • Add POSIX signal handler to emit bedrock.exit event prior to exiting.
mattcollier
published 4.1.1 •

Changelog

Source

4.1.1 - 2020-12-18

Fixed

  • Fix log levels in worker logger.
23
7
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