Title: Update postcss: 8.3.11 → 8.4.1 (minor) by depfu[bot] · Pull Request #32 · javaistic/javaistic · GitHub
Open Graph Title: Update postcss: 8.3.11 → 8.4.1 (minor) by depfu[bot] · Pull Request #32 · javaistic/javaistic
X Title: Update postcss: 8.3.11 → 8.4.1 (minor) by depfu[bot] · Pull Request #32 · javaistic/javaistic
Description: Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. What changed? ✳️ postcss (8.3.11 → 8.4.1) · Repo · Changelog Release Notes 8.4.1 Fixed Stringifier types (by @43081j). 8.4.0 PostCSS 8.4 brought ranges for warnings and errors, smaller node_modules size, lazy parsing to avoid PostCSS does nothing warning, and TypeScript fixes. Thanks to Sponsors This release was possible thanks to our community. If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by: Tidelift with a Spotify-like subscription model supporting all projects from your lock file. Direct donations in PostCSS & Autoprefixer Open Collective. Rages for Errors and Warnings @adalinesimonian, the author of amazing Stylelint extension for VS Code, added ranges to errors and warnings. result.warn(msg, { index }) // One character warning at index result.warn(msg, { endIndex }) // Starts at node start, ends at endIndex result.warn(msg, { index, endIndex }) // Starts at index, ends at endIndex result.warn(msg, { start }) // Starts at start, ends at node end result.warn(msg, { end }) // Starts at node start, ends at end result.warn(msg, { start, end }) // Starts at start, ends at end result.warn(msg, { word }) // Starts at word location, ends at word index + length It will improve DX in the IDE extension. Lazy Parsing Previously, we found that many tools run PostCSS even if the developer didn’t pass any PostCSS plugins. Parsing is the most expensive step in CSS processing. It led to a waste of resources without any reason. We tried to resolve the problem by adding a PostCSS does nothing warning. But it didn’t force tool authors to be more careful with user’s resources. If PostCSS sees that tool call it without passing plugins (or changing parser/stringifier), PostCSS will not parse CSS (until toll will call Result#root). In 8.4, @bogdan0083 (with the help of @WilhelmYakunin) tries to solve the problem in another way. It allows us to save resources and remove the PostCSS does nothing warning. // No plugins, we do not parse CSS let result = await postcss().process(css, { from }) result.css // Is the same string passed to process() result.map // Special 1-to-1 source map result.root // CSS will parsed only here Install Size Reduction With ≈60M weekly downloads, PostCSS has responsibility for the world’s resource spending. Together with @7rulnik we reduced source-map-js size. It is transitive dependency of PostCSS. In 8.4, we moved to a fixed version of source-map-js, which reduced the postcss size in your node_modules from ≈1 MB to 0.3 MB. With the huge popularity of PostCSS, it will free a lot of resources on our CIs. Migration from Jest to uvu @kimoofey refactored all tests from the popular Jest framework to small and fast uvu. It will not affect end-users. However, it reduced our node_modules size by 33 MB and made tests twice faster (yarn install & yarn unit: 24 → 13 seconds). TypeScript Fixes Added Processor types. Added Stringifier types (by @43081j). Fixed types Root and Document in result values (by @43081j). Fixed Node#walkRules() types (by @hudochenkov). Other Changes Fixed docs (by @paulshryock). Does any of this look wrong? Please let us know. Commits See the full diff on Github. The new version differs by more commits than we can show here. Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase. All Depfu comment commands @depfu rebaseRebases against your default branch and redoes this update @depfu recreateRecreates this PR, overwriting any edits that you've made to it @depfu mergeMerges this PR once your tests are passing and conflicts are resolved @depfu closeCloses this PR and deletes the branch @depfu reopenRestores the branch and reopens this PR (if it's closed) @depfu pauseIgnores all future updates for this dependency and closes this PR @depfu pause [minor|major]Ignores all future minor/major updates for this dependency and closes this PR @depfu resumeFuture versions of this dependency will create PRs again (leaves this PR as is)
Open Graph Description: Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. What changed? ✳️ postcss (8.3.11 → 8.4.1) · Rep...
X Description: Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. What changed? ✳️ postcss (8.3.11 → 8.4.1) · Rep...
Opengraph URL: https://github.com/javaistic/javaistic/pull/32
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b2f14ba8-d198-7ac5-9bd5-bac238019a76 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C65A:29BF10:505DDA:684049:696B6EC9 |
| html-safe-nonce | d650bc9657dfe4026b84286df95efd0a22c3ac77b5f2022a12d72cec36cce90d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjVBOjI5QkYxMDo1MDVEREE6Njg0MDQ5OjY5NkI2RUM5IiwidmlzaXRvcl9pZCI6IjQ2NTE3NDY5MTEwMzc2NDg1ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a768742768b42fa848fd46ee4a09de85f63cb3f9360e92c1a872b2b9756c996a |
| hovercard-subject-tag | pull_request:789150322 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/javaistic/javaistic/pull/32/files |
| twitter:image | https://avatars.githubusercontent.com/in/715?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/715?s=400&v=4 |
| og:image:alt | Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. What changed? ✳️ postcss (8.3.11 → 8.4.1) · Rep... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/javaistic/javaistic git https://github.com/javaistic/javaistic.git |
| octolytics-dimension-user_id | 76972798 |
| octolytics-dimension-user_login | javaistic |
| octolytics-dimension-repository_id | 388602663 |
| octolytics-dimension-repository_nwo | javaistic/javaistic |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 388602663 |
| octolytics-dimension-repository_network_root_nwo | javaistic/javaistic |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width