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

1
6

4.1.0

Diff

Changelog

Source

4.1.0-beta

  • Upgrade to Angular 9 in #113.
  • fix: Remove warning when the package is installed in Angular 9 in 6d491be.
murhaf
published 4.1.0-beta.1 •

murhaf
published 4.1.0-beta •

Changelog

Source

4.1.0-beta

  • Upgrade to Angular 9 in #113.
  • fix: Remove warning when the package is installed in Angular 9 in 6d491be.
murhaf
published 4.0.2 •

Changelog

Source

4.0.2

  • fix: use element.textContent to set the code before highlighting, closes #105 in 34afad7.
murhaf
published 4.0.1 •

Changelog

Source

4.0.1

  • fix: Change r property name to relevance in HighlightResult interface, closes #84 in ce53661.
  • fix: Sanitize highlighted code before appending it to the DOM, closes #101 in 9afe6b6.
  • fix: Check if nativeElement.firstChildElement is not null before calling line numbers lib, in 494c976.
murhaf
published 4.0.0 •

Changelog

Source

4.0.0

  • feat: Lazy-load hljs library, closes #89 in 8cdba13.
  • feat: Lazy-load languages scripts, in 952f33c.
  • feat: Gist directive, closes #90 in 8b4c8fc.
  • feat: Highlight code directly from URL, closes #91 in 5fa3c59.
  • feat: Line numbers, closes #35 in c19b878.
  • enhance: Move highlight.js package from peerDependencies to dependencies
  • fix: Check if [highlight] input got undefined value, closes #81 in f2b14bd.
  • fix: Add test files, closes #79 in 2913d05.

Breaking Changes

  • Since the core library highlight.js will be lazy-loaded, all hljs functions in HighlightJS will return observables to make sure the library is loaded before execution.
  • HighlightChildren directive has been deprecated.
  • The global options languages property NgScrollOptions.languages type has changed.
  • HighlightModule.forRoot() is deprecated, the highlight global options can be set using the injection token HIGHLIGHT_OPTIONS
murhaf
published 4.0.0-beta.4 •

murhaf
published 4.0.0-beta.3 •

murhaf
published 4.0.0-beta.2 •

murhaf
published 4.0.0-beta.1 •

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