@vue/runtime-dom
Advanced tools
Comparing version 3.4.0-beta.3 to 3.4.0-beta.4
@@ -1347,3 +1347,5 @@ 'use strict'; | ||
const withModifiers = (fn, modifiers) => { | ||
return fn._withMods || (fn._withMods = (event, ...args) => { | ||
const cache = fn._withMods || (fn._withMods = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => { | ||
for (let i = 0; i < modifiers.length; i++) { | ||
@@ -1367,3 +1369,5 @@ const guard = modifierGuards[modifiers[i]]; | ||
const withKeys = (fn, modifiers) => { | ||
return fn._withKeys || (fn._withKeys = (event) => { | ||
const cache = fn._withKeys || (fn._withKeys = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event) => { | ||
if (!("key" in event)) { | ||
@@ -1370,0 +1374,0 @@ return; |
@@ -1303,3 +1303,5 @@ 'use strict'; | ||
const withModifiers = (fn, modifiers) => { | ||
return fn._withMods || (fn._withMods = (event, ...args) => { | ||
const cache = fn._withMods || (fn._withMods = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => { | ||
for (let i = 0; i < modifiers.length; i++) { | ||
@@ -1323,3 +1325,5 @@ const guard = modifierGuards[modifiers[i]]; | ||
const withKeys = (fn, modifiers) => { | ||
return fn._withKeys || (fn._withKeys = (event) => { | ||
const cache = fn._withKeys || (fn._withKeys = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event) => { | ||
if (!("key" in event)) { | ||
@@ -1326,0 +1330,0 @@ return; |
@@ -106,3 +106,5 @@ 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 declare const withModifiers: <T extends (event: Event, ...args: unknown[]) => any>(fn: T & { | ||
_withMods?: T | undefined; | ||
_withMods?: { | ||
[key: string]: T; | ||
} | undefined; | ||
}, modifiers: string[]) => T; | ||
@@ -113,3 +115,5 @@ /** | ||
export declare const withKeys: <T extends (event: KeyboardEvent) => any>(fn: T & { | ||
_withKeys?: T | undefined; | ||
_withKeys?: { | ||
[k: string]: T; | ||
} | undefined; | ||
}, modifiers: string[]) => T; | ||
@@ -116,0 +120,0 @@ |
@@ -1402,3 +1402,5 @@ import { h, BaseTransition, BaseTransitionPropsValidators, assertNumber, getCurrentInstance, warn, watchPostEffect, onMounted, onUnmounted, Fragment, Static, camelize, callWithAsyncErrorHandling, defineComponent, nextTick, createVNode, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, isRuntimeOnly, createRenderer, createHydrationRenderer } from '@vue/runtime-core'; | ||
const withModifiers = (fn, modifiers) => { | ||
return fn._withMods || (fn._withMods = (event, ...args) => { | ||
const cache = fn._withMods || (fn._withMods = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => { | ||
for (let i = 0; i < modifiers.length; i++) { | ||
@@ -1422,3 +1424,5 @@ const guard = modifierGuards[modifiers[i]]; | ||
const withKeys = (fn, modifiers) => { | ||
return fn._withKeys || (fn._withKeys = (event) => { | ||
const cache = fn._withKeys || (fn._withKeys = {}); | ||
const cacheKey = modifiers.join("."); | ||
return cache[cacheKey] || (cache[cacheKey] = (event) => { | ||
if (!("key" in event)) { | ||
@@ -1425,0 +1429,0 @@ return; |
{ | ||
"name": "@vue/runtime-dom", | ||
"version": "3.4.0-beta.3", | ||
"version": "3.4.0-beta.4", | ||
"description": "@vue/runtime-dom", | ||
@@ -39,5 +39,5 @@ "main": "index.js", | ||
"csstype": "^3.1.3", | ||
"@vue/shared": "3.4.0-beta.3", | ||
"@vue/runtime-core": "3.4.0-beta.3" | ||
"@vue/runtime-core": "3.4.0-beta.4", | ||
"@vue/shared": "3.4.0-beta.4" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1031499
28302
11
2
+ Added@vue/reactivity@3.4.0-beta.4(transitive)
+ Added@vue/runtime-core@3.4.0-beta.4(transitive)
+ Added@vue/shared@3.4.0-beta.4(transitive)
- Removed@vue/reactivity@3.4.0-beta.3(transitive)
- Removed@vue/runtime-core@3.4.0-beta.3(transitive)
- Removed@vue/shared@3.4.0-beta.3(transitive)
Updated@vue/shared@3.4.0-beta.4