@vue/shared
Advanced tools
Comparing version 3.3.9 to 3.3.10
@@ -19,4 +19,4 @@ 'use strict'; | ||
const NO = () => false; | ||
const onRE = /^on[^a-z]/; | ||
const isOn = (key) => onRE.test(key); | ||
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter | ||
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97); | ||
const isModelListener = (key) => key.startsWith("onUpdate:"); | ||
@@ -23,0 +23,0 @@ const extend = Object.assign; |
@@ -19,4 +19,4 @@ 'use strict'; | ||
const NO = () => false; | ||
const onRE = /^on[^a-z]/; | ||
const isOn = (key) => onRE.test(key); | ||
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter | ||
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97); | ||
const isModelListener = (key) => key.startsWith("onUpdate:"); | ||
@@ -23,0 +23,0 @@ const extend = Object.assign; |
@@ -15,4 +15,4 @@ function makeMap(str, expectsLowerCase) { | ||
const NO = () => false; | ||
const onRE = /^on[^a-z]/; | ||
const isOn = (key) => onRE.test(key); | ||
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter | ||
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97); | ||
const isModelListener = (key) => key.startsWith("onUpdate:"); | ||
@@ -19,0 +19,0 @@ const extend = Object.assign; |
{ | ||
"name": "@vue/shared", | ||
"version": "3.3.9", | ||
"version": "3.3.10", | ||
"description": "internal utils shared across @vue packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
72263