Update dependency react-syntax-highlighter to v16 #559
  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:
9.0.1->16.1.0Release Notes
react-syntax-highlighter/react-syntax-highlighter (react-syntax-highlighter)
v16.1.0Compare Source
v16.0.0Compare Source
New major version!
16.0.0 brings a major version update to the
refractordependency, which remedies some security issues but could result in a breaking change to your app's dependencies. Please update with care.What's Changed
New Contributors
Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.6...v16.0.0
v15.6.6Compare Source
Updated
overridesblock attempting to solve transitiveprismjsdependency issue:Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.5...v15.6.6
v15.6.5Compare Source
What's Changed
New Contributors
Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.4...v15.6.5
v15.6.4Compare Source
What's Changed
refractor 3.6.0'sprismjsdependency by @simmerer in #605Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.3...v15.6.4
v15.6.3Compare Source
What's Changed
New Contributors
Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.2...v15.6.3
v15.6.2Compare Source
What's Changed
New Contributors
Full Changelog: react-syntax-highlighter/react-syntax-highlighter@v15.6.1...v15.6.2
v15.6.1Compare Source
display:styles whenwrapLongLinesis truev15.6.0Compare Source
v15.5.0Compare Source
As noted in the PR, updating
prismusually brings along a few surprises; this one gave us a new programming language namedfalse, which as you can imagine is fun to import and parse within Javascript.Thanks to everyone for your patience. We'll be getting back in the groove of regular releases here.
v15.4.5Compare Source
v15.4.4Compare Source
v15.4.3Compare Source
highlightversion regressionv15.4.2Compare Source
lowlightto 1.17.0 to matchhighlightdependency versionv15.4.1Compare Source
v15.4.0Compare Source
v15.3.1Compare Source
v15.3.0Compare Source
v15.2.1Compare Source
v15.2.0Compare Source
v15.1.0Compare Source
prism-themes1.4.1v15.0.1Compare Source
v15.0.0Compare Source
v14.0.2Compare Source
v14.0.0Compare Source
wrapLongLines, which removes the need to manually addwhite-space: prestylingshowInlineLineNumbers = true: whenshowLineNumbersistrue, we now default to inline line numbers instead of putting them in a separate<code>block<code>tag (will be set to eitherwhite-space: preorwhite-space: pre-wrapdepending on value ofwrapLongLinesprop)v13.5.3Compare Source
v13.5.2Compare Source
v13.5.1Compare Source
createElementthat went missing as of version 13.5.v13.5.0Compare Source
refractor3.1.0, which brings inprismjs1.21.0. We'd pinnedreact-syntax-highlighter 13.3.1toprismjs 1.21.0, but didn't realize thatrefractor's dependency would keep us at 1.20.0v13.4.0Compare Source
Bugfixes
<pre>when using Prismv13.3.1Compare Source
refractor3.1.0, which brings inprismjs1.21.0. We'd pinnedreact-syntax-highlighter 13.3.1toprismjs 1.21.0, but didn't realize thatrefractor's dependency would keep us at 1.20.0v13.2.1Compare Source
Bugfixes
v13.2.0Compare Source
prism-themesdependency to pull in new themes, includingvsc-dark-plusNew Prism themes available
a11yDarkdraculamaterialDarkmaterialLightmaterialOceanicnordshadesOfPurplesynthwave84vscDarkPlusv13.1.0Compare Source
Demo updates:
v13.0.0Compare Source
highlight ^10.1.1andlowlight ^1.14.0dependenciesrefractor ^3.0.0andprism ^1.20.0dependenciescreateElement()in public APIliberapaytogithubwebsocket-extensionsto 0.1.4New prop:
showInlineLineNumbersWhen paired with
showLineNumbers={true},showInlineLineNumbers={true}injects line numbers into each wrapped line of code, instead of creating a separate<code></code>block for the numbers. This allows line numbering to work with virtualized renderers such asreact-syntax-highlighter-virtualized-renderer.Inline line numbers are styled so that they're not selected when drag-selecting multiple lines of highlighted text, preserving expected behavior.
Breaking changes
Highlight v10 introduced some breaking changes for us here which we've worked around (mainly that
getLanguagewas no longer exposed), but this shouldn't cause breakage for most people relying onreact-syntax-highlighterand not consuminghighlight.jsdirectly.Theme rename
darkulatheme fromhighlight.js, highlight v10 has renamed that style todarcula.Renamed/removed highlight.js languages
cs(renamed tocsharp)nimrod(renamed tonim)tex(removed)New languages
New highlight.js languages
cLike(c-like)clatexphpTemplate(php-template)pythonRepl(python-repl)New prism.js languages
abnfantlr4aqlbbcodebnfbrightscriptcilcmakeconcurnasdaxdnsZoneFile(dns-zone-file)ebnfejsetluaexcelFormula(excel-formula)factorfirestoreSecurityRules(firestore-security-rules)ftlgcodegdscriptgmlhcljavadocjavadoclikejavastacktracejqjsExtras(js-extras)jsTemplates(js-templates)jsdocjson5jsonplattelilypondllvmmoonscriptn1qlnand2tetrisHdl(nand2tetris-hdl)neonpascaligopcaxisphpdocpowerqueryqmlregexrobotframeworkshellSession(shell-session)soliditysolutionFile(solution-file)sparqlsplunkSpl(splunk-spl)sqft4Cs(t4-cs)t4Templating(t4-templating)t4Vb(t4-vb)tomlturtlevalazigv12.2.1Compare Source
v12.1.0Compare Source
v12.0.2Compare Source
v12.0.1Compare Source
v12.0.0Compare Source
/sbin/initcommandmixin-deepandhandlebarsdependenciesv11.0.3Compare Source
v11.0.2Compare Source
styleprop description in READMEconor.rodeotoconorhastings.github.iolodashdep from 4.17.11 to 4.17.14v11.0.1Compare Source
v11.0.0Compare Source
v10.3.5Compare Source
v10.3.4Compare Source
v10.3.3Compare Source
async-languagesfor highlight, picking up new languages added in 10.3.0v10.3.2Compare Source
v10.3.1Compare Source
v10.3.0Compare Source
New highlight.js languages
angelscriptarcadegmlisblpgsqlplaintextpropertiesreasonmlsasNew prism.js styles
xonokaivs-darkv10.2.1Compare Source
classNamesconcatenation increateElementv10.2.0Compare Source
highlightfrom 9.12.0 to 9.13.0lowlightfrom 1.9.1 to 1.11.0New highlight.js styles available
a11yDarka11yLightanOldHopeatomOneDarkReasonablegmlisblEditorDarkisblEditorLightlightfairnordshadesOfPurplev10.1.3Compare Source
@babel/runtime,babel-jest,codecov,jest,request,webpack-dev-serverv10.1.2Compare Source
prettierconfig@babel/runtimeinstead ofbabel-runtimev10.1.1Compare Source
v10.1.0Compare Source
v10.0.1Compare Source
supportedLanguagesfield which can be used to determine the supported languagesv10.0.0Compare Source
registerLanguageis now a static method of the default export of highlighters that require registering of languages.prism-async-light&light-asyncnow ship with their own language loadersesm&cjsoutputs. Importing should now be done through import OR the import should point into the dist directory.distdirectory. Update your imports from:to:
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 was generated by Mend Renovate. View the repository job log.