Socket
Socket
Sign inDemoInstall

highlight.js

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlight.js - npm Package Compare versions

Comparing version 9.18.0 to 9.18.1

4

lib/languages/coffeescript.js

@@ -55,3 +55,3 @@ module.exports = function(hljs) {

{
begin: '//[gim]*',
begin: '//[gim]{0,3}(?=\\W)',
relevance: 0

@@ -62,3 +62,3 @@ },

// regex can't start with *, and it supports an "illegal" in the main mode
begin: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/
begin: /\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/
}

@@ -65,0 +65,0 @@ ]

@@ -9,3 +9,3 @@ {

"homepage": "https://highlightjs.org/",
"version": "9.18.0",
"version": "9.18.1",
"author": {

@@ -12,0 +12,0 @@ "name": "Ivan Sagalaev",

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