Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@storybook/node-logger
Advanced tools
Any node logging that is done through storybook should be done through this package.
The @storybook/node-logger package is a utility for logging within the Storybook ecosystem, specifically tailored for Node.js environments. It provides a standardized way to handle logging across different parts of Storybook applications, making it easier to debug and maintain code.
Customizable logging levels
This feature allows developers to log messages at different levels (info, warn, error), which can be useful for filtering logs based on their importance or severity.
const { logger } = require('@storybook/node-logger');
logger.info('Information message');
logger.warn('Warning message');
logger.error('Error message');
Consistent log formatting
Ensures that all log messages follow a consistent format, making it easier to read and analyze logs.
const { logger } = require('@storybook/node-logger');
logger.info('Starting application...');
logger.error('Failed to start application');
Winston is a multi-transport async logging library for Node.js. Compared to @storybook/node-logger, Winston offers more flexibility and customization options, including multiple storage options for logs, custom log levels, and the ability to query logged data.
Bunyan is a simple and fast JSON logging library for Node.js services. It provides a similar structured logging approach as @storybook/node-logger but with additional features like log rotation, stream-based logging, and a dedicated CLI for better log viewing.
Any node logging that is done through storybook should be done through this package.
Examples:
import { logger } from '@storybook/node-logger';
logger.info('Info message');
logger.warn('Warning message');
logger.error('Error message');
For more information visit: storybook.js.org
7.0.0-alpha.34 (September 27, 2022)
storyIdToEntry
explicitly #19123cra-kitchen-sink
example #19179FAQs
Unknown package
The npm package @storybook/node-logger receives a total of 3,010,081 weekly downloads. As such, @storybook/node-logger popularity was classified as popular.
We found that @storybook/node-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.