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

highlight.js

Package Overview
Dependencies
Maintainers
0
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlight.js - npm Package Versions

1
11

9.15.1

Diff

Changelog

Source

Version 9.15.1

New languages: none.

New styles: none.

Improvements:

  • Pony: Fixed keywords without spaces at line ends, highlighting of iso in class definitions, and function heads without bodies in traits and interfaces. Removed FUNCTION and CLASS modes until they are found to be needed and to provide some of the fixes.
  • Support external language files in minified version of highlight.js (#1888)
isagalaev
published 9.14.2 •

Changelog

Source

Version 9.14.2

New languages: none. New styles: none. Improvements:

  • Gauss fixed to stop global namespace pollution [Scott Hyndman][].
  • fix(Tcl): removed apostrophe string delimiters (don't exist)
isagalaev
published 9.14.1 •

Changelog

Source

Version 9.14.1

New languages: none. New styles: none. Improvements:

  • Pony: language improvements (#1958)
isagalaev
published 9.13.1 •

Changelog

Source

Version 9.13.1

Improvements:

  • C# function declarations no longer include trailing whitespace, by [JeremyTCD][]
  • Added new and missing keywords to AngelScript, by [Melissa Geels][]
  • TypeScript decorator factories highlighting fix, by [Antoine Boisier-Michaud][]
  • Added support for multiline strings to Swift, by [Alejandro Isaza][]
  • Fixed issue that was causing some minifiers to fail.
  • Fixed autoDetection to accept language aliases.
isagalaev
published 9.13.0 •

Changelog

Source

Version 9.13.0

New languages:

  • ArcGIS Arcade by [John Foster][]
  • AngelScript by [Melissa Geels][]
  • GML by [meseta][]
  • isbl built-in language DIRECTUM and Conterra by [Dmitriy Tarasov][].
  • PostgreSQL SQL dialect and PL/pgSQL language by [Egor Rogov][].
  • ReasonML by [Gidi Meir Morris][]
  • SAS by [Mauricio Caceres Bravo][]
  • Plaintext by [Egor Rogov][]
  • .properties by [bostko][] and [Egor Rogov][]

New styles:

  • a11y-dark theme by [Eric Bailey][]
  • a11y-light theme by [Eric Bailey][]
  • An Old Hope by [Gustavo Costa][]
  • Atom One Dark Reasonable by [Gidi Meir Morris][]
  • isbl editor dark by [Dmitriy Tarasov][]
  • isbl editor light by [Dmitriy Tarasov][]
  • Lightfair by [Tristian Kelly][]
  • [Nord][nord-highlightjs] by [Arctic Ice Studio][]
  • 🦄 Shades of Purple by [Ahmad Awais][]

Improvements:

  • New attribute endSameAsBegin for nested constructs with variable names by [Egor Rogov][].
  • Python highlighting of escaped quotes fixed by [Harmon][]
  • PHP: Added alias for php7, by [Vijaya Chandran Mani][]
  • C++ string handling, by [David Benjamin][]
  • Swift Add @objcMembers to @attributes, by [Berk Çebi][]
  • Infrastructural changes by [Marcos Cáceres][]
  • Fixed metachars highighting for NSIS by [Jan T. Sott][]
  • Yaml highlight local tags as types by [Léo Lam][]
  • Improved highlighting for Elixir by [Piotr Kaminski][]
  • New attribute disableAutodetect for preventing autodetection by [Egor Rogov][]
  • Matlab: transpose operators and double quote strings, by [JohnC32][] and [Egor Rogov][]
  • Various documentation typos and improvemets by [Jimmy Wärting][], [Lutz Büch][], [bcleland][]
  • Cmake updated with new keywords and commands by [Deniz Bahadir][]
isagalaev
published 9.12.0 •

Changelog

Source

Version 9.12.0

New language:

  • MikroTik RouterOS Scripting language by [Ivan Dementev][].

New style:

  • VisualStudio 2015 Dark by [Nicolas LLOBERA][]

Improvements:

  • Crystal updated with new keywords and syntaxes by [Tsuyusato Kitsune][].
  • Julia updated to the modern definitions by [Alex Arslan][].
  • julia-repl added by [Morten Piibeleht][].
  • [Stanislav Belov][] wrote a new definition for 1C, replacing the one that has not been updated for more than 8 years. The new version supports syntax for versions 7.7 and 8.
  • [Nicolas LLOBERA][] improved C# definition fixing edge cases with function titles detection and added highlighting of [Attributes].
  • [nnnik][] provided a few correctness fixes for Autohotkey.
  • [Martin Clausen][] made annotation collections in Clojure to look consistently with other kinds.
  • [Alejandro Alonso][] updated Swift keywords.
isagalaev
published 9.11.0 •

Changelog

Source

Version 9.11.0

New languages:

  • Shell by [Tsuyusato Kitsune][]
  • jboss-cli by [Raphaël Parrëe][]

Improvements:

  • [Joël Porquet] has [greatly improved the definition of makefile][5b3e0e6].
  • C++ class titles are now highlighted as in other languages with classes.
  • [Jordi Petit][] added rarely used or, and and not keywords to C++.
  • [Pieter Vantorre][] fixed highlighting of negative floating point values.
isagalaev
published 9.10.0 •

Changelog

Source

Version 9.10.0

Apologies for missing the previous release cycle. Some thing just can't be automated… Anyway, we're back!

New languages:

  • Hy by [Sergey Sobko][]
  • Leaf by [Hale Chan][]
  • N1QL by [Andres Täht][] and [Rene Saarsoo][]

Improvements:

  • Rust got updated with new keywords by [Kasper Andersen][] and then significantly modernized even more by [Eduard-Mihai Burtescu][] (yes, @eddyb, Rust core team member!)
  • Python updated with f-literals by [Philipp A][].
  • YAML updated with unquoted strings support.
  • Gauss updated with new keywords by [Matt Evans][].
  • Lua updated with new keywords by [Joe Blow][].
  • Kotlin updated with new keywords by [Philipp Hauer][].
  • TypeScript got highlighting of function params and updated keywords by [Ike Ku][].
  • Scheme now correctly handles `-quoted lists thanks to [Guannan Wei].
  • [Sam Wu][] fixed handling of << in C++ defines.
isagalaev
published 9.9.0 •

Changelog

Source

Version 9.9.0

New languages

  • LLVM by [Michael Rodler][]

Improvements:

  • TypeScript updated with annotations and param lists inside constructors, by [Raphael Parree][].
  • CoffeeScript updated with new keywords and fixed to recognize JavaScript in ```, thanks to thanks to [Geoffrey Booth][].
  • Compiler directives in Delphi are now correctly highlighted as "meta".
isagalaev
published 9.8.0 •

Changelog

Source

Version 9.8.0 "New York"

This version is the second one that deserved a name. Because I'm in New York, and the release isn't missing the deadline only because it's still Tuesday on West Coast.

New languages:

  • Clean by [Camil Staps][]
  • Flix by [Magnus Madsen][]

Improvements:

  • [Kenton Hamaluik][] did a comprehensive update for Haxe.
  • New commands for PowerShell from [Nicolas Le Gall][].
  • [Jan T. Sott][] updated NSIS.
  • Java and Swift support unicode characters in identifiers thanks to [Alexander Lichter][].
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