programmable-matter
programmable-matter copied to clipboard
Bump d3-color and @observablehq/plot
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
- Add rgb.clamp and hsl.clamp. #102
- Add color.formatHex8. #103
- Fix color.formatHsl to clamp values to the expected range. #83
- Fix catastrophic backtracking when parsing colors. #89 #97 #99 #100 SNYK-JS-D3COLOR-1076592
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
7a1573e
3.1.075c19c4
update LICENSEef94e01
update dependencies5e9f757
method shorthande4bc34e
formatHex8 (#103)ac660c6
{rgb,hsl}.clamp() (#102)70e3a04
clamp HSL format (#101)994d8fd
avoid backtracking (#100)7d61bbe
3.0.193bc4ff
related d3/d33; extract copyrights from LICENSE- Additional commits viewable in compare view
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!
- Add density mark. #943 #948 #954 #958
- Add linear regression marks. #945
- Add Delaunay and Voronoi marks. #917 #931
- Add scale.interval option. #849
- Add mark pointerEvents option. #917
- The frame mark now supports the rx and ry options for rounded corners. #951
- The cell mark now respects the dx and dy options for offsets. #956
- Fix a bug where arrow heads would not render correctly when the strokeWidth was exactly one. #922 #923
- Fix the scale.zero option when the domain is negative. #934
- Fix the clip mark option when x or y is a band scale. #950
- Fix the fill color of text marks using the href option. #940
- Fix a crash in the bar and tick mark when the associated band scale is not present. #939
- Use element.appendChild instead of element.append for better compatibility. Thanks,
@jkenzer
! #953 #957- Improve the error message when the facet option is used without data. #938
- Throw an error if initializers attempt to create position scales. #939
- Throw an error if an implicit ordinal position domain has more than 10,000 values. #858
v0.5.0
Please see the 0.5.0 release notes for more!
- [breaking] Color scales with diverging color schemes now default to diverging instead of linear. #845
- [breaking] Change the return signature of the internal mark.initializer method. #801
- Add mark initializers via the initializer option. #801
- Add hexbin transform. #801
- Add dodge transform. #801
- Add circle mark. #801
- Add hexagon mark. #801
- Add hexgrid mark. #801
- The sort transform now accepts channels as input. #801
... (truncated)
Changelog
Sourced from @observablehq/plot
's changelog.
0.6.0
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
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
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
6a6eda8
0.6.0009fe0d
update dependencies31a0959
Update READMEd80aa09
Update CHANGELOGca50219
v0.6.0 changelog (#1042)47972e4
output d.ts files (#1037)8065e59
Script to keep README in sync with JSDoc (#1034)549f078
Warn users when facet data doesn't match mark data (#1014)2e84bbf
no need to reference commits that are not on this branch (#1004)0df32cd
blame ignore 03cd93973683d0a46de71805b921a75ca11df2bd- Additional commits viewable in compare view
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.