New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tq-img-preview

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tq-img-preview - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

9

index.js

@@ -85,2 +85,11 @@ import lgPreview from './vue-preview.vue'

},
update: function (el, oldValue) {
let group = el.getAttribute('group')||"tqNoGroup"
var previewItem = LOGIC_EVENT_BUS.LOGIC_PREVIEW.list[group].find(function (item) {
return item.el === el
})
if (!previewItem) return
previewItem.src = oldValue.value
previewItem.title = el.alt
},
unbind: function (el) {

@@ -87,0 +96,0 @@ let group = el.getAttribute('group')||"tqNoGroup"

2

package.json
{
"name": "tq-img-preview",
"version": "0.0.1",
"version": "0.0.2",
"description": "a img preview directive",

@@ -5,0 +5,0 @@ "main": "index.js",

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