Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@statoscope/stats-extension-custom-reports
Advanced tools
Statoscope extension to store custom reports in stats
Statoscope extension to store custom reports in stats.
A custom report is:
export type Report<TData, TContext> = {
id: string; // report id
name?: string; // report title
compilation?: string | null; // if specified then a report will be shown only in specific compilation
data?: TData | (() => Promise<TData> | TData); // raw data for the report or a function that produces a data (may return promise)
view: string | ViewConfig<TData, TContext>; // any DiscoveryJS. String turns to script to eval
};
Sometimes we need to make a report with more complex view (e.g. with event handling).
JSON can't handle functions, but you can pass any script source into view
-property instead of JSON.
This source will be eval
ed on client and should return any DiscoveryJS view.
my-custom-report-view.js:
(() => [
{
view: 'button',
data: {
text: 'Click me',
},
onClick() {
alert('It works!');
},
},
])();
Report config:
({
id: 'foo',
view: fs.readFileSync('./my-custom-report-view.js', 'utf8')
})
5.23.0 (14 July 2022)
[helpers]
- update jora
to 1.0.0-beta.7[webpack-ui]
- update @discoveryjs/discovery
to 1.0.0-beta.66[webpack-ui]
- update highcharts
to 10.2.0[webpack-model]
- refactor chunk graph building (fixes bugs of chunks relations accuracy)FAQs
Statoscope extension to store custom reports in stats
The npm package @statoscope/stats-extension-custom-reports receives a total of 48,251 weekly downloads. As such, @statoscope/stats-extension-custom-reports popularity was classified as popular.
We found that @statoscope/stats-extension-custom-reports demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.