Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@storybook/telemetry
Advanced tools
@storybook/telemetry is a package used to collect anonymous usage data from Storybook instances. This data helps the Storybook team understand how the tool is being used and improve it accordingly.
Telemetry Initialization
Initializes the telemetry system for a Storybook project, allowing it to start collecting usage data.
const telemetry = require('@storybook/telemetry');
telemetry.init({
project: 'my-storybook-project',
version: '1.0.0'
});
Sending Custom Events
Sends a custom event to the telemetry system, which can be used to track specific actions or occurrences within the Storybook instance.
telemetry.sendEvent({
eventType: 'custom-event',
payload: {
key: 'value'
}
});
Disabling Telemetry
Disables the telemetry system, stopping any further data collection from the Storybook instance.
telemetry.disable();
Analytics-node is a package for sending data to Segment, a customer data platform. It allows you to track events and user actions, similar to @storybook/telemetry, but is more general-purpose and not specific to Storybook.
Amplitude-js is a JavaScript SDK for Amplitude, a product analytics service. It provides similar functionality to @storybook/telemetry in terms of tracking user interactions and events, but is designed for broader application analytics.
Mixpanel is an analytics platform that helps you understand how users interact with your application. The Mixpanel JavaScript library allows you to track events and user actions, similar to @storybook/telemetry, but is more focused on product analytics.
Storybook collects completely anonymous telemetry data about general usage. Participation in this program is optional and it’s easy to opt-out.
For more information visit: storybook.js.org/telemetry
7.0.0-beta.34 (January 26, 2023)
FAQs
Telemetry logging for crash reports and usage statistics
The npm package @storybook/telemetry receives a total of 1,460,992 weekly downloads. As such, @storybook/telemetry popularity was classified as popular.
We found that @storybook/telemetry 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.