Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump highlight.js from 11.10.0 to 11.11.1 #62

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Bumps highlight.js from 11.10.0 to 11.11.1.

Release notes

Sourced from highlight.js's releases.

v11.11.1 - Merry Christmas!

Version 11.11.1

  • Fixes regressions with Rust grammar in 11.11.0 release.

v11.11.0 - Happy Holidays

Version 11.11.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Nothing.

Core Grammars:

  • fix(rust) - adds emoji support in single quote strings [joshgoebel][]
  • fix(apache) - support line continuation via \ [Josh Goebel][]
  • fix(makefile) - allow strings inside $() expressions [aneesh98][]
  • enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
  • enh(css) add all properties listed on MDN (96 additions including anchor-name, aspect-ratio, backdrop-filter, container, margin-trim, place-content, scroll-timeline, ...) [BaliBalo][]
  • enh(excel) add built-in functions for Excel 365 release to 2024 [Danny Winrow][]
  • enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
  • enh(erlang) OTP 27 doc attribute [nixxquality][]
  • enh(erlang) OTP 27 Sigil type [nixxquality][]
  • enh(erlang) OTP25/27 maybe statement [nixxquality][]
  • enh(dart) Support digit-separators in number literals [Sam Rawlins][]
  • enh(csharp) add Contextual keywords file, args, dynamic, record, required and scoped [Alvin Joy][]
  • enh(lua) add 'pluto' as an alias [Sainan]
  • enh(bash) add reserved keywords time and coproc [Álvaro Mondéjar][]
  • enh(nix) update keywords [h7x4][]
  • enh(nix) support paths [h7x4][]
  • enh(nix) support lookup paths [h7x4][]
  • enh(nix) support operators [h7x4][]
  • enh(nix) support REPL keywords [h7x4][]
  • enh(nix) support markdown comments [h7x4][]
  • enh(nix) support basic function params [h7x4][]
  • enh(nix) better parsing of attrsets [h7x4][]
  • fix(c) - Fixed hex numbers with decimals [Dxuian]
  • fix(typescript) - Fixedoptional property not highlighted correctly [Dxuian]
  • fix(ruby) - fix |= operator false positives (as block arguments) [Aboobacker MK]
  • enh(gcode) rewrote language for modern gcode support [Barthélémy Bonhomme][]
  • fix(sql) - Fixed sql primary key and foreign key spacing issue [Dxuian]
  • fix(cpp) added flat_set and flat_map as a part of cpp 23 version [Lavan]
  • fix(yaml) - Fixed special chars in yaml [Dxuian]
  • fix(basic) - Fixed closing quotation marks not required for a PRINT statement [Somya]
  • fix(nix) remove add builtin [h7x4][]
  • fix(nix) mark or as builtin instead of literal [h7x4][]
  • fix(nix) handle ''' string escapes [h7x4][]
  • fix(nix) handle backslash string escapes [h7x4][]
  • fix(nix) don't mix escapes for " and '' strings [h7x4][]

... (truncated)

Changelog

Sourced from highlight.js's changelog.

Version 11.11.1

  • Fixes regression with Rust grammar.

Version 11.11.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Nothing yet.

Core Grammars:

  • fix(rust) - adds emoji support in single quote strings [joshgoebel][]
  • fix(apache) - support line continuation via \ [Josh Goebel][]
  • fix(makefile) - allow strings inside $() expressions [aneesh98][]
  • enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
  • enh(css) add all properties listed on MDN (96 additions including anchor-name, aspect-ratio, backdrop-filter, container, margin-trim, place-content, scroll-timeline, ...) [BaliBalo][]
  • enh(excel) add built-in functions for Excel 365 release to 2024 [Danny Winrow][]
  • enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
  • enh(erlang) OTP 27 doc attribute [nixxquality][]
  • enh(erlang) OTP 27 Sigil type [nixxquality][]
  • enh(erlang) OTP25/27 maybe statement [nixxquality][]
  • enh(dart) Support digit-separators in number literals [Sam Rawlins][]
  • enh(csharp) add Contextual keywords file, args, dynamic, record, required and scoped [Alvin Joy][]
  • enh(lua) add 'pluto' as an alias [Sainan]
  • enh(bash) add reserved keywords time and coproc [Álvaro Mondéjar][]
  • enh(nix) update keywords [h7x4][]
  • enh(nix) support paths [h7x4][]
  • enh(nix) support lookup paths [h7x4][]
  • enh(nix) support operators [h7x4][]
  • enh(nix) support REPL keywords [h7x4][]
  • enh(nix) support markdown comments [h7x4][]
  • enh(nix) support basic function params [h7x4][]
  • enh(nix) better parsing of attrsets [h7x4][]
  • fix(c) - Fixed hex numbers with decimals [Dxuian]
  • fix(typescript) - Fixedoptional property not highlighted correctly [Dxuian]
  • fix(ruby) - fix |= operator false positives (as block arguments) [Aboobacker MK]
  • enh(gcode) rewrote language for modern gcode support [Barthélémy Bonhomme][]
  • fix(sql) - Fixed sql primary key and foreign key spacing issue [Dxuian]
  • fix(cpp) added flat_set and flat_map as a part of cpp 23 version [Lavan]
  • fix(yaml) - Fixed special chars in yaml [Dxuian]
  • fix(basic) - Fixed closing quotation marks not required for a PRINT statement [Somya]
  • fix(nix) remove add builtin [h7x4][]
  • fix(nix) mark or as builtin instead of literal [h7x4][]
  • fix(nix) handle ''' string escapes [h7x4][]
  • fix(nix) handle backslash string escapes [h7x4][]
  • fix(nix) don't mix escapes for " and '' strings [h7x4][]
  • fix(swift) - Fixed syntax highlighting for class func/var declarations [guuido]

... (truncated)

Commits
  • 08cb242 (release) 11.1.1
  • 048ba65 bump versions to 11.11.1
  • c5b6ad5 fix - ignored .DS_Store files
  • d020e48 enh(rust) can also escape a singe quote
  • 2db4c16 fix(rust) prevent symbol from gobbling strings
  • 93e6358 fix(rust) fix regression with string matching
  • 40883e1 (release) version 11.11.0 with npm bumps (#4185)
  • a667cde fix(rust) emoji supported in single quote strings (#4156)
  • 55b0deb enh(apache) support line continuation with \ (#4158)
  • 3e06867 fix(parser) prevent gobbling of illegal newlines (#4142)
  • 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 <dependency name> 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)

Summary by Sourcery

Update highlight.js to 11.11.1.

Bug Fixes:

  • Fix regressions with the Rust grammar.

Enhancements:

  • Add emoji support in single quote strings in Rust.
  • Support line continuation via "\" in Apache.
  • Allow strings inside "$()" expressions in Makefiles.
  • Update ArcGIS Arcade to version 1.29.
  • Add all properties listed on MDN to CSS (96 additions including anchor-name, aspect-ratio, backdrop-filter, container, margin-trim, place-content, scroll-timeline, ...).
  • Add built-in functions for Excel 365 release to 2024 in Excel.
  • Add OTP 27 triple-quoted strings, doc attribute, Sigil type, and maybe statement in Erlang.
  • Support digit-separators in number literals in Dart.
  • Add contextual keywords file, args, dynamic, record, required, and scoped in C#.
  • Add 'pluto' as an alias in Lua.
  • Add reserved keywords time and coproc in Bash.
  • Update keywords, support paths, lookup paths, operators, REPL keywords, markdown comments, basic function parameters, and improve parsing of attrsets in Nix.
  • Rewrote language for modern gcode support in Gcode.
  • Add flat_set and flat_map as part of C++ 23 version in C++.
  • Fix closing quotation marks not being required for a PRINT statement in Basic.
  • Remove add builtin, mark or as builtin instead of literal, handle \'\'\' string escapes, handle backslash string escapes, and don't mix escapes for " and \'\' strings in Nix.
  • Fix syntax highlighting for class func/var declarations in Swift.
  • Fix hex numbers with decimals in C.
  • Fix optional property not highlighted correctly in Typescript.
  • Fix |= operator false positives (as block arguments) in Ruby.
  • Fix SQL primary key and foreign key spacing issue in SQL.
  • Fix special characters in YAML.

Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.10.0 to 11.11.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](highlightjs/highlight.js@11.10.0...11.11.1)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 30, 2024
Copy link

sourcery-ai bot commented Dec 30, 2024

Reviewer's Guide by Sourcery

This PR bumps the highlight.js dependency from version 11.10.0 to 11.11.1. This addresses several bugs and enhances the syntax highlighting capabilities, notably for languages like Rust, Apache, Makefile, CSS, Excel, Erlang, Dart, C#, Lua, Bash, Nix, C, Typescript, Ruby, Gcode, SQL, C++, YAML, Basic, and Swift.

Class diagram showing highlight.js version update

classDiagram
    class HighlightJS {
        version: string
        +highlight(code: string, language: string)
        +highlightAuto(code: string)
    }
    note for HighlightJS "Updated from v11.10.0 to v11.11.1"

    class SupportedLanguages {
        +rust: Language
        +apache: Language
        +makefile: Language
        +css: Language
        +excel: Language
        +erlang: Language
        +dart: Language
        +csharp: Language
        +nix: Language
    }
    note for SupportedLanguages "Enhanced language support and bug fixes"

    HighlightJS --> SupportedLanguages: supports
Loading

State diagram for highlight.js version transition

stateDiagram-v2
    [*] --> v11.10.0
    v11.10.0 --> v11.11.0: Major updates
    v11.11.0 --> v11.11.1: Rust fixes

    state v11.11.0 {
        [*] --> LanguageEnhancements
        LanguageEnhancements: - New CSS properties
        LanguageEnhancements: - Excel 365 functions
        LanguageEnhancements: - Enhanced Nix support
        LanguageEnhancements: - Various bug fixes
    }

    state v11.11.1 {
        [*] --> BugFixes
        BugFixes: - Rust grammar regression fixes
        BugFixes: - Emoji support in Rust strings
    }
Loading

File-Level Changes

Change Details Files
Update the highlight.js dependency
  • Updated the highlight.js version in package.json from 11.10.0 to 11.11.1.
  • Updated the highlight.js version and associated dependencies in package-lock.json to reflect the new version and its dependencies.
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@Its4Nik Its4Nik closed this Jan 27, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/highlight.js-11.11.1 branch January 27, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant