Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-highlightjs

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-highlightjs - npm Package Versions

13
6

6.1.2

Diff

Changelog

Source

6.1.2

  • fix: check if options is defined in HighlightLoader service, closes #219 in cac55cb.
  • fix: Update deprecated usage of throwError in rxjs 7.
murhaf
published 6.1.1 •

Changelog

Source

6.1.1

  • fix: RxJS peerDependency warning when installing the package, closes#205 in 87c8521.
  • fix: Passing empty string to [highlight] input should clear the highlighted content (test cases is added for that), closes #119 in 2d67fb3.
murhaf
published 6.1.0 •

Changelog

Source

6.1.0

  • feat: Load highlighting theme dynamically, ability to switch between themes easily, closes #194 in 9422d29.
murhaf
published 6.0.0 •

Changelog

Source

6.0.0

  • Upgrade library to Angular 13
murhaf
published 5.0.0 •

Changelog

Source

5.0.0

  • Upgrade usage to highlight.js v11, you can find the breaking changes from the official page here.
  • Build the library with partial compilationMode.
  • feat: Add the missing functions from v11 in HighlightJS service.
  • Remove deprecated function in v11, such as initHighlighting(), highlightBlock(), fixMarkup() from HighlightJS service.

Breaking changes

  • refactor: (highlighted) output has been updated to highlight.js v11, the result object has a new interface HighlightAutoResult.
  • refactor: HighlightJS.configure(config) has been updated the config interface to highlight.js v11.
murhaf
published 4.1.4 •

Changelog

Source

4.1.4

  • Upgrade to Angular 12
  • Set peer dependency of highlight.js to v10

The library is still compatible with the new version of highlight.js v11 but the highlighting function will be deprecated in their next release

murhaf
published 4.1.3 •

Changelog

Source

4.1.3

  • Upgrade to Angular 11
  • Build the library in strict mode

Breaking changes:

  • refactor: Highlight directive => function highlightElement(code: string, languages: string[]): the languages param is not optional anymore.
murhaf
published 4.1.3-beta.0 •

murhaf
published 4.1.2 •

Changelog

Source

4.1.2

  • fix: codeFromUrl display error message in the console even though it works, closes #141 in d60dc10.
murhaf
published 4.1.1 •

Changelog

Source

4.1.1

  • Upgrade project to Angular 10.
  • fix: Remove the default behavior of adding highlight.js to the bundle directory, closes #122 in 339ff18.
  • fix: Setting the highlighted code to empty string will not reflect the value change, closes #199 in 9ee1942.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc