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 Compare versions

Comparing version 5.0.0 to 6.0.0

esm2020/lib/highlight.loader.mjs

41

package.json
{
"name": "ngx-highlightjs",
"version": "5.0.0",
"version": "6.0.0",
"description": "Instant code highlighting, auto-detect language, super easy to use.",

@@ -28,3 +28,3 @@ "homepage": "http://github.com/murhafsousli/ngx-highlightjs",

"dependencies": {
"highlight.js": ">=11.0.0",
"highlight.js": "^11.0.0",
"highlightjs-line-numbers.js": "^2.8.0",

@@ -34,13 +34,34 @@ "tslib": "^2.0.0"

"peerDependencies": {
"@angular/common": ">=12.0.0",
"@angular/core": ">=12.0.0",
"rxjs": ">=6.0.0"
"@angular/common": "^13.0.0",
"@angular/core": "^13.0.0",
"rxjs": "^6.0.0"
},
"main": "bundles/ngx-highlightjs.umd.js",
"module": "fesm2015/ngx-highlightjs.js",
"es2015": "fesm2015/ngx-highlightjs.js",
"esm2015": "esm2015/ngx-highlightjs.js",
"fesm2015": "fesm2015/ngx-highlightjs.js",
"module": "fesm2015/ngx-highlightjs.mjs",
"es2020": "fesm2020/ngx-highlightjs.mjs",
"esm2020": "esm2020/ngx-highlightjs.mjs",
"fesm2020": "fesm2020/ngx-highlightjs.mjs",
"fesm2015": "fesm2015/ngx-highlightjs.mjs",
"typings": "ngx-highlightjs.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./ngx-highlightjs.d.ts",
"esm2020": "./esm2020/ngx-highlightjs.mjs",
"es2020": "./fesm2020/ngx-highlightjs.mjs",
"es2015": "./fesm2015/ngx-highlightjs.mjs",
"node": "./fesm2015/ngx-highlightjs.mjs",
"default": "./fesm2020/ngx-highlightjs.mjs"
},
"./plus": {
"types": "./plus/ngx-highlightjs-plus.d.ts",
"esm2020": "./esm2020/plus/ngx-highlightjs-plus.mjs",
"es2020": "./fesm2020/ngx-highlightjs-plus.mjs",
"es2015": "./fesm2015/ngx-highlightjs-plus.mjs",
"node": "./fesm2015/ngx-highlightjs-plus.mjs",
"default": "./fesm2020/ngx-highlightjs-plus.mjs"
}
},
"sideEffects": false
}
{
"main": "../bundles/ngx-highlightjs-plus.umd.js",
"module": "../fesm2015/ngx-highlightjs-plus.js",
"es2015": "../fesm2015/ngx-highlightjs-plus.js",
"esm2015": "../esm2015/plus/ngx-highlightjs-plus.js",
"fesm2015": "../fesm2015/ngx-highlightjs-plus.js",
"module": "../fesm2015/ngx-highlightjs-plus.mjs",
"es2020": "../fesm2020/ngx-highlightjs-plus.mjs",
"esm2020": "../esm2020/plus/ngx-highlightjs-plus.mjs",
"fesm2020": "../fesm2020/ngx-highlightjs-plus.mjs",
"fesm2015": "../fesm2015/ngx-highlightjs-plus.mjs",
"typings": "ngx-highlightjs-plus.d.ts",

@@ -8,0 +8,0 @@ "sideEffects": false,

@@ -143,3 +143,3 @@ <p align="center">

| **[lineNumbers]** | boolean | A flag that indicates adding line numbers to highlighted code element |
| **(highlighted)** | HighlightResult | Stream that emits the result object when element is highlighted |
| **(highlighted)** | HighlightAutoResult | Stream that emits the result object when element is highlighted |

@@ -146,0 +146,0 @@

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