@tarojs/shared
Advanced tools
Comparing version 3.0.0-rc.6 to 3.0.0
@@ -17,2 +17,4 @@ interface Components { | ||
animation: string; | ||
bindAnimationStart: string; | ||
bindAnimationIteration: string; | ||
bindAnimationEnd: string; | ||
@@ -19,0 +21,0 @@ bindTransitionEnd: string; |
@@ -96,6 +96,5 @@ 'use strict'; | ||
function ensure(condition, msg) { | ||
if (condition) { | ||
return; | ||
if (!condition) { | ||
throw new Error(msg + '\n' + reportIssue); | ||
} | ||
throw new Error(msg + '\n' + reportIssue); | ||
} | ||
@@ -131,3 +130,3 @@ function warn(condition, msg) { | ||
}; | ||
var View = Object.assign({ 'hover-class': singleQuote('none'), 'hover-stop-propagation': 'false', 'hover-start-time': '50', 'hover-stay-time': '400', animation: '', bindAnimationEnd: '', bindTransitionEnd: '' }, touchEvents); | ||
var View = Object.assign({ 'hover-class': singleQuote('none'), 'hover-stop-propagation': 'false', 'hover-start-time': '50', 'hover-stay-time': '400', animation: '', bindAnimationStart: '', bindAnimationIteration: '', bindAnimationEnd: '', bindTransitionEnd: '' }, touchEvents); | ||
var Icon = { | ||
@@ -684,5 +683,7 @@ type: '', | ||
'checkbox', | ||
'picker', | ||
'picker-view', | ||
'radio', | ||
'slider', | ||
'switch', | ||
'textarea' | ||
@@ -689,0 +690,0 @@ ]); |
@@ -76,6 +76,5 @@ function isString(o) { | ||
function ensure(condition, msg) { | ||
if (condition) { | ||
return; | ||
if (!condition) { | ||
throw new Error(msg + '\n' + reportIssue); | ||
} | ||
throw new Error(msg + '\n' + reportIssue); | ||
} | ||
@@ -111,3 +110,3 @@ function warn(condition, msg) { | ||
}; | ||
const View = Object.assign({ 'hover-class': singleQuote('none'), 'hover-stop-propagation': 'false', 'hover-start-time': '50', 'hover-stay-time': '400', animation: '', bindAnimationEnd: '', bindTransitionEnd: '' }, touchEvents); | ||
const View = Object.assign({ 'hover-class': singleQuote('none'), 'hover-stop-propagation': 'false', 'hover-start-time': '50', 'hover-stay-time': '400', animation: '', bindAnimationStart: '', bindAnimationIteration: '', bindAnimationEnd: '', bindTransitionEnd: '' }, touchEvents); | ||
const Icon = { | ||
@@ -664,5 +663,7 @@ type: '', | ||
'checkbox', | ||
'picker', | ||
'picker-view', | ||
'radio', | ||
'slider', | ||
'switch', | ||
'textarea' | ||
@@ -669,0 +670,0 @@ ]); |
{ | ||
"name": "@tarojs/shared", | ||
"version": "3.0.0-rc.6", | ||
"version": "3.0.0", | ||
"description": "> TODO: description", | ||
@@ -27,3 +27,3 @@ "author": "yuche <i@yuche.me>", | ||
}, | ||
"gitHead": "bc434e518984debc6c102c7f8ba7610726fc6513" | ||
"gitHead": "4c8a5ea9758f9c1c7e1efd1c9f4271a55c8feb97" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
131802
2047
1