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

vue-hljs-with-line-number

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-hljs-with-line-number - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

hljs-line-number.js

@@ -69,3 +69,3 @@ // jshint multistr:true

if (lines.length > 1 || options.singleLine) {
if (lines.length >= 1 || options.singleLine) {
var html = '';

@@ -72,0 +72,0 @@

{
"name": "vue-hljs-with-line-number",
"version": "1.0.1",
"version": "1.0.2",
"description": "Syntax highlighting with highlight.js for Vue.js 2.x",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/imlinhanchao/vue-hljs-with-line-number",

@@ -62,2 +62,5 @@ # vue-hljs-with-line-number

## Changelog
v1.0.2
- Fixed issue that single line has not line number.
v1.0.1

@@ -64,0 +67,0 @@ - Fixed lost line number when compnoent updated.

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