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

vue-highlightjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-highlightjs - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

.editorconfig

8

index.js

@@ -10,4 +10,4 @@ var hljs = require('highlight.js')

// on first bind, highlight all targets
let targets = el.querySelectorAll('code')
targets.forEach((target) => {
var targets = el.querySelectorAll('code')
targets.forEach(function(target) {
// if a value is directly assigned to the directive, use this

@@ -23,4 +23,4 @@ // instead of the element content.

// after an update, re-fill the content and then highlight
let targets = el.querySelectorAll('code')
targets.forEach((target) => {
var targets = el.querySelectorAll('code')
targets.forEach(function(target) {
if (binding.value) {

@@ -27,0 +27,0 @@ target.innerHTML = binding.value

{
"name": "vue-highlightjs",
"version": "1.0.2",
"version": "1.1.0",
"description": "Syntax highlighting with highlight.js for Vue.js 2.x",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/metachris/vue-highlightjs",

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