@hylid/env
Advanced tools
Comparing version 2.12.0-alpha.32 to 2.12.0-alpha.33
@@ -10,7 +10,2 @@ export function isNotMP() { | ||
var matches = checks.filter(function (check) { | ||
console.log('xxxxx', check, check.match.every(function (reg) { | ||
return reg.test(pattern); | ||
}), [/miniprogram/i, /^((?!griver).)*$/i, /alipay/i].every(function (reg) { | ||
return reg.test(pattern); | ||
})); | ||
return check.match.every(function (reg) { | ||
@@ -20,3 +15,2 @@ return reg.test(pattern); | ||
}); | ||
console.log('查看匹配哈哈哈', matches); | ||
if (!matches.length) return; | ||
@@ -23,0 +17,0 @@ var defaultName = matches[0].name; |
{ | ||
"name": "@hylid/env", | ||
"version": "2.12.0-alpha.32", | ||
"version": "2.12.0-alpha.33", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
11193
335