-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency highlight.js to v11 #77
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
ce21559
to
e71bb13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
e71bb13
to
48408a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
48408a8
to
f2e76e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
f2e76e6
to
4f1c4a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
4f1c4a7
to
22748b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
22748b6
to
2c44265
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 100 potential problems in the proposed changes. Check the Files changed tab for more details.
2c44265
to
a8c8f86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
a2ef0ef
to
e1e98ce
Compare
688fd4b
to
f5e7f6c
Compare
f5e7f6c
to
b4fb52d
Compare
b4fb52d
to
40e9464
Compare
40e9464
to
c041de6
Compare
2e15264
to
901fdb7
Compare
901fdb7
to
b9391ed
Compare
b9391ed
to
796d6c9
Compare
796d6c9
to
7195bb2
Compare
7195bb2
to
640a210
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
640a210
to
ddc80f3
Compare
ddc80f3
to
ecfdc93
Compare
This PR contains the following updates:
9.15.6
->11.10.0
Release Notes
highlightjs/highlight.js (highlight.js)
v11.10.0
Compare Source
CAVEATS / POTENTIALLY BREAKING CHANGES
Core Grammars:
satisfies
operator Kisaragi Hiuor
conflicts with string highlighting Mohamed Aliself
variable [Lee Falin][]goto
to be recognized as a keyword in Java Alvin Joysudo
Alvin Joynew
keyword without capturing it within variables/class names Cameron Taylor_
separators, add hex p exponents Lisa Ugrayjustify-items
andjustify-self
attributes Vasily Polovnyovaccent-color
,appearance
,color-scheme
,rotate
,scale
andtranslate
attributes Carl Räftingselect
,option
,optgroup
,picture
andsource
to list of known tags Vasily Polovnyovinset
,inset-*
,border-start-*-radius
andborder-end-*-radius
attributes Vasily Polovnyovtext-decoration-skip-ink
,text-decoration-thickness
andtext-underline-offset
attributes Vasily PolovnyovNew Grammars:
Developer Tool:
highlight
API [Misha Kaletsky][]Themes:
1c-light
theme a like in the IDE 1C:Enterprise 8 (for 1c) Vitaly Barilkov11.9.0
Compare Source
CAVEATS / POTENTIALLY BREAKING CHANGES
node
buildstyles/*.css
files now ship un-minifiedwith minified counterparts as:
styles/*.min.css
mvorisek(this makes things consistent with our
cdn
builds)Parser:
New Grammars:
Core Grammars:
if
while
for
[Omar Hussein][]x0-x30
andw0-w30
ARMv8 registers Nicholas Thompsonfinal
,is
,macro
keywords and$
identifiers Robert Borgheseabstract
declaration from keyword Robert Borghesemacro
keyword Bradley Mackey@unchecked
and@Sendable
support Bradley Mackey//> using foo bar
[Jamie Thompson][]!assert
compiler flag [idleberg][]eprintln!
macro qoheniacwarn_unqualified_access
is an attribute Bradley Mackeyrecord
andvar
as keywords Guillaume LaforgeDeveloper Tool:
highlight
API. Shah Shabbir Ahmmedv11.8.0
Compare Source
Parser engine:
__emitTokens
key to grammars to allow then to direct their own parsing, only using Highlight.js for the HTML rendering Josh GoebelremovePlugin
api faga295JavaScript
Cyrus KaoNew Grammars:
Core Grammars:
_
in variable names [joshgoebel][]proto
alias for Protobuf [dimitropoulos][]base
,interface
,sealed
, andwhen
keywords Sam Rawlins->
operator legal) Keyacomselect
anduntil
as keywordsv11.7.0
Compare Source
New Grammars:
Grammars:
scm
alias for Scheme matyklug18<T =
are not JSX Josh Goebel((
keyword Nick Chambersimport()
as a function, rather a keyword nathnolt((
keyword Nick ChambersImprovements:
v11.6.0
Compare Source
Supported Node.js versions:
Default build changes:
wasm
to default:common
build (#3526) [Josh Goebel][]graphql
to default:common
build (#3526) [Josh Goebel][]Grammars:
keyword
toliteral
shikhar13012001scoped
keyword in C# (#3571) [David Pine][]transparent
keyword Matt Bovel::
(#3540) [Josh Goebel][]include_bytes!
macro (#3541) Serial-ATA==
as a variable declaration Mousetailany
keyword (#3515) Bradley Mackeydistributed
keyword Marcus Ortizmatch
andcase
keywords Avrumy Lungerv11.5.1
: Version 11.5.1Compare Source
Just a tiny release to hopefully fix the issues some are having with CSS not seen as having side effects with web pack, etc...
Packaging:
sideEffect
for css and scss files, fixes #3504v11.5.0
Compare Source
Themes:
Tokyo-Night-dark
theme Henri VandersleyenTokyo-Night-light
theme Henri Vandersleyenpanda-syntax-dark
theme Annmarie Switzerpanda-syntax-light
theme Annmarie SwitzerNew Grammars:
Grammars:
type
andvariable.language
scopes Josh Goebel$pattern
(numbers allowed in command names) Martin Mattelmeta.prompt
scope for REPL prompts, etc Josh Goebel***Hello world***
without breaking Josh Goebelelse
Josh Goebelv11.4.0
Compare Source
New Language:
Themes:
Default
is now much closer WCAG AA (contrast) (#3402) Josh GoebelDark
now meets WCAG AA (contrast) (#3402) Josh Goebelintellij-light
theme Pegasisfelipec
theme Felipe ContrerasThese changes should be for the better and should not be super noticeable but if you're super picky about your colors you may want to intervene here or copy over the older themes from 11.3 or prior.
Grammars:
vector<<
template false positive (#3437) Josh Goebelnamespace
anduse
highlighting (#3427) Josh Goebel$this
is avariable.language
now (#3427) Josh Goebel__COMPILER_HALT_OFFSET__
(#3427) Josh Goebelsealed
andnon-sealed
keywords (#3386) Bradley MackeyCLASS_REFERENCE
(#3411) Josh Goebel!
(#3417) idleberg!
(#3420) idlebergcomment
macro catches more than it should (#3395)$
in symbol breaks highlightingregex
mode to regex literalpunctuation
mode for commas.jldoctest
alias (#3432) Fons van der PlasDeveloper Tools:
Themes:
v11.3.1
Compare Source
Build:
v11.3.0
Compare Source
Build:
HighlightJS
named export (#3295) Josh Goebel.default
named export to CJS builds (#3333) Josh GoebelParser:
throwUnescapedHTML
to warn against potential HTML injection Josh Goebelregex
helper functions viahljs
injection Josh GoebelGrammars:
class X extends Y
(#3278) Josh GoebelFloat32Array
highlighted incorrectly (#3353) Josh Goebelerror
type Josh GoebelSUBST
is no longer highlighted Josh Goebelxor_eq
keyword highlighting. Denis Kovalchukdo
andthen
keyword (#3323) Nicolas Stuckienum
,export
andgiven
keywords (#3328) Nicolas Stuckiextension
soft keyword (#3326) Nicolas Stuckiend
soft keyword (#3327) Nicolas Stuckiinline
soft keyword (#3329) Nicolas Stuckiusing
soft keyword (#3330) Nicolas Stuckif#
alias (#3337) Bahnschriftcase_insensitive
totrue
(#3351) idlebergv11.2.0
Compare Source
Build:
Parser:
_
(#3283) Josh Goebel__FILE__
and__LINE__
constants (#3283) Josh GoebelGrammars:
isolated
/nonisolated
keywords (#3296) Bradley MackeyNew Languages:
v11.1.0
Compare Source
Grammars:
catch
keyword (#3251) Konrad Rudolphpwsh
alias (#3236) tebecoedn
alias (#3213) Stel Abregov11.0.1
Compare Source
v11.0.0
Compare 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:highlightBlock
callbacks deprecated. Use equivalenthighlightElement
callbacks.highlight(languageName, code, ignoreIllegals, continuation)
signature deprecated. Usehighlight(code, {language, ignoreIllegals})
.highlight()
signature no longer supportscontinuation
argument.tabReplace
option removed. Consider a plugin.useBR
option removed. Consider a plugin or CSS.requireLanguage()
removed. UsegetLanguage()
.endSameAsBegin
mode key removed. Usehljs.END_SAME_AS_BEGIN
.lexemes
mode key removed. Usekeywords.$pattern
.Security:
Themes:
schoolbook
has been updated to remove the lined background.github
updated to better match modern GitHub (#1616) Jan Pilzergithub-gist
has been removed in favor ofgithub
Jan Pilzernnfx
updated for v11 xml styles and improved css supportLanguage Grammars:
Other changes
Parser:
beginScope
andendScope
to allow separate scoping begin and end (#3159) Josh GoebelendScope
now supports multi-class matchers as well (#3159) Josh GoebelhighlightElement
now always tags blocks with a consistentlanguage-[name]
class Josh Goebelspan
tags now also always have thelanguage-
prefix addedtitle.class.inherited
sub-scope support Josh Goebeltitle.class
sub-scope support (#3078) Josh Goebeltitle.function
sub-scope support (#3078) Josh GoebelbeforeMatch
compiler extension (#3078) Josh GoebelcssSelector
configuration option (#3180) James EdingtonGrammars:
.meta-keyword
=>.meta .keyword
(nested scopes) (#3167) Josh Goebel.meta-string
=>.meta .string
(nested scopes) (#3167) Josh Goebelactor
keyword (#3171) Bradley Mackey@resultBuilder
attribute (#3151) Bradley Mackeypde
alias (#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-name
CSS class (#3119) Josh GoebelNew Themes:
Dev Improvements:
v10.7.3
Compare Source
No other changes.
v10.7.2
: Version 10.7.2Compare Source
This is a patch release. The only change is that deprecation messages
are throttled and shown only once.
v10.7.1
Compare Source
Version 10.7.0
Parser:
unregisterLanguage
method (#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 Goebeltrait
to class-like naming patterns (#2997) AyeshStringable
,UnhandledMatchError
, andWeakMap
classes/interfaces (#2997) Ayeshmixed
to list of keywords (#2997) Ayeshkts
as an alias for Kotlin (#3021) Vaibhav Chananafont-smoothing
to attributes list for CSS (#3027) AndyKIronprint
andexec
as a builtin (#1468) Samuel ColvinDeprecations:
highlight(languageName, code, ignoreIllegals, continuation)
deprecated as of 10.7code
and then accepts options as an objecthighlight(code, {language, ignoreIllegals})
continuation
is for internal use only and no longer supportedhighlightBlock(el)
deprecated as of 10.7.highlightElement(el)
instead.before/after:highlightBlock
=>before/after:highlightElement
el
vsblock
attributev10.7.0
Compare Source
Parser:
unregisterLanguage
method (#3009) Antoine du HamelhighlightAll()
now works if the library is lazy loaded Josh GoebelNew Languages:
Language grammar improvements:
title.function
(#3169) Josh GoebelConfiguration
📅 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.