@financial-times/o-syntax-highlight
Advanced tools
Comparing version 4.2.2 to 4.2.3
# Changelog | ||
### [4.2.3](https://www.github.com/Financial-Times/origami/compare/o-syntax-highlight-v4.2.2...o-syntax-highlight-v4.2.3) (2022-04-21) | ||
### Bug Fixes | ||
* Adds basic existence checking to most module entry points ([#714](https://www.github.com/Financial-Times/origami/issues/714)) ([7ba3a61](https://www.github.com/Financial-Times/origami/commit/7ba3a61d0de2a32d3a27a225fd4258b3820c7bda)) | ||
### [4.2.2](https://www.github.com/Financial-Times/origami/compare/o-syntax-highlight-v4.2.1...o-syntax-highlight-v4.2.2) (2022-01-13) | ||
@@ -4,0 +11,0 @@ |
@@ -8,4 +8,6 @@ import SyntaxHighlight from './src/js/syntax-highlight.js'; | ||
document.addEventListener('o.DOMContentLoaded', constructAll); | ||
if (typeof document !== 'undefined') { | ||
document.addEventListener('o.DOMContentLoaded', constructAll); | ||
} | ||
export default SyntaxHighlight; |
{ | ||
"name": "@financial-times/o-syntax-highlight", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "A syntax highlighter for Origami-supported documentation that wraps PrismJs", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"dependencies": { | ||
"prismjs": "^1.25.0" | ||
"prismjs": "^1.27.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35745
254
33
Updatedprismjs@^1.27.0