Open snyk-bot opened 3 years ago
Merging #276 (3c014d4) into main (3722b14) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #276 +/- ##
=======================================
Coverage 32.47% 32.47%
=======================================
Files 40 40
Lines 2186 2186
=======================================
Hits 710 710
Misses 1387 1387
Partials 89 89
Snyk has created this PR to upgrade highlight.js from 10.6.0 to 10.7.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: highlight.js
This .1 patch release fixes an issue with the TypeScript typing info in 10.7.0.
Release notes from 10.7.0
Parser:
unregisterLanguage
method (#3009) Antoine du HamelhighlightAll()
now works if the library is lazy loaded Josh GoebelNew Languages:
Language grammar improvements:
defined?()
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
attributeNew Languages:
Language grammar improvements:
Grammar Deprecations:
c-like
, though you should not be using it directly anyways.c
andcpp
are now wholly unique grammars that will diverge over timeParser:
highlightAll()
API (#2962) Josh GoebelinitHighlighting()
andinitHighlightingOnLoad()
beginKeyword
no longer bestows double relevance (#2953) Josh Goebelkeywords
to be an array of strings Josh Goebelmodes.MATCH_NOTHING_RE
that will never matchend
to hold a mode open (it must then be ended withendsParent
in one of it's children modes) Josh GoebelDeprecations:
initHighlighting()
andinitHighlightingOnLoad()
deprecated.highlightAll()
API instead.highlightAll
in v11.Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs