Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

universal-env

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-env - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

2

dist/index.min.js

@@ -1,1 +0,1 @@

"use strict";function isUndef(e){return"undefined"===e}Object.defineProperty(exports,"__esModule",{value:!0});var isWeb=!isUndef(typeof window)&&"onload"in window,isNode=!isUndef(typeof process)&&!(!process.versions||!process.versions.node),isWeex=!isUndef(typeof callNative)||!isUndef(typeof WXEnvironment)&&"Web"!==WXEnvironment.platform,isMiniApp=!isUndef(typeof my)&&!isUndef(my.navigateTo),isWechatMiniprogram=!isUndef(typeof wx)&&!isUndef(wx.navigateTo);exports.isMiniApp=isMiniApp,exports.isNode=isNode,exports.isWeb=isWeb,exports.isWechatMiniprogram=isWechatMiniprogram,exports.isWeex=isWeex;
"use strict";function isUndef(e){return"undefined"===e}Object.defineProperty(exports,"__esModule",{value:!0});var isWeb=!isUndef(typeof window)&&"onload"in window,isNode=!isUndef(typeof process)&&!(!process.versions||!process.versions.node),isWeex=!isUndef(typeof callNative)||!isUndef(typeof WXEnvironment)&&"Web"!==WXEnvironment.platform,isMiniApp=!isUndef(typeof my)&&!isUndef(my.navigateTo),isWeChatMiniprogram=!isUndef(typeof wx)&&!isUndef(wx.navigateTo);exports.isMiniApp=isMiniApp,exports.isNode=isNode,exports.isWeChatMiniprogram=isWeChatMiniprogram,exports.isWeb=isWeb,exports.isWeex=isWeex;

@@ -5,2 +5,2 @@ export declare const isWeb: boolean;

export declare const isMiniApp: boolean;
export declare const isWechatMiniprogram: boolean;
export declare const isWeChatMiniprogram: boolean;

@@ -13,8 +13,8 @@ 'use strict';

var isMiniApp = !isUndef(typeof my) && !isUndef(my.navigateTo);
var isWechatMiniprogram = !isUndef(typeof wx) && !isUndef(wx.navigateTo);
var isWeChatMiniprogram = !isUndef(typeof wx) && !isUndef(wx.navigateTo);
exports.isMiniApp = isMiniApp;
exports.isNode = isNode;
exports.isWeChatMiniprogram = isWeChatMiniprogram;
exports.isWeb = isWeb;
exports.isWechatMiniprogram = isWechatMiniprogram;
exports.isWeex = isWeex;
{
"name": "universal-env",
"author": "rax",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"license": "BSD-3-Clause",

@@ -12,3 +12,5 @@ "main": "index.js",

"test": "rax-scripts test",
"lint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx ./src"
"lint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx ./src",
"prebuild": "npm run lint && npm run test",
"prepublish": "npm run build"
},

@@ -15,0 +17,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc