@mui/x-charts-vendor 7.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -0
- package/d3-color.d.ts +5 -0
- package/d3-color.js +7 -0
- package/d3-delaunay.d.ts +5 -0
- package/d3-delaunay.js +7 -0
- package/d3-interpolate.d.ts +5 -0
- package/d3-interpolate.js +7 -0
- package/d3-scale.d.ts +5 -0
- package/d3-scale.js +7 -0
- package/d3-shape.d.ts +5 -0
- package/d3-shape.js +7 -0
- package/d3-time.d.ts +5 -0
- package/d3-time.js +7 -0
- package/es/d3-array.js +6 -0
- package/es/d3-color.js +6 -0
- package/es/d3-delaunay.js +6 -0
- package/es/d3-format.js +6 -0
- package/es/d3-interpolate.js +6 -0
- package/es/d3-path.js +6 -0
- package/es/d3-scale.js +6 -0
- package/es/d3-shape.js +6 -0
- package/es/d3-time-format.js +6 -0
- package/es/d3-time.js +6 -0
- package/es/delaunator.js +6 -0
- package/es/internmap.js +6 -0
- package/es/robust-predicates.js +6 -0
- package/lib/d3-array.js +6 -0
- package/lib/d3-color.js +6 -0
- package/lib/d3-delaunay.js +6 -0
- package/lib/d3-format.js +6 -0
- package/lib/d3-interpolate.js +6 -0
- package/lib/d3-path.js +6 -0
- package/lib/d3-scale.js +6 -0
- package/lib/d3-shape.js +6 -0
- package/lib/d3-time-format.js +6 -0
- package/lib/d3-time.js +6 -0
- package/lib/delaunator.js +6 -0
- package/lib/internmap.js +6 -0
- package/lib/robust-predicates.js +6 -0
- package/lib-vendor/d3-array/LICENSE +13 -0
- package/lib-vendor/d3-array/dist/d3-array.js +1349 -0
- package/lib-vendor/d3-array/dist/d3-array.min.js +777 -0
- package/lib-vendor/d3-array/src/array.js +9 -0
- package/lib-vendor/d3-array/src/ascending.js +9 -0
- package/lib-vendor/d3-array/src/bin.js +126 -0
- package/lib-vendor/d3-array/src/bisect.js +15 -0
- package/lib-vendor/d3-array/src/bisector.js +59 -0
- package/lib-vendor/d3-array/src/blur.js +122 -0
- package/lib-vendor/d3-array/src/constant.js +9 -0
- package/lib-vendor/d3-array/src/count.js +24 -0
- package/lib-vendor/d3-array/src/cross.js +35 -0
- package/lib-vendor/d3-array/src/cumsum.js +11 -0
- package/lib-vendor/d3-array/src/descending.js +9 -0
- package/lib-vendor/d3-array/src/deviation.js +12 -0
- package/lib-vendor/d3-array/src/difference.js +16 -0
- package/lib-vendor/d3-array/src/disjoint.js +24 -0
- package/lib-vendor/d3-array/src/every.js +16 -0
- package/lib-vendor/d3-array/src/extent.js +35 -0
- package/lib-vendor/d3-array/src/filter.js +17 -0
- package/lib-vendor/d3-array/src/fsum.js +77 -0
- package/lib-vendor/d3-array/src/greatest.js +31 -0
- package/lib-vendor/d3-array/src/greatestIndex.js +23 -0
- package/lib-vendor/d3-array/src/group.js +67 -0
- package/lib-vendor/d3-array/src/groupSort.js +15 -0
- package/lib-vendor/d3-array/src/identity.js +9 -0
- package/lib-vendor/d3-array/src/index.js +539 -0
- package/lib-vendor/d3-array/src/intersection.js +23 -0
- package/lib-vendor/d3-array/src/least.js +31 -0
- package/lib-vendor/d3-array/src/leastIndex.js +23 -0
- package/lib-vendor/d3-array/src/map.js +11 -0
- package/lib-vendor/d3-array/src/max.js +24 -0
- package/lib-vendor/d3-array/src/maxIndex.js +26 -0
- package/lib-vendor/d3-array/src/mean.js +25 -0
- package/lib-vendor/d3-array/src/median.js +16 -0
- package/lib-vendor/d3-array/src/merge.js +14 -0
- package/lib-vendor/d3-array/src/min.js +24 -0
- package/lib-vendor/d3-array/src/minIndex.js +26 -0
- package/lib-vendor/d3-array/src/mode.js +33 -0
- package/lib-vendor/d3-array/src/nice.js +23 -0
- package/lib-vendor/d3-array/src/number.js +26 -0
- package/lib-vendor/d3-array/src/pairs.js +21 -0
- package/lib-vendor/d3-array/src/permute.js +9 -0
- package/lib-vendor/d3-array/src/quantile.js +55 -0
- package/lib-vendor/d3-array/src/quickselect.js +47 -0
- package/lib-vendor/d3-array/src/range.js +16 -0
- package/lib-vendor/d3-array/src/rank.js +30 -0
- package/lib-vendor/d3-array/src/reduce.js +28 -0
- package/lib-vendor/d3-array/src/reverse.js +10 -0
- package/lib-vendor/d3-array/src/scan.js +12 -0
- package/lib-vendor/d3-array/src/shuffle.js +20 -0
- package/lib-vendor/d3-array/src/some.js +16 -0
- package/lib-vendor/d3-array/src/sort.js +45 -0
- package/lib-vendor/d3-array/src/subset.js +11 -0
- package/lib-vendor/d3-array/src/sum.js +24 -0
- package/lib-vendor/d3-array/src/superset.js +28 -0
- package/lib-vendor/d3-array/src/threshold/freedmanDiaconis.js +14 -0
- package/lib-vendor/d3-array/src/threshold/scott.js +14 -0
- package/lib-vendor/d3-array/src/threshold/sturges.js +11 -0
- package/lib-vendor/d3-array/src/ticks.js +60 -0
- package/lib-vendor/d3-array/src/transpose.js +20 -0
- package/lib-vendor/d3-array/src/union.js +16 -0
- package/lib-vendor/d3-array/src/variance.js +31 -0
- package/lib-vendor/d3-array/src/zip.js +11 -0
- package/lib-vendor/d3-color/LICENSE +13 -0
- package/lib-vendor/d3-color/dist/d3-color.js +532 -0
- package/lib-vendor/d3-color/dist/d3-color.min.js +446 -0
- package/lib-vendor/d3-color/src/color.js +366 -0
- package/lib-vendor/d3-color/src/cubehelix.js +61 -0
- package/lib-vendor/d3-color/src/define.js +16 -0
- package/lib-vendor/d3-color/src/index.js +59 -0
- package/lib-vendor/d3-color/src/lab.js +117 -0
- package/lib-vendor/d3-color/src/math.js +8 -0
- package/lib-vendor/d3-delaunay/LICENSE +14 -0
- package/lib-vendor/d3-delaunay/dist/d3-delaunay.js +1398 -0
- package/lib-vendor/d3-delaunay/dist/d3-delaunay.min.js +853 -0
- package/lib-vendor/d3-delaunay/src/delaunay.js +282 -0
- package/lib-vendor/d3-delaunay/src/index.js +20 -0
- package/lib-vendor/d3-delaunay/src/path.js +43 -0
- package/lib-vendor/d3-delaunay/src/polygon.js +24 -0
- package/lib-vendor/d3-delaunay/src/voronoi.js +390 -0
- package/lib-vendor/d3-format/LICENSE +13 -0
- package/lib-vendor/d3-format/dist/d3-format.js +313 -0
- package/lib-vendor/d3-format/dist/d3-format.min.js +193 -0
- package/lib-vendor/d3-format/src/defaultLocale.js +23 -0
- package/lib-vendor/d3-format/src/exponent.js +10 -0
- package/lib-vendor/d3-format/src/formatDecimal.js +23 -0
- package/lib-vendor/d3-format/src/formatGroup.js +22 -0
- package/lib-vendor/d3-format/src/formatNumerals.js +13 -0
- package/lib-vendor/d3-format/src/formatPrefixAuto.js +18 -0
- package/lib-vendor/d3-format/src/formatRounded.js +14 -0
- package/lib-vendor/d3-format/src/formatSpecifier.js +42 -0
- package/lib-vendor/d3-format/src/formatTrim.js +25 -0
- package/lib-vendor/d3-format/src/formatTypes.js +25 -0
- package/lib-vendor/d3-format/src/identity.js +9 -0
- package/lib-vendor/d3-format/src/index.js +68 -0
- package/lib-vendor/d3-format/src/locale.js +152 -0
- package/lib-vendor/d3-format/src/precisionFixed.js +11 -0
- package/lib-vendor/d3-format/src/precisionPrefix.js +11 -0
- package/lib-vendor/d3-format/src/precisionRound.js +12 -0
- package/lib-vendor/d3-interpolate/LICENSE +13 -0
- package/lib-vendor/d3-interpolate/dist/d3-interpolate.js +543 -0
- package/lib-vendor/d3-interpolate/dist/d3-interpolate.min.js +362 -0
- package/lib-vendor/d3-interpolate/src/array.js +28 -0
- package/lib-vendor/d3-interpolate/src/basis.js +23 -0
- package/lib-vendor/d3-interpolate/src/basisClosed.js +18 -0
- package/lib-vendor/d3-interpolate/src/color.js +33 -0
- package/lib-vendor/d3-interpolate/src/constant.js +8 -0
- package/lib-vendor/d3-interpolate/src/cubehelix.js +32 -0
- package/lib-vendor/d3-interpolate/src/date.js +12 -0
- package/lib-vendor/d3-interpolate/src/discrete.js +12 -0
- package/lib-vendor/d3-interpolate/src/hcl.js +27 -0
- package/lib-vendor/d3-interpolate/src/hsl.js +27 -0
- package/lib-vendor/d3-interpolate/src/hue.js +14 -0
- package/lib-vendor/d3-interpolate/src/index.js +191 -0
- package/lib-vendor/d3-interpolate/src/lab.js +22 -0
- package/lib-vendor/d3-interpolate/src/number.js +11 -0
- package/lib-vendor/d3-interpolate/src/numberArray.js +20 -0
- package/lib-vendor/d3-interpolate/src/object.js +26 -0
- package/lib-vendor/d3-interpolate/src/piecewise.js +20 -0
- package/lib-vendor/d3-interpolate/src/quantize.js +11 -0
- package/lib-vendor/d3-interpolate/src/rgb.js +59 -0
- package/lib-vendor/d3-interpolate/src/round.js +11 -0
- package/lib-vendor/d3-interpolate/src/string.js +75 -0
- package/lib-vendor/d3-interpolate/src/transform/decompose.js +31 -0
- package/lib-vendor/d3-interpolate/src/transform/index.js +83 -0
- package/lib-vendor/d3-interpolate/src/transform/parse.js +25 -0
- package/lib-vendor/d3-interpolate/src/value.js +23 -0
- package/lib-vendor/d3-interpolate/src/zoom.js +66 -0
- package/lib-vendor/d3-path/LICENSE +13 -0
- package/lib-vendor/d3-path/dist/d3-path.js +161 -0
- package/lib-vendor/d3-path/dist/d3-path.min.js +92 -0
- package/lib-vendor/d3-path/src/index.js +24 -0
- package/lib-vendor/d3-path/src/path.js +158 -0
- package/lib-vendor/d3-scale/LICENSE +13 -0
- package/lib-vendor/d3-scale/dist/d3-scale.js +944 -0
- package/lib-vendor/d3-scale/dist/d3-scale.min.js +690 -0
- package/lib-vendor/d3-scale/src/band.js +87 -0
- package/lib-vendor/d3-scale/src/colors.js +11 -0
- package/lib-vendor/d3-scale/src/constant.js +11 -0
- package/lib-vendor/d3-scale/src/continuous.js +116 -0
- package/lib-vendor/d3-scale/src/diverging.js +91 -0
- package/lib-vendor/d3-scale/src/identity.js +27 -0
- package/lib-vendor/d3-scale/src/index.js +193 -0
- package/lib-vendor/d3-scale/src/init.js +38 -0
- package/lib-vendor/d3-scale/src/linear.js +67 -0
- package/lib-vendor/d3-scale/src/log.js +123 -0
- package/lib-vendor/d3-scale/src/nice.js +21 -0
- package/lib-vendor/d3-scale/src/number.js +9 -0
- package/lib-vendor/d3-scale/src/ordinal.js +44 -0
- package/lib-vendor/d3-scale/src/pow.js +44 -0
- package/lib-vendor/d3-scale/src/quantile.js +48 -0
- package/lib-vendor/d3-scale/src/quantize.js +46 -0
- package/lib-vendor/d3-scale/src/radial.js +53 -0
- package/lib-vendor/d3-scale/src/sequential.js +90 -0
- package/lib-vendor/d3-scale/src/sequentialQuantile.js +38 -0
- package/lib-vendor/d3-scale/src/symlog.js +35 -0
- package/lib-vendor/d3-scale/src/threshold.js +34 -0
- package/lib-vendor/d3-scale/src/tickFormat.js +37 -0
- package/lib-vendor/d3-scale/src/time.js +62 -0
- package/lib-vendor/d3-scale/src/utcTime.js +13 -0
- package/lib-vendor/d3-shape/LICENSE +13 -0
- package/lib-vendor/d3-shape/dist/d3-shape.js +2004 -0
- package/lib-vendor/d3-shape/dist/d3-shape.min.js +1389 -0
- package/lib-vendor/d3-shape/src/arc.js +250 -0
- package/lib-vendor/d3-shape/src/area.js +98 -0
- package/lib-vendor/d3-shape/src/areaRadial.js +42 -0
- package/lib-vendor/d3-shape/src/array.js +12 -0
- package/lib-vendor/d3-shape/src/constant.js +11 -0
- package/lib-vendor/d3-shape/src/curve/basis.js +62 -0
- package/lib-vendor/d3-shape/src/curve/basisClosed.js +70 -0
- package/lib-vendor/d3-shape/src/curve/basisOpen.js +54 -0
- package/lib-vendor/d3-shape/src/curve/bump.js +81 -0
- package/lib-vendor/d3-shape/src/curve/bundle.js +50 -0
- package/lib-vendor/d3-shape/src/curve/cardinal.js +69 -0
- package/lib-vendor/d3-shape/src/curve/cardinalClosed.js +76 -0
- package/lib-vendor/d3-shape/src/curve/cardinalOpen.js +60 -0
- package/lib-vendor/d3-shape/src/curve/catmullRom.js +92 -0
- package/lib-vendor/d3-shape/src/curve/catmullRomClosed.js +83 -0
- package/lib-vendor/d3-shape/src/curve/catmullRomOpen.js +67 -0
- package/lib-vendor/d3-shape/src/curve/linear.js +42 -0
- package/lib-vendor/d3-shape/src/curve/linearClosed.js +28 -0
- package/lib-vendor/d3-shape/src/curve/monotone.js +121 -0
- package/lib-vendor/d3-shape/src/curve/natural.js +67 -0
- package/lib-vendor/d3-shape/src/curve/radial.js +37 -0
- package/lib-vendor/d3-shape/src/curve/step.js +63 -0
- package/lib-vendor/d3-shape/src/descending.js +9 -0
- package/lib-vendor/d3-shape/src/identity.js +9 -0
- package/lib-vendor/d3-shape/src/index.js +436 -0
- package/lib-vendor/d3-shape/src/line.js +52 -0
- package/lib-vendor/d3-shape/src/lineRadial.js +24 -0
- package/lib-vendor/d3-shape/src/link.js +70 -0
- package/lib-vendor/d3-shape/src/math.js +26 -0
- package/lib-vendor/d3-shape/src/noop.js +7 -0
- package/lib-vendor/d3-shape/src/offset/diverging.js +20 -0
- package/lib-vendor/d3-shape/src/offset/expand.js +16 -0
- package/lib-vendor/d3-shape/src/offset/none.js +15 -0
- package/lib-vendor/d3-shape/src/offset/silhouette.js +16 -0
- package/lib-vendor/d3-shape/src/offset/wiggle.js +30 -0
- package/lib-vendor/d3-shape/src/order/appearance.js +23 -0
- package/lib-vendor/d3-shape/src/order/ascending.js +23 -0
- package/lib-vendor/d3-shape/src/order/descending.js +11 -0
- package/lib-vendor/d3-shape/src/order/insideOut.js +31 -0
- package/lib-vendor/d3-shape/src/order/none.js +12 -0
- package/lib-vendor/d3-shape/src/order/reverse.js +11 -0
- package/lib-vendor/d3-shape/src/path.js +22 -0
- package/lib-vendor/d3-shape/src/pie.js +79 -0
- package/lib-vendor/d3-shape/src/point.js +13 -0
- package/lib-vendor/d3-shape/src/pointRadial.js +9 -0
- package/lib-vendor/d3-shape/src/stack.js +55 -0
- package/lib-vendor/d3-shape/src/symbol/asterisk.js +21 -0
- package/lib-vendor/d3-shape/src/symbol/circle.js +14 -0
- package/lib-vendor/d3-shape/src/symbol/cross.js +25 -0
- package/lib-vendor/d3-shape/src/symbol/diamond.js +20 -0
- package/lib-vendor/d3-shape/src/symbol/diamond2.js +17 -0
- package/lib-vendor/d3-shape/src/symbol/plus.js +16 -0
- package/lib-vendor/d3-shape/src/symbol/square.js +14 -0
- package/lib-vendor/d3-shape/src/symbol/square2.js +17 -0
- package/lib-vendor/d3-shape/src/symbol/star.js +28 -0
- package/lib-vendor/d3-shape/src/symbol/times.js +16 -0
- package/lib-vendor/d3-shape/src/symbol/triangle.js +17 -0
- package/lib-vendor/d3-shape/src/symbol/triangle2.js +19 -0
- package/lib-vendor/d3-shape/src/symbol/wye.js +32 -0
- package/lib-vendor/d3-shape/src/symbol.js +50 -0
- package/lib-vendor/d3-time/LICENSE +13 -0
- package/lib-vendor/d3-time/dist/d3-time.js +367 -0
- package/lib-vendor/d3-time/dist/d3-time.min.js +190 -0
- package/lib-vendor/d3-time/src/day.js +30 -0
- package/lib-vendor/d3-time/src/duration.js +13 -0
- package/lib-vendor/d3-time/src/hour.js +28 -0
- package/lib-vendor/d3-time/src/index.js +417 -0
- package/lib-vendor/d3-time/src/interval.js +61 -0
- package/lib-vendor/d3-time/src/millisecond.js +29 -0
- package/lib-vendor/d3-time/src/minute.js +28 -0
- package/lib-vendor/d3-time/src/month.js +29 -0
- package/lib-vendor/d3-time/src/second.js +18 -0
- package/lib-vendor/d3-time/src/ticks.js +41 -0
- package/lib-vendor/d3-time/src/week.js +56 -0
- package/lib-vendor/d3-time/src/year.js +51 -0
- package/lib-vendor/d3-time-format/LICENSE +13 -0
- package/lib-vendor/d3-time-format/dist/d3-time-format.js +648 -0
- package/lib-vendor/d3-time-format/dist/d3-time-format.min.js +528 -0
- package/lib-vendor/d3-time-format/src/defaultLocale.js +32 -0
- package/lib-vendor/d3-time-format/src/index.js +60 -0
- package/lib-vendor/d3-time-format/src/isoFormat.js +13 -0
- package/lib-vendor/d3-time-format/src/isoParse.js +14 -0
- package/lib-vendor/d3-time-format/src/locale.js +606 -0
- package/lib-vendor/delaunator/LICENSE +15 -0
- package/lib-vendor/delaunator/delaunator.js +688 -0
- package/lib-vendor/delaunator/delaunator.min.js +316 -0
- package/lib-vendor/delaunator/index.js +440 -0
- package/lib-vendor/internmap/LICENSE +13 -0
- package/lib-vendor/internmap/dist/internmap.js +93 -0
- package/lib-vendor/internmap/dist/internmap.min.js +81 -0
- package/lib-vendor/internmap/src/index.js +87 -0
- package/lib-vendor/robust-predicates/LICENSE +24 -0
- package/lib-vendor/robust-predicates/esm/incircle.js +667 -0
- package/lib-vendor/robust-predicates/esm/insphere.js +693 -0
- package/lib-vendor/robust-predicates/esm/orient2d.js +174 -0
- package/lib-vendor/robust-predicates/esm/orient3d.js +422 -0
- package/lib-vendor/robust-predicates/esm/util.js +147 -0
- package/lib-vendor/robust-predicates/index.js +57 -0
- package/lib-vendor/robust-predicates/umd/incircle.js +798 -0
- package/lib-vendor/robust-predicates/umd/incircle.min.js +170 -0
- package/lib-vendor/robust-predicates/umd/insphere.js +828 -0
- package/lib-vendor/robust-predicates/umd/insphere.min.js +223 -0
- package/lib-vendor/robust-predicates/umd/orient2d.js +260 -0
- package/lib-vendor/robust-predicates/umd/orient2d.min.js +69 -0
- package/lib-vendor/robust-predicates/umd/orient3d.js +550 -0
- package/lib-vendor/robust-predicates/umd/orient3d.min.js +133 -0
- package/lib-vendor/robust-predicates/umd/predicates.js +2073 -0
- package/lib-vendor/robust-predicates/umd/predicates.min.js +468 -0
- package/package.json +63 -0
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Charts Vendor
|
|
2
|
+
|
|
3
|
+
Vendored dependencies for @mui/x-charts.
|
|
4
|
+
|
|
5
|
+
An adaptation of the victory-vendor
|
|
6
|
+
|
|
7
|
+
## Background
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
## Main difference with victory-vendor
|
|
14
|
+
|
|
15
|
+
Victory is using the `d3-voronoid` which is an archived project.
|
|
16
|
+
Our chart library relies on the `d3-delaunay` which is also ESM only and reuse `robust-predicates` which is also ESM only
|
|
17
|
+
|
|
18
|
+
## Packages
|
|
19
|
+
|
|
20
|
+
We presently provide the following top-level libraries:
|
|
21
|
+
|
|
22
|
+
- d3-color
|
|
23
|
+
- d3-delaunay
|
|
24
|
+
- d3-interpolate
|
|
25
|
+
- d3-scale
|
|
26
|
+
- d3-shape
|
|
27
|
+
- d3-time
|
|
28
|
+
- delaunator
|
|
29
|
+
- robust-predicate
|
|
30
|
+
|
|
31
|
+
This is the total list of top and transitive libraries we vendor:
|
|
32
|
+
|
|
33
|
+
- d3-array
|
|
34
|
+
- d3-color
|
|
35
|
+
- d3-delaunay
|
|
36
|
+
- d3-format
|
|
37
|
+
- d3-interpolate
|
|
38
|
+
- d3-path
|
|
39
|
+
- d3-scale
|
|
40
|
+
- d3-shape
|
|
41
|
+
- d3-time
|
|
42
|
+
- d3-time-format
|
|
43
|
+
- delaunator
|
|
44
|
+
- internmap
|
|
45
|
+
- robust-predicates
|
|
46
|
+
|
|
47
|
+
## How it works
|
|
48
|
+
|
|
49
|
+
We provide two alternate paths and behaviors -- for ESM and CommonJS
|
|
50
|
+
|
|
51
|
+
### ESM
|
|
52
|
+
|
|
53
|
+
If you do a Node.js import like:
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
import { interpolate } from '@mui/x-charts-vendor/d3-interpolate';
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
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.
|
|
60
|
+
|
|
61
|
+
### CommonJS
|
|
62
|
+
|
|
63
|
+
If you do a Node.js import like:
|
|
64
|
+
|
|
65
|
+
```js
|
|
66
|
+
const { interpolate } = require('@mui/x-charts-vendor/d3-interpolate');
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
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`.
|
|
70
|
+
This further has internally consistent import references to other `x-charts-vendor/lib-vendor/<pkg-name>` paths.
|
|
71
|
+
|
|
72
|
+
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`.
|
|
73
|
+
|
|
74
|
+
## Licenses
|
|
75
|
+
|
|
76
|
+
This project is released under the MIT license, but the vendored in libraries include other licenses (e.g. ISC) that we enumerate in our `package.json:license` field.
|
package/d3-color.d.ts
ADDED
package/d3-color.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-color` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-color/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-color");
|
package/d3-delaunay.d.ts
ADDED
package/d3-delaunay.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-delaunay` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-delaunay/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-delaunay");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-interpolate` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-interpolate/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-interpolate");
|
package/d3-scale.d.ts
ADDED
package/d3-scale.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-scale` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-scale/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-scale");
|
package/d3-shape.d.ts
ADDED
package/d3-shape.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-shape` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-shape/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-shape");
|
package/d3-time.d.ts
ADDED
package/d3-time.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-time` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-time/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// This file only exists for tooling that doesn't work yet with package.json:exports
|
|
6
|
+
// by proxying through the CommonJS version.
|
|
7
|
+
module.exports = require("./lib/d3-time");
|
package/es/d3-array.js
ADDED
package/es/d3-color.js
ADDED
package/es/d3-format.js
ADDED
package/es/d3-path.js
ADDED
package/es/d3-scale.js
ADDED
package/es/d3-shape.js
ADDED
package/es/d3-time.js
ADDED
package/es/delaunator.js
ADDED
package/es/internmap.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/robust-predicates` (ESM)
|
|
3
|
+
// See upstream license: https://github.com/mourner/robust-predicates/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our ESM package uses the underlying installed dependencies of `node_modules/robust-predicates`
|
|
6
|
+
export * from "robust-predicates";
|
package/lib/d3-array.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-array` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-array/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-array`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-array/src/index.js");
|
package/lib/d3-color.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-color` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-color/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-color`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-color/src/index.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-delaunay` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-delaunay/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-delaunay`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-delaunay/src/index.js");
|
package/lib/d3-format.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-format` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-format/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-format`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-format/src/index.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-interpolate` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-interpolate/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-interpolate`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-interpolate/src/index.js");
|
package/lib/d3-path.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-path` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-path/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-path`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-path/src/index.js");
|
package/lib/d3-scale.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-scale` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-scale/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-scale`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-scale/src/index.js");
|
package/lib/d3-shape.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-shape` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-shape/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-shape`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-shape/src/index.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-time-format` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-time-format/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-time-format`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-time-format/src/index.js");
|
package/lib/d3-time.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/d3-time` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/d3/d3-time/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/d3-time`
|
|
6
|
+
module.exports = require("../lib-vendor/d3-time/src/index.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/delaunator` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/mapbox/delaunator/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/delaunator`
|
|
6
|
+
module.exports = require("../lib-vendor/delaunator/src/index.js");
|
package/lib/internmap.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/internmap` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/mbostock/internmap/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/internmap`
|
|
6
|
+
module.exports = require("../lib-vendor/internmap/src/index.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
// `x-charts-vendor/robust-predicates` (CommonJS)
|
|
3
|
+
// See upstream license: https://github.com/mourner/robust-predicates/blob/main/LICENSE
|
|
4
|
+
//
|
|
5
|
+
// Our CommonJS package relies on transpiled vendor files in `lib-vendor/robust-predicates`
|
|
6
|
+
module.exports = require("../lib-vendor/robust-predicates/src/index.js");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2010-2023 Mike Bostock
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
4
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
5
|
+
and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
9
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
11
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
12
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
13
|
+
THIS SOFTWARE.
|