bedrock
bedrock copied to clipboard
Bedrock: A core foundation for rich Web applications.
A `shutdown()` API is added to perform orderly shutdown. This came about due to how `bedrock-test` was exiting. In the flow it uses, calling `bedrock.exit()` or `process.exit()` after successful testing...
https://github.com/digitalbazaar/bedrock?tab=readme-ov-file#runnable-examples Both links provided there are obsolete. Probably best to just remove that section for now.
https://github.com/digitalbazaar/bedrock/blob/eaac0b907fcbb8c47ed70977efbeb7a781345c0a/lib/util.js#L80-L82 This code assumes that every `cause` would be a BedrockError that would be explicitly marked as public. It is not common practice to wrap every error that might be...
The next major release, remove `config.cli.command` and export it as a symbol instead.
Modern applications do not use file loggers, they send console logs through docker / cloud style tools.
Need to explain that bedrock does provide a test framework and links to bedrock-test.
This would be expected to pass: ```js describe('when dealing with nested objects', function() { it('should not throw if registered field is changed', function() { const config = { nested: {...
The `passwd-user` package brings in ~10+ dependencies just to parse `/etc/passwd`. We should either replace this with a smaller / simpler package or just write a quick and simple `/etc/passwd`...