Socket
Socket
Sign inDemoInstall

vue-class-di

Package Overview
Dependencies
28
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.7 to 1.1.8

2

package.json
{
"name": "vue-class-di",
"version": "1.1.7",
"version": "1.1.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -62,5 +62,8 @@ import { defineComponent, getCurrentInstance, h, inject, InjectionKey, provide } from 'vue-demi'

//@ts-ignore
if (key[0] === '$') {
//@ts-ignore
return vueComponent[key]
if (key[0] === '$' || key[0] === '_') {
if (!target[key]) {
//@ts-ignore
return vueComponent[key]
}
return target[key]
}

@@ -67,0 +70,0 @@ return target[key]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc