Open micahstubbs opened 6 years ago
here's an initial list of ~247
candidate d3 modules that we might want our regular expression to match:
[
"490c1d3b8955f8681f24.js",
"L.TileLayer.d3_JSON_mapsense.js",
"TileLayer.d3_geoJSON.js",
"TileLayer.d3_topoJSON.js",
"angularjs-nvd3-directives.min.js",
"backbone.d3view.js",
"crime-map-d3carto.js",
"d3-ForceEdgeBundling.js",
"d3-array.v0.6.min.js",
"d3-array.v0.7.min.js",
"d3-axis.v0.2.min.js",
"d3-collection.v0.1.min.js",
"d3-color.v0.3.min.js",
"d3-color.v0.4.min.js",
"d3-comparator.js",
"d3-context-menu.js",
"d3-dropdownmenu.js",
"d3-ease.v0.7.min.js",
"d3-financial-components.min.js",
"d3-format.v0.5.min.js",
"d3-glyphEdge.js",
"d3-grid.js",
"d3-hexbin.v0.2.min.js",
"d3-hierarchy.min.js",
"d3-iconarray.js",
"d3-iconarray.min.js",
"d3-interpolate.v0.4.min.js",
"d3-interpolate.v0.5.min.js",
"d3-jetpack.js",
"d3-layout-example.js",
"d3-legend.js",
"d3-legend.min.js",
"d3-light.min.js",
"d3-maps-choropleth-3f5e73b3328da99614131ce91e2a9dcf.min.js",
"d3-masonic.js",
"d3-path.js",
"d3-path.min.js",
"d3-polygon.v0.1.min.js",
"d3-polygon.v0.2.min.js",
"d3-quadtree.debug.js",
"d3-quadtree.v0.6.min.js",
"d3-queue.v2.min.js",
"d3-radial.js",
"d3-random.v0.1.min.js",
"d3-random.v0.2.min.js",
"d3-randompoints.js",
"d3-record.js",
"d3-scale-chromatic.v1.min.js",
"d3-scale.v0.5.min.js",
"d3-scale.v0.6.min.js",
"d3-selection.min.js",
"d3-selection.v0.6.min.js",
"d3-shape.js",
"d3-starterkit.js",
"d3-time-format.v0.3.min.js",
"d3-time.v0.2.min.js",
"d3-timeline.js",
"d3-timer.v0.1.min.js",
"d3-timer.v0.2.min.js",
"d3-timer.v0.3.min.js",
"d3-timer.v0.4.min.js",
"d3-tip.js",
"d3-tip.min.js",
"d3-transform.js",
"d3-viz.js",
"d3-voronoi.v0.3.min.js",
"d3-with-jetpack.min.js",
"d3-x3dom-axis.min.js",
"d3.behavior.js",
"d3.behavior.min.js",
"d3.boxesplot.js",
"d3.canvas-hexbin.js",
"d3.carto.hexbin.js",
"d3.carto.map.js",
"d3.chart.js",
"d3.chart.layout.hierarchy.js",
"d3.chart.min.js",
"d3.csv.js",
"d3.custom.js",
"d3.doublebarchart2.js",
"d3.ez.js",
"d3.fishbone.js",
"d3.floatingScale.js",
"d3.geo.js",
"d3.geo.min.js",
"d3.geo.polyhedron.js",
"d3.geo.polyhedron.min.js",
"d3.geo.polyhedron.v0.js",
"d3.geo.polyhedron.v0.min.js",
"d3.geo.projection.js",
"d3.geo.projection.min.js",
"d3.geo.projection.v0.min.js",
"d3.geo.raster.js",
"d3.geo.tile.js",
"d3.geo.tile.min.js",
"d3.geo.tile.v0.min.js",
"d3.geo.zoom.js",
"d3.geo.zoom.min.js",
"d3.geo2circle.js",
"d3.geodesic.min.js",
"d3.geom.concaveHull.js",
"d3.geom.contour.min.js",
"d3.geom.js",
"d3.geom.min.js",
"d3.geomap.dependencies.min.js",
"d3.geomap.min.js",
"d3.gnarly.js",
"d3.hemicycle.js",
"d3.hexbin.js",
"d3.hexbin.min.js",
"d3.hexbin.v0.js",
"d3.hexbin.v0.min.js",
"d3.hive.js",
"d3.hive.min.js",
"d3.hive.v0.min.js",
"d3.jsonp.js",
"d3.latest.js",
"d3.layout.adjacencyMatrix.js",
"d3.layout.arcDiagram.js",
"d3.layout.chord.sort.js",
"d3.layout.circle.js",
"d3.layout.cloud.js",
"d3.layout.force3d.js",
"d3.layout.indent.js",
"d3.layout.js",
"d3.layout.line.js",
"d3.layout.min.js",
"d3.layout.orbit.js",
"d3.layout.picturecloud.js",
"d3.layout.randomspread.js",
"d3.layout.timeline.js",
"d3.layout.treemap2.js",
"d3.layout.triangle.js",
"d3.legend.js",
"d3.legend.min.js",
"d3.ml.js",
"d3.parcoords.js",
"d3.parsets.js",
"d3.phylogram.js",
"d3.phylonator.js",
"d3.place.js",
"d3.promise.js",
"d3.promise.min.js",
"d3.punchcard.js",
"d3.qq.min.js",
"d3.quadtiles.js",
"d3.rollup.min.js",
"d3.rollup.v0.min.js",
"d3.sankey.js",
"d3.scatterplot.js",
"d3.scatterplotwithlineplot.js",
"d3.scatterplotwithlineplotellipses.js",
"d3.selectable.js",
"d3.selection.ich.template.js",
"d3.selection.template.js",
"d3.selection.template.min.js",
"d3.sketchy.js",
"d3.slider.js",
"d3.stretched.chord.js",
"d3.superformula.min.js",
"d3.superformula.v0.min.js",
"d3.svg.circularbrush.js",
"d3.svg.multibrush.js",
"d3.svg.ribbon.js",
"d3.time.js",
"d3.timelineplot.js",
"d3.tip.js",
"d3.tip.min.js",
"d3.tip.v0.6.3.js",
"d3.tips.js",
"d3.vorTopo.js",
"d3.z.collide.js",
"d3ArrayAdapter.js",
"d3LineChart.js",
"d3Stocks.js",
"d3_code_ages.js",
"d3_code_grid.js",
"d3_code_grid_colours.js",
"d3_code_grid_data.js",
"d3_code_grid_draw.js",
"d3_code_grid_reusable.js",
"d3_code_heatmap_cal.js",
"d3_code_hello_colour.js",
"d3_code_hotspots.js",
"d3_code_japanese_numbers.js",
"d3_code_legend.js",
"d3_code_lodash_groupby.js",
"d3_code_move.js",
"d3_code_pure.js",
"d3_code_sggs_bars.js",
"d3_code_simple_grid.js",
"d3_code_slider.js",
"d3_code_slopegraph.js",
"d3_code_slopegraph_v2.js",
"d3_code_times_tables.js",
"d3_code_toggle_yn.js",
"d3_code_updatechart.js",
"d3_map.js",
"d3_selectAll_transition_explained.js",
"d3_shape.js",
"d3cloud.js",
"d3cola.js",
"d3fc-label-layout.js",
"d3fc-rebind.js",
"d3fc.bundle.min.js",
"d3fc.js",
"d3fc.min.js",
"d3kit.min.js",
"d3legend.js",
"d3line.js",
"d3linewithlegend.js",
"d3mod.js",
"d3moji.js",
"d3multiline.js",
"d3now.js",
"d3parcoords.js",
"d3pie.js",
"d3plus.js",
"d3sliderQ.js",
"d3statebin.js",
"d3tip.js",
"d3tree.js",
"dagre-d3.js",
"dagre-d3.min.js",
"dod3.js",
"g2j4d3.js",
"gantt-chart-d3v2.js",
"gantt-chart-d3v21.js",
"gexfd3.js",
"leaflet-d3.js",
"leaflet.d3.js",
"mpld3_defaults.js",
"muninow-d3.js",
"nv.d3.js",
"nv.d3.min-new.js",
"nv.d3.min.js",
"openhours-d3.js",
"r2d3.v2.js",
"ra-4fdfcfd4773d48d3",
"readme-d3_modded.js",
"reusable.d3.charts.js",
"reuseable.d3.charts.js",
"rkophs.modified.d3.min.js",
"simpd3.js",
"tdad3.js",
"twd3.js",
"workingRd3.js"
]
improving the regex that we use to detect d3 modules
https://regexr.com/