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

@hylid/env

Package Overview
Dependencies
Maintainers
0
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hylid/env - npm Package Compare versions

Comparing version 4.0.10 to 4.0.11

7

lib/utils.js

@@ -48,3 +48,10 @@ export function isMP() {

var cached = localStorage.getItem('__hy_env__');
// 兼容 cross-bridge 和 hylid-bridge 共存的情况
if (!cached) {
var crossBridgeStorage = localStorage.getItem('_CB__app__');
return crossBridgeStorage ? {
client: crossBridgeStorage
} : {};
}
return cached ? JSON.parse(cached) : {};
}

2

lib/version.js

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

export default '4.0.9';
export default '4.0.11';
{
"name": "@hylid/env",
"version": "4.0.10",
"version": "4.0.11",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "files": [

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