fix(night) Prevent object prototype values from being returned by getLanguage (#2636) night
10.1.1
Fixes:
Resolve issue on Node 6 due to dangling comma (#2608) [Edwin Hoogerbeets][]
Resolve index.d.ts is not a module error (#2603) [Josh Goebel][]
10.1.0
Just your typical minor release. Plenty of fixes and enhancements, few new themes.
Some deprecations language maintainers might want to pay attention to:
htmlbars grammar is now deprecated. Use handlebars instead. (#2344) [Nils Knappmeier][]
when using highlightBlockresult.re deprecated. Use result.relevance instead. (#2552) [Josh Goebel][]
ditto for result.second_best.re => result.second_best.relevance (#2552)
lexemes is now deprecated in favor of keywords.$pattern key (#2519) [Josh Goebel][]
endSameAsBegin is now deprecated. (#2261) [Josh Goebel][]
10.0.2
Fixes a serious potential freeze/infinite loop issue. Everyone on version 10 should upgrade.
Remove support for AMD module loading, which never truly worked properly anyways.
10.0.1
Fixes: sublanguage with no rule matches causes text to disappear in final output. (#2506).
10.0.0
Welcome to version 10.0. This a major release and therefore will contain breaking changes.
Breaking Changes
Our normal minor releases try to never break anything, holding all breaking changes for major releases.
We tried to squeeze in as many as we could this time so that after 10.0 ships we'll be back to quiet sailing for a while before we need to push version 11. That said, we're very conservative about what we consider a breaking change.
i.e., if there it could possibly break things for anyone, it's typically a breaking change. The fact is a vast majority of users should upgrade and probably not notice any changes at all.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps highlight.js from 9.15.10 to 10.1.2.
Release notes
Sourced from highlight.js's releases.
Changelog
Sourced from highlight.js's changelog.
Commits
edd73d2
bump v10.1.27241013
(parser) use null prototype objects for languages/aliases (#2636)93fd0d7
bump v10.1.1; (chore) add changelog for 10.1.1c5783d2
(chore) clean up types just a littlea4ee4e4
(chore) declare ambient modules for lib/core & languges0656588
(chore) removed dangling comma (#2612)b1bce6e
(chore) more import below metadata comment74de6ea
(chore) bump copyrightb2d19b0
bump v10.1.084f7fa3
(chore) upgrade some dev stuff to newer versionsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually