Socket
Socket
Sign inDemoInstall

@vue/runtime-dom

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/runtime-dom - npm Package Compare versions

Comparing version 3.3.8 to 3.3.9

15

dist/runtime-dom.cjs.js

@@ -1100,2 +1100,7 @@ 'use strict';

return;
const elValue = number || el.type === "number" ? shared.looseToNumber(el.value) : el.value;
const newValue = value == null ? "" : value;
if (elValue === newValue) {
return;
}
if (document.activeElement === el && el.type !== "range") {

@@ -1105,13 +1110,7 @@ if (lazy) {

}
if (trim && el.value.trim() === value) {
if (trim && el.value.trim() === newValue) {
return;
}
if ((number || el.type === "number") && shared.looseToNumber(el.value) === value) {
return;
}
}
const newValue = value == null ? "" : value;
if (el.value !== newValue) {
el.value = newValue;
}
el.value = newValue;
}

@@ -1118,0 +1117,0 @@ };

@@ -1059,2 +1059,7 @@ 'use strict';

return;
const elValue = number || el.type === "number" ? shared.looseToNumber(el.value) : el.value;
const newValue = value == null ? "" : value;
if (elValue === newValue) {
return;
}
if (document.activeElement === el && el.type !== "range") {

@@ -1064,13 +1069,7 @@ if (lazy) {

}
if (trim && el.value.trim() === value) {
if (trim && el.value.trim() === newValue) {
return;
}
if ((number || el.type === "number") && shared.looseToNumber(el.value) === value) {
return;
}
}
const newValue = value == null ? "" : value;
if (el.value !== newValue) {
el.value = newValue;
}
el.value = newValue;
}

@@ -1077,0 +1076,0 @@ };

@@ -1,2 +0,2 @@

import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, DefineComponent, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
export * from '@vue/runtime-core';

@@ -20,5 +20,3 @@ import * as CSS from 'csstype';

}): VueElementConstructor<ExtractPropTypes<PropsOptions>>;
export declare function defineCustomElement(options: {
new (...args: any[]): ComponentPublicInstance;
}): VueElementConstructor;
export declare function defineCustomElement<P>(options: DefineComponent<P, any, any, any>): VueElementConstructor<ExtractPropTypes<P>>;
/*! #__NO_SIDE_EFFECTS__ */

@@ -319,3 +317,3 @@ export declare const defineSSRCustomElement: typeof defineCustomElement;

}
export type StyleValue = string | CSSProperties | Array<StyleValue>;
export type StyleValue = false | null | undefined | string | CSSProperties | Array<StyleValue>;
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {

@@ -416,3 +414,3 @@ innerHTML?: string;

type?: 'submit' | 'reset' | 'button';
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}

@@ -431,6 +429,7 @@ export interface CanvasHTMLAttributes extends HTMLAttributes {

export interface DataHTMLAttributes extends HTMLAttributes {
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}
export interface DetailsHTMLAttributes extends HTMLAttributes {
open?: Booleanish;
onToggle?: Event;
}

@@ -472,5 +471,8 @@ export interface DelHTMLAttributes extends HTMLAttributes {

allowtransparency?: Booleanish;
/** @deprecated */
frameborder?: Numberish;
height?: Numberish;
/** @deprecated */
marginheight?: Numberish;
/** @deprecated */
marginwidth?: Numberish;

@@ -480,2 +482,3 @@ name?: string;

sandbox?: string;
/** @deprecated */
scrolling?: string;

@@ -492,2 +495,3 @@ seamless?: Booleanish;

height?: Numberish;
loading?: 'eager' | 'lazy';
referrerpolicy?: HTMLAttributeReferrerPolicy;

@@ -499,3 +503,2 @@ sizes?: string;

width?: Numberish;
loading?: 'lazy' | 'eager';
}

@@ -516,2 +519,3 @@ export interface InsHTMLAttributes extends HTMLAttributes {

disabled?: Booleanish;
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
form?: string;

@@ -557,3 +561,3 @@ formaction?: string;

export interface LiHTMLAttributes extends HTMLAttributes {
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}

@@ -571,2 +575,3 @@ export interface LinkHTMLAttributes extends HTMLAttributes {

type?: string;
charset?: string;
}

@@ -604,3 +609,3 @@ export interface MapHTMLAttributes extends HTMLAttributes {

optimum?: Numberish;
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}

@@ -643,10 +648,11 @@ export interface QuoteHTMLAttributes extends HTMLAttributes {

name?: string;
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}
export interface ProgressHTMLAttributes extends HTMLAttributes {
max?: Numberish;
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
}
export interface ScriptHTMLAttributes extends HTMLAttributes {
async?: Booleanish;
/** @deprecated */
charset?: string;

@@ -690,2 +696,3 @@ crossorigin?: string;

summary?: string;
width?: Numberish;
}

@@ -706,3 +713,3 @@ export interface TextareaHTMLAttributes extends HTMLAttributes {

rows?: Numberish;
value?: string | string[] | number;
value?: string | ReadonlyArray<string> | number;
wrap?: string;

@@ -716,2 +723,5 @@ }

scope?: string;
abbr?: string;
height?: Numberish;
width?: Numberish;
valign?: 'top' | 'middle' | 'bottom' | 'baseline';

@@ -725,2 +735,3 @@ }

scope?: string;
abbr?: string;
}

@@ -743,2 +754,3 @@ export interface TimeHTMLAttributes extends HTMLAttributes {

disablePictureInPicture?: Booleanish;
disableRemotePlayback?: Booleanish;
}

@@ -786,2 +798,3 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {

tabindex?: Numberish;
crossOrigin?: 'anonymous' | 'use-credentials' | '';
'accent-height'?: Numberish;

@@ -788,0 +801,0 @@ accumulate?: 'none' | 'sum';

@@ -1152,2 +1152,7 @@ import { h, BaseTransition, BaseTransitionPropsValidators, assertNumber, warn, camelize, callWithAsyncErrorHandling, defineComponent, nextTick, createVNode, getCurrentInstance, watchPostEffect, onMounted, onUnmounted, Fragment, Static, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, isRuntimeOnly, createRenderer, createHydrationRenderer } from '@vue/runtime-core';

return;
const elValue = number || el.type === "number" ? looseToNumber(el.value) : el.value;
const newValue = value == null ? "" : value;
if (elValue === newValue) {
return;
}
if (document.activeElement === el && el.type !== "range") {

@@ -1157,13 +1162,7 @@ if (lazy) {

}
if (trim && el.value.trim() === value) {
if (trim && el.value.trim() === newValue) {
return;
}
if ((number || el.type === "number") && looseToNumber(el.value) === value) {
return;
}
}
const newValue = value == null ? "" : value;
if (el.value !== newValue) {
el.value = newValue;
}
el.value = newValue;
}

@@ -1170,0 +1169,0 @@ };

{
"name": "@vue/runtime-dom",
"version": "3.3.8",
"version": "3.3.9",
"description": "@vue/runtime-dom",

@@ -38,6 +38,6 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.3.8",
"@vue/runtime-core": "3.3.8",
"csstype": "^3.1.2"
"csstype": "^3.1.2",
"@vue/shared": "3.3.9",
"@vue/runtime-core": "3.3.9"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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