Allow usage of CSS variables inside color functions (by parsing them as regular functions)
Use PSR-12 code style
No deprecations
Bugfixes
Improved handling of whitespace in calc()
Fix parsing units whose prefix is also a valid unit, like vmin
Allow passing an object to CSSList#replace
Fix PHP 7.3 warnings
Correctly parse keyframes with %
Don’t convert large numbers to scientific notation
Allow a file to end after an @import
Preserve case of CSS variables as specced
Allow identifiers to use escapes the same way as strings
No longer use eval for the comparison in getSelectorsBySpecificity, in case it gets passed untrusted input (CVE-2020-13756). Also fixed in 8.3.1, 8.2.1, 8.1.1, 8.0.1, 7.0.4, 6.0.2, 5.2.1, 5.1.3, 5.0.9, 4.0.1, 3.0.1, 2.0.1, 1.0.1.
Prevent an infinite loop when parsing invalid grid line names
Remove invalid unit vm
Retain rule order after expanding shorthands
Backwards-incompatible changes
PHP ≥ 5.6 is now required
HHVM compatibility target dropped
8.3.0 (2019-02-22)
Refactor parsing logic to mostly reside in the class files whose data structure is to be parsed (this should eventually allow us to unit-test specific parts of the parsing logic individually).
Fix error in parsing calc expessions when the first operand is a negative number, thanks to @raxbg.
Support parsing CSS4 colors in hex notation with alpha values, thanks to @raxbg.
Swallow more errors in lenient mode, thanks to @raxbg.
Allow specifying arbitrary strings to output before and after declaration blocks, thanks to @westonruter.
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](https://github.com/zizohassan/adssystem/network/alerts).
Bumps sabberworm/php-css-parser from 6.0.1 to 6.0.2.
Changelog
Sourced from sabberworm/php-css-parser's changelog.
... (truncated)
Commits
7df1f66
Merge tag '5.2.1' into drop-eval0245a08
Merge tag '5.1.3' into drop-evald8453c3
Merge tag '5.0.9' into drop-eval8950480
Merge tag '4.0.1' into drop-evala5b2922
Merge tag '3.0.1' into drop-evale3e75d1
Merge tag '2.0.1' into drop-eval3e1e888
Merge tag '1.0.1' into drop-eval2ebf59e
Don’t use evalDependabot 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](https://github.com/zizohassan/adssystem/network/alerts).