alphagov / govuk-frontend

GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
https://frontend.design-system.service.gov.uk/
MIT License
1.17k stars 320 forks source link

Bump highlight.js from 11.9.0 to 11.10.0 #5124

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps highlight.js from 11.9.0 to 11.10.0.

Changelog

Sourced from highlight.js's changelog.

Version 11.10.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Drops support for Node 16.x, which is no longer supported by Node.js.

Core Grammars:

  • enh(typescript) add support for satisfies operator [Kisaragi Hiu][]
  • enc(c) added more C23 keywords [Melkor-1][]
  • enh(json) added jsonc as an alias [BackupMiles][]
  • enh(gml) updated to latest language version (GML v2024.2) [gnysek][]
  • enh(c) added more C23 keywords and preprcoessor directives [Eisenwave][]
  • enh(js/ts) support namespaced tagged template strings [Aral Balkan][]
  • enh(perl) fix false-positive variable match at end of string [Josh Goebel][]
  • fix(cpp) not all kinds of number literals are highlighted correctly [Lê Duy Quang][]
  • fix(css) fix overly greedy pseudo class matching [Bradley Mackey][]
  • enh(arcade) updated to ArcGIS Arcade version 1.24 [Kristian Ekenes][]
  • fix(typescript): params types [Mohamed Ali][]
  • fix(rust) fix escaped double quotes in string [Mohamed Ali][]
  • fix(rust) fix for r# raw identifier not being highlighted correctly. [JaeBaek Lee][]
  • enh(rust) Adding union to be recognized as a keyword in Rust. [JaeBaek Lee][]
  • fix(yaml) fix for yaml with keys having brackets highlighted incorrectly [Aneesh Kulkarni][]
  • fix(csharp) add raw string highlighting for C# 11. [Tara][]
  • fix(bash) fix # within token being detected as the start of a comment [Felix Uhl][]
  • fix(python) fix or conflicts with string highlighting [Mohamed Ali][]
  • enh(python) adds a scope to the self variable [Lee Falin][]
  • enh(delphi) allow digits to be omitted for hex and binary literals [Jonah Jeleniewski][]
  • enh(delphi) add support for digit separators [Jonah Jeleniewski][]
  • enh(delphi) add support for character strings with non-decimal numerics [Jonah Jeleniewski][]
  • fix(javascript) incorrect function name highlighting [CY Fung][]
  • fix(1c) fix escaped symbols "+-;():=,[]" literals [Vitaly Barilko][]
  • fix(swift) correctly highlight generics and conformances in type definitions [Bradley Mackey][]
  • enh(swift) add package keyword [Bradley Mackey][]
  • fix(swift) ensure keyword attributes highlight correctly [Bradley Mackey][]
  • fix(types) fix interface LanguageDetail > keywords [Patrick Chiu]
  • enh(java) add goto to be recognized as a keyword in Java [Alvin Joy][]
  • enh(bash) add keyword sudo [Alvin Joy][]
  • fix(haxe) captures new keyword without capturing it within variables/class names [Cameron Taylor][]
  • fix(go) fix go number literals to accept _ separators, add hex p exponents [Lisa Ugray][]
  • enh(markdown) add entity support [David Schach][] [TaraLei][]
  • enh(css) add justify-items and justify-self attributes [Vasily Polovnyov][]
  • enh(css) add accent-color, appearance, color-scheme, rotate, scale and translate attributes [Carl Räfting][]
  • fix(fortran) fixes parsing of keywords delimited by dots [Julien Bloino][]
  • enh(css) add select, option, optgroup, picture and source to list of known tags [Vasily Polovnyov][]
  • enh(css) add inset, inset-*, border-start-*-radius and border-end-*-radius attributes [Vasily Polovnyov][]
  • enh(css) add text-decoration-skip-ink, text-decoration-thickness and text-underline-offset attributes [Vasily Polovnyov][]

New Grammars:

... (truncated)

Commits
  • 366a8bd (maintainer) bump version 11.9.0 => 11.10.0
  • b1fd7cd (maint) build against node 22
  • 221b049 (maint) bump npm dependencies
  • e2e11f7 Add JSONata as supported language (#4069)
  • f41067d improve monokai theme for attr & number (#4067)
  • b9ae5fe add text-decoration-skip-ink, text-decoration-thickness and `text-underli...
  • 888ac75 Add Mirth to SUPPORTED_LANGUAGES.md (#4061)
  • 32f6d13 (chore) Remove unused submodule (#4047)
  • 4bbf361 enh(typescript) add satisfies keyword (#4058)
  • 5237004 enh(c): Added typeof and typeof_qual to the list of keywords (#4055)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
github-actions[bot] commented 2 months ago

:clipboard: Stats

File sizes

File Size
dist/govuk-frontend-development.min.css 112.79 KiB
dist/govuk-frontend-development.min.js 41.88 KiB
packages/govuk-frontend/dist/govuk/all.bundle.js 87.42 KiB
packages/govuk-frontend/dist/govuk/all.bundle.mjs 82.11 KiB
packages/govuk-frontend/dist/govuk/all.mjs 981 B
packages/govuk-frontend/dist/govuk/govuk-frontend-component.mjs 359 B
packages/govuk-frontend/dist/govuk/govuk-frontend.min.css 112.78 KiB
packages/govuk-frontend/dist/govuk/govuk-frontend.min.js 41.87 KiB
packages/govuk-frontend/dist/govuk/i18n.mjs 5.55 KiB
packages/govuk-frontend/dist/govuk/init.mjs 4.86 KiB

Modules

File Size (bundled) Size (minified)
all.mjs 79.24 KiB 39.84 KiB
accordion.mjs 23.5 KiB 12.39 KiB
button.mjs 5.98 KiB 2.69 KiB
character-count.mjs 22.4 KiB 9.92 KiB
checkboxes.mjs 5.83 KiB 2.83 KiB
error-summary.mjs 7.89 KiB 3.46 KiB
exit-this-page.mjs 17.1 KiB 9.26 KiB
header.mjs 4.46 KiB 2.6 KiB
notification-banner.mjs 6.26 KiB 2.62 KiB
password-input.mjs 15.15 KiB 7.25 KiB
radios.mjs 4.83 KiB 2.38 KiB
skip-link.mjs 4.39 KiB 2.18 KiB
tabs.mjs 10.13 KiB 6.11 KiB

View stats and visualisations on the review app


Action run for e12918a510daacf5387fbee42a236f49eeb63f5c

querkmachine commented 2 months ago

Package is only used in the review app. Changes that affect our usage are mostly to add syntax highlighting support for newer HTML elements and CSS properties.

Node version caveat should be fine as we currently expect Node 20 as the minimum for Frontend anyway.