@tarojs/taro-h5
Advanced tools
Comparing version 0.0.29 to 0.0.30
{ | ||
"name": "@tarojs/taro-h5", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "Taro h5 framework", | ||
@@ -28,4 +28,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@tarojs/taro": "0.0.29" | ||
"@tarojs/taro": "0.0.30" | ||
} | ||
} |
@@ -7,3 +7,2 @@ /** | ||
const res = [] | ||
const cached = {} | ||
@@ -15,16 +14,6 @@ queue.forEach(item => { | ||
if (single) { | ||
if (cached[selector] && cached[selector].single) { | ||
el = cached[selector].el | ||
} else { | ||
el = document.querySelector(selector) | ||
cached[selector] = { single, el } | ||
} | ||
el = document.querySelector(selector) | ||
res.push(filter(fields, el, selector)) | ||
} else { | ||
if (cached[selector] && !cached[selector].single) { | ||
el = cached[selector].el | ||
} else { | ||
el = Array.from(document.querySelectorAll(selector)) | ||
cached[selector] = { single, el } | ||
} | ||
el = Array.from(document.querySelectorAll(selector)) | ||
res.push(el.map(dom => filter(fields, dom))) | ||
@@ -31,0 +20,0 @@ } |
@@ -9,2 +9,3 @@ /* eslint-disable camelcase */ | ||
internal_safe_get, | ||
internal_safe_set, | ||
internal_dynamic_recursive | ||
@@ -23,2 +24,3 @@ } from '@tarojs/taro' | ||
internal_safe_get, | ||
internal_safe_set, | ||
internal_dynamic_recursive | ||
@@ -35,3 +37,4 @@ } | ||
internal_safe_get, | ||
internal_safe_set, | ||
internal_dynamic_recursive | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
693745
8991
+ Added@tarojs/taro@0.0.30(transitive)
- Removed@tarojs/taro@0.0.29(transitive)
Updated@tarojs/taro@0.0.30