This repository was archived by the owner on Dec 4, 2021. It is now read-only.
fix(deps): update dependency highlight.js to v11#49
Open
renovate[bot] wants to merge 1 commit intolatestfrom
Open
fix(deps): update dependency highlight.js to v11#49renovate[bot] wants to merge 1 commit intolatestfrom
renovate[bot] wants to merge 1 commit intolatestfrom
Conversation
c65856a to
039dddd
Compare
e787021 to
2b45b08
Compare
491fad3 to
ce69565
Compare
ce69565 to
3122b40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.1.1->^11.0.0Release Notes
highlightjs/highlight.js
v11.3.1Compare Source
Build:
v11.3.0Compare Source
Build:
HighlightJSnamed export (#3295) Josh Goebel.defaultnamed export to CJS builds (#3333) Josh GoebelParser:
throwUnescapedHTMLto warn against potential HTML injection Josh Goebelregexhelper functions viahljsinjection Josh GoebelGrammars:
class X extends Y(#3278) Josh GoebelFloat32Arrayhighlighted incorrectly (#3353) Josh Goebelerrortype Josh GoebelSUBSTis no longer highlighted Josh Goebelxor_eqkeyword highlighting. Denis Kovalchukdoandthenkeyword (#3323) Nicolas Stuckienum,exportandgivenkeywords (#3328) Nicolas Stuckiextensionsoft keyword (#3326) Nicolas Stuckiendsoft keyword (#3327) Nicolas Stuckiinlinesoft keyword (#3329) Nicolas Stuckiusingsoft keyword (#3330) Nicolas Stuckif#alias (#3337) Bahnschriftcase_insensitivetotrue(#3351) idlebergv11.2.0Compare Source
Build:
Parser:
_(#3283) Josh Goebel__FILE__and__LINE__constants (#3283) Josh GoebelGrammars:
isolated/nonisolatedkeywords (#3296) Bradley MackeyNew Languages:
v11.1.0Compare Source
Grammars:
catchkeyword (#3251) Konrad Rudolphpwshalias (#3236) tebecoednalias (#3213) Stel Abregov11.0.1Compare Source
v11.0.0Compare Source
This is a major release. As such it contains breaking changes which may require action from users. Please read VERSION_11_UPGRADE.md for a detailed summary of all breaking changes.
Potentially breaking changes
Unless otherwise attributed items below are thanks to Josh Goebel (ref: #2558).
The below list should only be considered to be a high-level summary.
Deprecations / Removals / API Changes:
initHighlighting()andinitHighlightingOnLoad()deprecated. UsehighlightAll().highlightBlock(el)deprecated. UsehighlightElement(el)before:highlightBlock&after:highlightBlockcallbacks deprecated. Use equivalenthighlightElementcallbacks.highlight(languageName, code, ignoreIllegals, continuation)signature deprecated. Usehighlight(code, {language, ignoreIllegals}).highlight()signature no longer supportscontinuationargument.tabReplaceoption removed. Consider a plugin.useBRoption removed. Consider a plugin or CSS.requireLanguage()removed. UsegetLanguage().endSameAsBeginmode key removed. Usehljs.END_SAME_AS_BEGIN.lexemesmode key removed. Usekeywords.$pattern.Security:
Themes:
schoolbookhas been updated to remove the lined background.githubupdated to better match modern GitHub (#1616) Jan Pilzergithub-gisthas been removed in favor ofgithubJan Pilzernnfxupdated for v11 xml styles and improved css supportLanguage Grammars:
Other changes
Parser:
beginScopeandendScopeto allow separate scoping begin and end (#3159) Josh GoebelendScopenow supports multi-class matchers as well (#3159) Josh GoebelhighlightElementnow always tags blocks with a consistentlanguage-[name]class Josh Goebelspantags now also always have thelanguage-prefix addedtitle.class.inheritedsub-scope support Josh Goebeltitle.classsub-scope support (#3078) Josh Goebeltitle.functionsub-scope support (#3078) Josh GoebelbeforeMatchcompiler extension (#3078) Josh GoebelcssSelectorconfiguration option (#3180) James EdingtonGrammars:
.meta-keyword=>.meta .keyword(nested scopes) (#3167) Josh Goebel.meta-string=>.meta .string(nested scopes) (#3167) Josh Goebelactorkeyword (#3171) Bradley Mackey@resultBuilderattribute (#3151) Bradley Mackeypdealias (#3142) Dylan McBeanfunction.title=>title.function(#3078) Josh Goebelfunction.title=>title.function(#3078) Josh Goebelfunction.title=>title.function(#3078) Josh Goebelimpl(#3078) Josh GoebelNew Languages:
Theme Improvements:
builtin-nameCSS class (#3119) Josh GoebelNew Themes:
Dev Improvements:
v10.7.3Compare Source
No other changes.
v10.7.2Compare Source
This is a patch release. The only change is that deprecation messages
are throttled and shown only once.
v10.7.1Compare Source
Version 10.7.0
Parser:
unregisterLanguagemethod (#3009) Antoine du HamelhighlightAll()now works if the library is lazy loaded Josh GoebelNew Languages:
Language grammar improvements:
title.function(#3169) Josh Goebeldefined?()mis-highlighted asdef(#3025) Josh Goebel#include <str>blocks (#3041) Josh Goebel#include <str>blocks (#3041) Josh Goebeltraitto class-like naming patterns (#2997) AyeshStringable,UnhandledMatchError, andWeakMapclasses/interfaces (#2997) Ayeshmixedto list of keywords (#2997) Ayeshktsas an alias for Kotlin (#3021) Vaibhav Chananafont-smoothingto attributes list for CSS (#3027) AndyKIronprintandexecas a builtin (#1468) Samuel ColvinDeprecations:
highlight(languageName, code, ignoreIllegals, continuation)deprecated as of 10.7codeand then accepts options as an objecthighlight(code, {language, ignoreIllegals})continuationis for internal use only and no longer supportedhighlightBlock(el)deprecated as of 10.7.highlightElement(el)instead.before/after:highlightBlock=>before/after:highlightElementelvsblockattributev10.7.0Compare Source
Parser:
unregisterLanguagemethod (#3009) Antoine du HamelhighlightAll()now works if the library is lazy loaded Josh GoebelNew Languages:
Language grammar improvements:
title.function(#3169) Josh Goebeldefined?()mis-highlighted asdef(#3025) Josh Goebel#include <str>blocks (#3041) Josh Goebel#include <str>blocks (#3041) Josh Goebeltraitto class-like naming patterns (#2997) AyeshStringable,UnhandledMatchError, andWeakMapclasses/interfaces (#2997) Ayeshmixedto list of keywords (#2997) Ayeshktsas an alias for Kotlin (#3021) Vaibhav Chananafont-smoothingto attributes list for CSS (#3027) AndyKIronprintandexecas a builtin (#1468) Samuel ColvinDeprecations:
highlight(languageName, code, ignoreIllegals, continuation)deprecated as of 10.7codeand then accepts options as an objecthighlight(code, {language, ignoreIllegals})continuationis for internal use only and no longer supportedhighlightBlock(el)deprecated as of 10.7.highlightElement(el)instead.before/after:highlightBlock=>before/after:highlightElementelvsblockattributev10.6.0Compare Source
New Languages:
Language grammar improvements:
Grammar Deprecations:
c-like, though you should not be using it directly anyways.candcppare now wholly unique grammars that will diverge over timeParser:
highlightAll()API (#2962) Josh GoebelinitHighlighting()andinitHighlightingOnLoad()beginKeywordno longer bestows double relevance (#2953) Josh Goebelkeywordsto be an array of strings Josh Goebelmodes.MATCH_NOTHING_REthat will never matchendto hold a mode open (it must then be ended withendsParentin one of it's children modes) Josh GoebelDeprecations:
initHighlighting()andinitHighlightingOnLoad()deprecated.highlightAll()API instead.highlightAllin v11.v10.5.0Compare Source
Build:
cdn-assetsJosh Goebel:common) Josh GoebelParser:
matchas sugar for simplebeginonly matches (#2834) Josh Goebelillegalto also be an array of regex (#2834) Josh GoebelcompilerExtensionsallows grammers to influence mode compilation (#2834) Josh GoebelNew Languages:
Language grammar improvements:
makeas an alias (#2883) tripleee[]for argument lists (#2913) Josh GoebelREMcomments and fixes'''doctags (#2875) (#2851)Enable,Disable, andThenkeywordsRecent Deprecations:
<pre>blocks will no longer be magically merged back into thehighlighted code's HTML result - it will instead be silently removed.
tabReplaceoption deprecated. (#2873) Josh Goebeltab-sizeproperty, or simply pre-process thetext yourself before rendering the initial HTML
useBRoption deprecated. (#2559) Josh Goebel<pre>tagwhite-space: pre;requireLanguageAPI is deprecated, will be removed in v11.0.getLanguage(with custom error handling) or built-time dependencies.Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.