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

@stencil/vue-output-target

Package Overview
Dependencies
Maintainers
10
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stencil/vue-output-target - npm Package Compare versions

Comparing version 0.5.1-0 to 0.5.1-1

2

package.json
{
"name": "@stencil/vue-output-target",
"version": "0.5.1-0",
"version": "0.5.1-1",
"description": "Vue output target for @stencil/core components.",

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

@@ -74,4 +74,4 @@ import { VNode, defineComponent, getCurrentInstance, h, inject, ref, Ref } from 'vue';

const Container = defineComponent<Props & InputProps>((props, { attrs, slots, emit }) => {
let modelPropValue = (props as any)[modelProp];
const Container = defineComponent<Props & InputProps>((props: any, { attrs, slots, emit }) => {
let modelPropValue = props[modelProp];
const containerRef = ref<HTMLElement>();

@@ -108,3 +108,3 @@ const classes = new Set(getComponentClasses(attrs.class));

const handleRouterLink = (ev: Event) => {
const { routerLink } = props as any;
const { routerLink } = props;
if (!routerLink) return;

@@ -117,3 +117,3 @@

routerProps.forEach(prop => {
navigationPayload[prop] = (props as any)[prop];
navigationPayload[prop] = props[prop];
});

@@ -127,3 +127,3 @@ navManager.navigate(navigationPayload);

return () => {
modelPropValue = (props as any)[modelProp];
modelPropValue = props[modelProp];

@@ -134,3 +134,3 @@ getComponentClasses(attrs.class).forEach(value => {

const oldClick = (props as any).onClick;
const oldClick = props.onClick;
const handleClick = (ev: Event) => {

@@ -145,3 +145,3 @@ if (oldClick !== undefined) {

let propsToAdd = {
let propsToAdd: any = {
ref: containerRef,

@@ -148,0 +148,0 @@ class: getElementClasses(containerRef, classes),

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