universal-env
Advanced tools
Comparing version 3.2.2 to 3.2.3-0
{ | ||
"name": "universal-env", | ||
"author": "rax", | ||
"version": "3.2.2", | ||
"version": "3.2.3-0", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
@@ -7,2 +7,3 @@ declare const WXEnvironment: any; | ||
declare const global: any; | ||
declare const weex: any; | ||
@@ -16,2 +17,3 @@ function isUndef(type): boolean { | ||
export const isWeex = !isUndef(typeof WXEnvironment) && WXEnvironment.platform !== 'Web'; | ||
export const isWeex2 = isWeex && !isUndef(typeof weex) && weex.config && weex.config.weexMode === '2.0'; | ||
export const isKraken = !isUndef(typeof __kraken__); | ||
@@ -18,0 +20,0 @@ export const isMiniApp = !isUndef(typeof my) && my !== null && !isUndef(typeof my.alert); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
6472
6
61
2
1