programmable-matter icon indicating copy to clipboard operation
programmable-matter copied to clipboard

Bump d3-color and @observablehq/plot

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Bumps d3-color to 3.1.0 and updates ancestor dependency @observablehq/plot. These dependencies need to be updated together.

Updates d3-color from 1.4.1 to 3.1.0

Release notes

Sourced from d3-color's releases.

v3.1.0

v3.0.1

  • Make build reproducible.

v3.0.0

  • Adopt type: module.

This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.

v2.0.0

This release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 environments, you should stick with d3-color 1.x or use a transpiler.

Commits

Updates @observablehq/plot from 0.1.0 to 0.6.0

Release notes

Sourced from @​observablehq/plot's releases.

v0.6.0

Please see the 0.6.0 release notes for more!

  • [breaking] The window transform now defaults to non-strict, returning an aggregate value even when the window contains undefined values.
  • The window transform now supports a strict option.
  • The non-minified bundle now includes JSDoc comments from the README.
  • TypeScript source files are now included in the published package.

v0.5.2

Please see the 0.5.2 release notes for more!

  • Swatches legends now support patterns and gradients. #970 #805
  • Swatches legends now require an ordinal or threshold color scale. #971 #844
  • Plot now supports a top-level document option. #969 #848
  • Plot now uses D3 7.6.1 and supports fractional bandwidths for density contours.
  • Plot now uses a duck test to detect marks, rather than strict instanceof. #967
  • Plot is now partially written in TypeScript. #880

v0.5.1

Please see the 0.5.1 release notes for more!

v0.5.0

Please see the 0.5.0 release notes for more!

... (truncated)

Changelog

Sourced from @​observablehq/plot's changelog.

0.6.0

Released September 7, 2022.

Plot.plot({
  marks: [
    Plot.lineY(aapl, {x: "Date", y: "Close", stroke: "#ccc", strokeWidth: 1}),
    Plot.lineY(aapl, Plot.windowY({k: 20, strict: false}, {x: "Date", y: "Close", stroke: "red"})),
    Plot.lineY(aapl, Plot.windowY({k: 20, strict: true}, {x: "Date", y: "Close"}))
  ]
})

[breaking] Plot.window, Plot.windowX and Plot.windowY now return an aggregate value even when the window contains undefined values, for example at the beginning or end of a series. Set the new strict option to true to instead return undefined if the window contains any undefined values.

Parts of the README have been incorporated throughout the codebase as JSDoc comments. This allows IDEs to display the documentation as tooltips.

0.5.2

Released July 4, 2022.

Swatches legends are now rendered in SVG, supporting patterns and gradients. Swatches legends now require an ordinal, categorical, or threshold color scale and will throw an error if you attempt to use them with an unsupported color scale type (such as a linear or diverging scale).

The new top-level document option specifies the document used to create plot elements. It defaults to window.document, but can be changed to another document, say when using a virtual DOM library for server-side rendering in Node.

Plot now uses D3 7.6.1, using d3.blur2 for a faster blur operator supporting fractional bandwidths when computing density contours. Plot now uses a duck test to detect marks (rather than strict instanceof), allowing marks from different versions of Plot to be combined into a single plot. Plot is now partially written in TypeScript. In the future, Plot will be written entirely in TypeScript and will export TypeScript type definition files to assist Plot development.

0.5.1

Released June 27, 2022.

The new density mark creates contours representing the estimated density of two-dimensional point clouds. The bandwidth and number of thresholds are configurable.

Plot.plot({
  inset: 20,
  marks: [
    Plot.density(faithful, {x: "waiting", y: "eruptions", stroke: "steelblue", strokeWidth: 0.25}),
    Plot.density(faithful, {x: "waiting", y: "eruptions", stroke: "steelblue", thresholds: 4}),
    Plot.dot(faithful, {x: "waiting", y: "eruptions", fill: "currentColor", r: 1.5})
  ]
})

By default, as shown above, the density is represented by contour lines. By setting the fill option to density, you can draw filled regions with a sequential color encoding instead.

... (truncated)

Commits

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

You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Sep 29 '22 16:09 dependabot[bot]