Bump colord from 2.9.2 to 2.10.0 in /documentation/website (#41)
Summary: Bumps colord from 2.9.2 to 2.10.0.
Release notes
Sourced from colord's releases.
v2.10 (RGB color mixing)
mix,tints,shadesandtones(mixplugin) now accept an optional interpolation color space. LAB stays the default; pass"rgb"to interpolate RGB channels instead — the way browsers and design tools (such as Figma) composite translucent layers.import { colord, extend } from "colord"; import mixPlugin from "colord/plugins/mix";extend([mixPlugin]);
colord("#ff0000").mix("#ffffff", 0.5, "rgb").toHex(); // "#ff8080" colord("#f0f3f1").mix("#007d40", 0.14, "rgb").toHex(); // "#cee2d8" — same as compositing rgba(0, 125, 64, 0.14) over #f0f3f1 colord("#ff0000").tints(3, "rgb").map((c) => c.toHex()); // ["#ff0000", "#ff8080", "#ffffff"]Changelog
Sourced from colord's changelog.
2.10.0
- Improve
mixplugin by adding an optional"rgb"interpolation mode tomix,tints,tonesandshades2.9.7
- Make HEX parsing and serialization more than 2x faster
2.9.6
- Fix: Rotate the unrounded hue so
rotateandharmoniespreserve the original color- Fix: Normalize HWB whiteness + blackness over 100% to gray ❤️
@spokodev2.9.5
- Fix: Use adjusted chroma for the CIEDE2000 rotation term ❤️
@maximilliangrand- Fix: Keep the hue within
[0, 360)in every color model ❤️@sarathfrancis90Both fixes change returned numbers for a small set of colors;
toHex()output is unchanged. Snapshots holdingh: 360,"hsl(360, …)"or adelta()value may need updating.2.9.4
- Fix: Reject malformed color strings in linear time ❤️
@GAP-dev2.9.3
- Fix types export for TypeScript 4.7 ❤️
@pkishorezCommits
- See full diff 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 rebasewill rebase this PRdependabot recreatewill recreate this PR, overwriting any edits that have been made to itdependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependencydependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.Pull Request resolved: https://github.com/facebook/Pysa/pull/41
Reviewed By: tianhan0
Differential Revision: D119666722
Pulled By: arthaud
fbshipit-source-id: efd9d74ed695da6fdb22942f5d6885febce955f7
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Pysa is a security-focused static analysis tool for Python that tracks data flows to find security and privacy issues — for example, user-controlled input reaching a dangerous sink such as remote code execution or SQL injection. Pysa can analyze codebases with millions of lines of code. Refer to our documentation to get started.
Pysa relies on type information from Pyrefly, Meta’s performant Python type checker.
Pysa is also available on the GitHub Marketplace as a GitHub Action.
Installation
Pysa requires Python 3.9 or later. Install it with pip:
Pysa is currently distributed as part of the
pyre-checkpackage, since it was historically bundled with Pyre, Meta’s (deprecated) type checker. In the future, Pysa will ship as its own PyPI package.Running Pysa
Pysa relies on type information from Pyrefly. Before running Pysa, make sure Pyrefly can successfully check your code:
Once Pyrefly runs cleanly, run Pysa from your project directory to find security and privacy issues:
Pysa uses models to identify sources of taint (where untrusted data enters) and sinks (dangerous operations). For details on configuring Pysa, writing models, and interpreting results, see the Pysa documentation.
Join the Pysa community
See CONTRIBUTING.md for how to help out.
License
Pysa is licensed under the MIT license.