From dbfffac6133d54e1cb86ef5cdac8a375d63a4233 Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Fri, 24 Jul 2020 13:10:25 -0400 Subject: [PATCH] pin v9.18.2 --- CHANGES.md | 9 +++++++++ README.md | 6 +++--- docs/conf.py | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index dda169272d..7940c2fb1f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +## Version 9.18.2 + +Fixes: + +- fix(night) Prevent object prototype values from being returned by `getLanguage` (#2636) [night][] + +[night]: https://github.com/night + + ## Version 9.18.1 Grammar Improvements: diff --git a/README.md b/README.md index f303cc8a75..5ed4c9b79d 100644 --- a/README.md +++ b/README.md @@ -301,8 +301,8 @@ onmessage = (event) => { ## Node.js -You can use highlight.js with node to highlight content before sending it to the browser. -Make sure to use the `.value` property to get the formatted html. +You can use highlight.js with node to highlight content before sending it to the browser. +Make sure to use the `.value` property to get the formatted html. For more info about the returned object refer to the api docs https://highlightjs.readthedocs.io/en/latest/api.html @@ -343,7 +343,7 @@ it can be added manually: ```html + src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.2/languages/go.min.js"> ``` **On Almond.** You need to use the optimizer to give the module a name. For diff --git a/docs/conf.py b/docs/conf.py index 944948c3b8..80dd25d641 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ # The short X.Y version. version = '9.18' # The full version, including alpha/beta/rc tags. -release = '9.18.1' +release = '9.18.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/package-lock.json b/package-lock.json index b45bf7408c..bd5fe036f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "highlight.js", - "version": "9.18.1", + "version": "9.18.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0d9b6a2a3f..a4eff6130e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "syntax" ], "homepage": "https://highlightjs.org/", - "version": "9.18.1", + "version": "9.18.2", "author": { "name": "Ivan Sagalaev", "email": "maniac@softwaremaniacs.org"