Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
@mui/x-charts-vendor
Advanced tools
Vendored dependencies for @mui/x-charts.
An adaptation of the victory-vendor
D3 has released most of its libraries as ESM-only. This means that consumers in Node.js applications can no longer just require()
anything with a d3 transitive dependency, including much of @mui/x-charts.
To help provide an easy path to folks still using CommonJS in their Node.js applications that consume @mui/x-charts, we now provide this package to vendor in various d3-related packages.
Victory is using the d3-voronoid
which is an archived project.
Our chart library relies on the d3-delaunay
which is also ESM only and reuse robust-predicates
which is also ESM only
We presently provide the following top-level libraries:
This is the total list of top and transitive libraries we vendor:
We provide two alternate paths and behaviors -- for ESM and CommonJS
If you do a Node.js import like:
import { interpolate } from '@mui/x-charts-vendor/d3-interpolate';
under the hood it's going to just re-export and pass you through to node_modules/d3-interpolate
, the real ESM library from D3.
If you do a Node.js import like:
const { interpolate } = require('@mui/x-charts-vendor/d3-interpolate');
under the hood, it will go to an alternate path that contains the transpiled version of the underlying d3 library found at x-charts-vendor/lib-vendor/d3-interpolate/**/*.js
.
This further has internally consistent import references to other x-charts-vendor/lib-vendor/<pkg-name>
paths.
Note that for some tooling (like Jest) that doesn't play well with package.json:exports
routing to this CommonJS path, we also output a root file in the form of x-charts-vendor/d3-interpolate.js
.
This project is released under the MIT license, but the vendored in libraries include other licenses (for example ISC) that we enumerate in our package.json:license
field.
7.20.0
Oct 11, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
props.ContentComponent
and props.ContentProps
) have been deprecated and will be removed in the new major version of the Tree View component.Special thanks go out to the community contributors who have helped make this release possible: @k-rajat19, @kalyan90, @uma-neko, @vfbiby. Following are all team members who have contributed to this release: @alelthomas, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte, @oliviertassinari, @samuelsycamore, @siriwatknp.
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->FAQs
Vendored dependencies for MUI X Charts
The npm package @mui/x-charts-vendor receives a total of 146,070 weekly downloads. As such, @mui/x-charts-vendor popularity was classified as popular.
We found that @mui/x-charts-vendor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.