brunobesson / c2c-stats

https://brunobesson.github.io/c2c-stats/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Update d3 requirement from ^4.9.1 to ^5.10.0 #95

Open dependabot-preview[bot] opened 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on d3 to permit the latest version.

Release notes *Sourced from [d3's releases](https://github.com/d3/d3/releases).* > ## v5.10.0 > ## [d3-brush](https://github.com/d3/d3-brush) > > * Add [*brush*.touchable](https://github.com/d3/d3-brush/blob/master/README.md#brush_touchable). > * Add [*brush*.clear](https://github.com/d3/d3-brush/blob/master/README.md#brush_clear). > * Add [*brush*.keyModifiers](https://github.com/d3/d3-brush/blob/master/README.md#brush_keyModifiers). > * Fix default [*brush*.extent](https://github.com/d3/d3-brush/blob/master/README.md#brush_extent) to consider the SVG viewBox, if any. > * Fix scroll prevention on touch devices. > * Fix coercion of selection and extent inputs. > * Fix order of handles in the DOM. > * Fix [*brush*.move](https://github.com/d3/d3-brush/blob/master/README.md#brush_move) when selection is empty. > * Fix Space key immediately after clicking on a handle. > * Fix missing *brush* event on parallel start. > * Fix handling of orphaned input gestures. > * Fix default [*brush*.touchable](https://github.com/d3/d3-brush/blob/master/README.md#brush_touchable) if navigator.maxTouchPoints. > * Fix multitouch gestures. > * Fix click consumption when brush is not empty. > * Fix default [*brush*.filter](https://github.com/d3/d3-brush/blob/master/README.md#brush_filter) on control-click. > > ## [d3-color](https://github.com/d3/d3-color) > > * Add [*color*.copy](https://github.com/d3/d3-color/blob/master/README.md#color_copy). > * Add [*color*.formatHex](https://github.com/d3/d3-color/blob/master/README.md#color_formatHex). > * Add [*color*.formatHsl](https://github.com/d3/d3-color/blob/master/README.md#color_formatHsl). > * Add [*color*.formatRgb](https://github.com/d3/d3-color/blob/master/README.md#color_formatRgb). > * Deprecate *color*.hex; use *color*.formatHex instead. > > ## [d3-drag](https://github.com/d3/d3-drag) > > * Fix default [*drag*.filter](https://github.com/d3/d3-drag/blob/master/README.md#drag_filter) on control-click. > * Fix default [*drag*.touchable](https://github.com/d3/d3-drag/blob/master/README.md#drag_touchable) if navigator.maxTouchPoints. > > ## [d3-path](https://github.com/d3/d3-path) > > * Fix coercion of *anticlockwise* argument to [*path*.arc](https://github.com/d3/d3-path/blob/master/README.md#path_arc). Thanks, [@​Fil](https://github.com/Fil)! > > ## [d3-scale-chromatic](https://github.com/d3/d3-scale-chromatic) > > * Add [d3.schemeTableau10](https://github.com/d3/d3-scale-chromatic/blob/master/README.md#schemeTableau10). Thanks [@​akngs](https://github.com/akngs)! > > ## [d3-zoom](https://github.com/d3/d3-zoom) > > * Fix default [*zoom*.extent](https://github.com/d3/d3-zoom/blob/master/README.md#zoom_extent) to consider the SVG viewBox. > * Fix default [*zoom*.filter](https://github.com/d3/d3-zoom/blob/master/README.md#zoom_filter) to ignore control-click. > * Fix default [*zoom*.touchable](https://github.com/d3/d3-zoom/blob/master/README.md#zoom_touchable) if navigator.maxTouchPoints. > * Fix default [*zoom*.wheelDelta](https://github.com/d3/d3-zoom/blob/master/README.md#zoom_wheelDelta) if deltaMode !== 0. Thanks, [@​Dakkaron](https://github.com/Dakkaron)! > * Fix handling of filtered multitouch gestures. Thanks, [@​robinhouston](https://github.com/robinhouston) and [@​testower](https://github.com/testower)! > * Fix handling of orphaned gestures. > * Fix emitting of zoom events during dbltap gestures. Thanks, [@​cambecc](https://github.com/cambecc)! > * Add optional *point* to [*zoom*.transform](https://github.com/d3/d3-zoom/blob/master/README.md#zoom_transform) and related methods. > ... (truncated)
Changelog *Sourced from [d3's changelog](https://github.com/d3/d3/blob/master/CHANGES.md).* > # Changes in D3 5.0 > > [Released March 22, 2018.](https://github.com/d3/d3/releases/tag/v5.0.0) > > *This document covers only major changes. For minor and patch changes, please see the [release notes](https://github.com/d3/d3/releases).* > > D3 5.0 introduces only a few non-backwards-compatible changes. > > D3 now uses [Promises](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises) instead of asynchronous callbacks to load data. Promises simplify the structure of asynchronous code, especially in modern browsers that support [async and await](https://javascript.info/async-await). (See this [introduction to promises](https://beta.observablehq.com/@mbostock/introduction-to-promises) on [Observable](https://beta.observablehq.com).) For example, to load a CSV file in v4, you might say: > > ```js > d3.csv("file.csv", function(error, data) { > if (error) throw error; > console.log(data); > }); > ``` > > In v5, using promises: > > ```js > d3.csv("file.csv").then(function(data) { > console.log(data); > }); > ``` > > Note that you don’t need to rethrow the error—the promise will reject automatically, and you can *promise*.catch if desired. Using await, the code is even simpler: > > ```js > const data = await d3.csv("file.csv"); > console.log(data); > ``` > > With the adoption of promises, D3 now uses the [Fetch API](https://fetch.spec.whatwg.org/) instead of [XMLHttpRequest](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest): the [d3-request](https://github.com/d3/d3-request) module has been replaced by [d3-fetch](https://github.com/d3/d3-fetch). Fetch supports many powerful new features, such as [streaming responses](https://beta.observablehq.com/@mbostock/streaming-shapefiles). D3 5.0 also deprecates and removes the [d3-queue](https://github.com/d3/d3-queue) module. Use [Promise.all](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) to run a batch of asynchronous tasks in parallel, or a helper library such as [p-queue](https://github.com/sindresorhus/p-queue) to [control concurrency](https://beta.observablehq.com/@mbostock/hello-p-queue). > > D3 no longer provides the d3.schemeCategory20* categorical color schemes. These twenty-color schemes were flawed because their grouped design could falsely imply relationships in the data: a shared hue can imply that the encoded data are part of a group (a super-category), while relative lightness can imply order. Instead, D3 now includes [d3-scale-chromatic](https://github.com/d3/d3-scale-chromatic), which implements excellent schemes from ColorBrewer, including [categorical](https://github.com/d3/d3-scale-chromatic/blob/master/README.md#categorical), [diverging](https://github.com/d3/d3-scale-chromatic/blob/master/README.md#diverging), [sequential single-hue](https://github.com/d3/d3-scale-chromatic/blob/master/README.md#sequential-single-hue) and [sequential multi-hue](https://github.com/d3/d3-scale-chromatic/blob/master/README.md#sequential-multi-hue) schemes. These schemes are available in both discrete and continuous variants. > > D3 now provides implementations of [marching squares](https://beta.observablehq.com/@mbostock/d3-contour-plot) and [density estimation](https://beta.observablehq.com/@mbostock/d3-density-contours) via [d3-contour](https://github.com/d3/d3-contour)! There are two new [d3-selection](https://github.com/d3/d3-selection) methods: [*selection*.clone](https://github.com/d3/d3-selection/blob/master/README.md#selection_clone) for inserting clones of the selected nodes, and [d3.create](https://github.com/d3/d3-selection/blob/master/README.md#create) for creating detached elements. [Geographic projections](https://github.com/d3/d3-geo) now support [*projection*.angle](https://github.com/d3/d3-geo/blob/master/README.md#projection_angle), which has enabled several fantastic new [polyhedral projections](https://github.com/d3/d3-geo-polygon) by Philippe Rivière. > > Lastly, D3’s [package.json](https://github.com/d3/d3/blob/master/package.json) no longer pins exact versions of the dependent D3 modules. This fixes an issue with [duplicate installs](https://github-redirect.dependabot.com/d3/d3/issues/3256) of D3 modules. > > # Changes in D3 4.0 > > [Released June 28, 2016.](https://github.com/d3/d3/releases/tag/v4.0.0) > > D3 4.0 is modular. Instead of one library, D3 is now [many small libraries](https://github.com/d3/d3/blob/master/#table-of-contents) that are designed to work together. You can pick and choose which parts to use as you see fit. Each library is maintained in its own repository, allowing decentralized ownership and independent release cycles. The default bundle combines about thirty of these microlibraries. > > ```html > > ``` > > ... (truncated)
Commits - [`a8a29d4`](https://github.com/d3/d3/commit/a8a29d4fcc7827b8275978d1593a2fc1a54a5a0e) 5.10.0 - [`9eba1b6`](https://github.com/d3/d3/commit/9eba1b6973d5af57d6a15758338f663a241654b3) Update dependencies. - [`bb13745`](https://github.com/d3/d3/commit/bb13745eb08cdf08a68ebd67ea00ae2c14e4962d) Fix images in CHANGES. - [`78fd616`](https://github.com/d3/d3/commit/78fd616708fec12f04cd13cabbd1e57bb7bab62e) Update ISSUE_TEMPLATE.md - [`93ca461`](https://github.com/d3/d3/commit/93ca4610fec6d0818d34c803021cf796de63af6e) Update ISSUE_TEMPLATE.md - [`d6ce031`](https://github.com/d3/d3/commit/d6ce031793dddf990b18e0876a972db6f828006d) Update ISSUE_TEMPLATE.md - [`5e8bad0`](https://github.com/d3/d3/commit/5e8bad059deb6b8ca2a7f30884855fbdacb4055b) 5.9.7 - [`4efb217`](https://github.com/d3/d3/commit/4efb217e94d8adb59610826cc5e05b8421c6ac85) Update d3-color. - [`663caa7`](https://github.com/d3/d3/commit/663caa7d3dc16966959893fe8014903d63927132) 5.9.6 - [`24cbe60`](https://github.com/d3/d3/commit/24cbe606788d9316dbac0b2fe5caf277c792d84e) Update d3-color. - Additional commits viewable in [compare view](https://github.com/d3/d3/compare/v4.9.1...v5.10.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.