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
2
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.0.1-dev.11698435275.1a07f4ea to 0.0.1-dev.11698435964.1950e76d

4

package.json
{
"name": "@stencil/vue-output-target",
"version": "0.0.1-dev.11698435275.1a07f4ea",
"version": "0.0.1-dev.11698435964.1950e76d",
"description": "Vue output target for @stencil/core components.",

@@ -55,3 +55,3 @@ "main": "dist/index.cjs.js",

},
"gitHead": "a07f4eaa0a2a18ce4a1484a12dab22d2a53f44f5",
"gitHead": "950e76d536f12e84f9e31bf371ec2c8c223a205f",
"volta": {

@@ -58,0 +58,0 @@ "extends": "../../package.json"

@@ -78,2 +78,13 @@ // @ts-nocheck

const classes = new Set(getComponentClasses(attrs.class));
/**
* This directive is responsible for updating any reactive
* reference associated with v-model on the component.
* This code must be run inside of the "created" callback.
* Since the following listener callbacks as well as any potential
* event callback defined in the developer's app are set on
* the same element, we need to make sure the following callbacks
* are set first so they fire first. If the developer's callback fires first
* then the reactive reference will not have been updated yet.
*/
const vModelDirective = {

@@ -134,3 +145,2 @@ created(el: HTMLElement) {

onClick: handleClick,
onVnodeBeforeMount: modelUpdateEvent ? onVnodeBeforeMount : undefined,
};

@@ -171,2 +181,6 @@

/**
* vModelDirective is only needed on components that support v-model.
* As a result, we conditionally call withDirectives with v-model components.
*/
const node = h(name, propsToAdd, slots.default && slots.default());

@@ -173,0 +187,0 @@ return modelProp === undefined ? node : withDirectives(node, [vModelDirective]);

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