mei23 / misskey

めいすきー
GNU Affero General Public License v3.0
65 stars 12 forks source link

fix(deps): update dependency highlight.js to v10.7.3 #4901

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
highlight.js (source) 10.6.0 -> 10.7.3 age adoption passing confidence

Release Notes

highlightjs/highlight.js (highlight.js) ### [`v10.7.3`](https://togithub.com/highlightjs/highlight.js/releases/tag/10.7.3) [Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.7.2...10.7.3) - fix(parser) Resolves issue with missing TypeScript property [Jacob Swanner][] No other changes. [Jacob Swanner]: https://togithub.com/jswanner ### [`v10.7.2`](https://togithub.com/highlightjs/highlight.js/releases/tag/10.7.2): Version 10.7.2 [Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.7.1...10.7.2) This is a patch release. The only change is that deprecation messages are throttled and shown only once. - (chore) throttle deprecation messages ([#​3092](https://togithub.com/highlightjs/highlight.js/issues/3092)) [Mihkel Eidast][] [Mihkel Eidast]: https://togithub.com/mihkeleidast ### [`v10.7.1`](https://togithub.com/highlightjs/highlight.js/blob/HEAD/CHANGES.md#Version-1071) [Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.7.0...10.7.1) - fix(parser) Resolves issues with TypeScript types [Josh Goebel][] ##### Version 10.7.0 Parser: - keywords now have a maximum # of times they provide relevance ([#​3129](https://togithub.com/highlightjs/highlight.js/issues/3129)) [Josh Goebel][] - enh(api) add `unregisterLanguage` method ([#​3009](https://togithub.com/highlightjs/highlight.js/issues/3009)) [Antoine du Hamel][] - enh: Make alias registration case insensitive ([#​3026](https://togithub.com/highlightjs/highlight.js/issues/3026)) [David Ostrovsky][] - fix(parser) `highlightAll()` now works if the library is lazy loaded [Josh Goebel][] New Languages: - Added 3rd party RiScript grammar to SUPPORTED_LANGUAGES ([#​2988](https://togithub.com/highlightjs/highlight.js/issues/2988)) \[John C]\[] - Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES ([#​3002](https://togithub.com/highlightjs/highlight.js/issues/3002)) [Stef Levesque][] - Added 3rd party Q# grammar to SUPPORTED_LANGUAGES([#​3006](https://togithub.com/highlightjs/highlight.js/issues/3006)) [Vyron Vasileiadis][] Language grammar improvements: - enh(js/ts) class references (CamelCase) are highlighted ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) constants (ALL_CAPS) are highlighted ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) highlights function invokation ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) functions assigned to variables are now highlighted `title.function` ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(parser) smarter detection of comments ([#​2827](https://togithub.com/highlightjs/highlight.js/issues/2827)) [Josh Goebel][] - fix(python) allow keywords immediately following numbers ([#​2985](https://togithub.com/highlightjs/highlight.js/issues/2985)) [Josh Goebel][] - fix(xml) char immediately following tag close mis-highlighted ([#​3044](https://togithub.com/highlightjs/highlight.js/issues/3044)) [Josh Goebel][] - fix(ruby) fix `defined?()` mis-highlighted as `def` ([#​3025](https://togithub.com/highlightjs/highlight.js/issues/3025)) [Josh Goebel][] - fix(c) comments after `#include ` blocks ([#​3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][] - fix(cpp) comments after `#include ` blocks ([#​3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][] - enh(cpp) Highlight all function dispatches ([#​3005](https://togithub.com/highlightjs/highlight.js/issues/3005)) [Josh Goebel][] - enh(python) support type hints and better type support ([#​2972](https://togithub.com/highlightjs/highlight.js/issues/2972)) [Josh Goebel][] - enh(gml) Add additional GML 2.3 keywords ([#​2984](https://togithub.com/highlightjs/highlight.js/issues/2984)) [xDGameStudios][] - fix(cpp) constructor support for initializers ([#​3001](https://togithub.com/highlightjs/highlight.js/issues/3001)) [Josh Goebel][] - enh(php) Add `trait` to class-like naming patterns ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add `Stringable`, `UnhandledMatchError`, and `WeakMap` classes/interfaces ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add `mixed` to list of keywords ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add support binary, octal, hex and scientific numerals with underscore separator support ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add support for Enums ([#​3004](https://togithub.com/highlightjs/highlight.js/issues/3004)) [Ayesh][] - enh(ecmascript) Add built-in types [Vaibhav Chanana][] - enh(kotlin) Add `kts` as an alias for Kotlin ([#​3021](https://togithub.com/highlightjs/highlight.js/issues/3021)) [Vaibhav Chanana][] - enh(css) Add `font-smoothing` to attributes list for CSS ([#​3027](https://togithub.com/highlightjs/highlight.js/issues/3027)) [AndyKIron][] - fix(python) Highlight `print` and `exec` as a builtin ([#​1468](https://togithub.com/highlightjs/highlight.js/issues/1468)) [Samuel Colvin][] - fix(csharp) Fix unit being highlighted instead of uint ([#​3046](https://togithub.com/highlightjs/highlight.js/issues/3046)) \[Spacehamster]\[] - enh(swift) add async/await keywords ([#​3048](https://togithub.com/highlightjs/highlight.js/issues/3048)) \[Bradley Mackey]\[] Deprecations: - `highlight(languageName, code, ignoreIllegals, continuation)` deprecated as of 10.7 - Please use the newer API which takes `code` and then accepts options as an object - IE: `highlight(code, {language, ignoreIllegals})` - `continuation` is for internal use only and no longer supported - `highlightBlock(el)` deprecated as of 10.7. - Please use `highlightElement(el)` instead. - Plugin callbacks renamed `before/after:highlightBlock` => `before/after:highlightElement` - Plugin callback now takes `el` vs `block` attribute - The old API and callbacks will be supported until v12. [Stef Levesque]: https://togithub.com/stef-levesque [Josh Goebel]: https://togithub.com/joshgoebel [John Cheung]: https://togithub.com/Real-John-Cheung [xDGameStudios]: https://togithub.com/xDGameStudios [Ayesh]: https://togithub.com/Ayesh [Vyron Vasileiadis]: https://togithub.com/fedonman [Antoine du Hamel]: https://togithub.com/aduh95 [Vaibhav Chanana]: https://togithub.com/il3ven [David Ostrovsky]: https://togithub.com/davido [AndyKIron]: https://togithub.com/AndyKIron [Samuel Colvin]: https://togithub.com/samuelcolvin ### [`v10.7.0`](https://togithub.com/highlightjs/highlight.js/blob/HEAD/CHANGES.md#Version-1070) [Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.6.0...10.7.0) Parser: - keywords now have a maximum # of times they provide relevance ([#​3129](https://togithub.com/highlightjs/highlight.js/issues/3129)) [Josh Goebel][] - enh(api) add `unregisterLanguage` method ([#​3009](https://togithub.com/highlightjs/highlight.js/issues/3009)) [Antoine du Hamel][] - enh: Make alias registration case insensitive ([#​3026](https://togithub.com/highlightjs/highlight.js/issues/3026)) [David Ostrovsky][] - fix(parser) `highlightAll()` now works if the library is lazy loaded [Josh Goebel][] New Languages: - Added 3rd party RiScript grammar to SUPPORTED_LANGUAGES ([#​2988](https://togithub.com/highlightjs/highlight.js/issues/2988)) \[John C]\[] - Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES ([#​3002](https://togithub.com/highlightjs/highlight.js/issues/3002)) [Stef Levesque][] - Added 3rd party Q# grammar to SUPPORTED_LANGUAGES([#​3006](https://togithub.com/highlightjs/highlight.js/issues/3006)) [Vyron Vasileiadis][] Language grammar improvements: - enh(js/ts) class references (CamelCase) are highlighted ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) constants (ALL_CAPS) are highlighted ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) highlights function invokation ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(js/ts) functions assigned to variables are now highlighted `title.function` ([#​3169](https://togithub.com/highlightjs/highlight.js/issues/3169)) [Josh Goebel][] - enh(parser) smarter detection of comments ([#​2827](https://togithub.com/highlightjs/highlight.js/issues/2827)) [Josh Goebel][] - fix(python) allow keywords immediately following numbers ([#​2985](https://togithub.com/highlightjs/highlight.js/issues/2985)) [Josh Goebel][] - fix(xml) char immediately following tag close mis-highlighted ([#​3044](https://togithub.com/highlightjs/highlight.js/issues/3044)) [Josh Goebel][] - fix(ruby) fix `defined?()` mis-highlighted as `def` ([#​3025](https://togithub.com/highlightjs/highlight.js/issues/3025)) [Josh Goebel][] - fix(c) comments after `#include ` blocks ([#​3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][] - fix(cpp) comments after `#include ` blocks ([#​3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][] - enh(cpp) Highlight all function dispatches ([#​3005](https://togithub.com/highlightjs/highlight.js/issues/3005)) [Josh Goebel][] - enh(python) support type hints and better type support ([#​2972](https://togithub.com/highlightjs/highlight.js/issues/2972)) [Josh Goebel][] - enh(gml) Add additional GML 2.3 keywords ([#​2984](https://togithub.com/highlightjs/highlight.js/issues/2984)) [xDGameStudios][] - fix(cpp) constructor support for initializers ([#​3001](https://togithub.com/highlightjs/highlight.js/issues/3001)) [Josh Goebel][] - enh(php) Add `trait` to class-like naming patterns ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add `Stringable`, `UnhandledMatchError`, and `WeakMap` classes/interfaces ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add `mixed` to list of keywords ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add support binary, octal, hex and scientific numerals with underscore separator support ([#​2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][] - enh(php) Add support for Enums ([#​3004](https://togithub.com/highlightjs/highlight.js/issues/3004)) [Ayesh][] - enh(ecmascript) Add built-in types [Vaibhav Chanana][] - enh(kotlin) Add `kts` as an alias for Kotlin ([#​3021](https://togithub.com/highlightjs/highlight.js/issues/3021)) [Vaibhav Chanana][] - enh(css) Add `font-smoothing` to attributes list for CSS ([#​3027](https://togithub.com/highlightjs/highlight.js/issues/3027)) [AndyKIron][] - fix(python) Highlight `print` and `exec` as a builtin ([#​1468](https://togithub.com/highlightjs/highlight.js/issues/1468)) [Samuel Colvin][] - fix(csharp) Fix unit being highlighted instead of uint ([#​3046](https://togithub.com/highlightjs/highlight.js/issues/3046)) \[Spacehamster]\[] - enh(swift) add async/await keywords ([#​3048](https://togithub.com/highlightjs/highlight.js/issues/3048)) \[Bradley Mackey]\[] Deprecations: - `highlight(languageName, code, ignoreIllegals, continuation)` deprecated as of 10.7 - Please use the newer API which takes `code` and then accepts options as an object - IE: `highlight(code, {language, ignoreIllegals})` - `continuation` is for internal use only and no longer supported - `highlightBlock(el)` deprecated as of 10.7. - Please use `highlightElement(el)` instead. - Plugin callbacks renamed `before/after:highlightBlock` => `before/after:highlightElement` - Plugin callback now takes `el` vs `block` attribute - The old API and callbacks will be supported until v12. [Stef Levesque]: https://togithub.com/stef-levesque [Josh Goebel]: https://togithub.com/joshgoebel [John Cheung]: https://togithub.com/Real-John-Cheung [xDGameStudios]: https://togithub.com/xDGameStudios [Ayesh]: https://togithub.com/Ayesh [Vyron Vasileiadis]: https://togithub.com/fedonman [Antoine du Hamel]: https://togithub.com/aduh95 [Vaibhav Chanana]: https://togithub.com/il3ven [David Ostrovsky]: https://togithub.com/davido [AndyKIron]: https://togithub.com/AndyKIron [Samuel Colvin]: https://togithub.com/samuelcolvin

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (10.7.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

mei23 commented 3 months ago

10.7.2まで入れてなんか微妙だった気がした