New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aidc/utils

Package Overview
Dependencies
Maintainers
4
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aidc/utils - npm Package Compare versions

Comparing version 0.2.25 to 0.2.26

5

dist/env/index.js

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

var _navigator, _navigator2;
export var isWindow = typeof window !== 'undefined';

@@ -6,5 +5,5 @@ export var isLocal = isWindow && window.location.hostname === 'localhost';

export var isProd = process.env.NODE_ENV === 'production';
export var isAE = /AliApp\(AE/.test((_navigator = navigator) === null || _navigator === void 0 ? void 0 : _navigator.userAgent);
export var isChrome = /Chrome\//.test((_navigator2 = navigator) === null || _navigator2 === void 0 ? void 0 : _navigator2.userAgent);
export var isAE = isWindow && /AliApp\(AE/.test(navigator.userAgent);
export var isChrome = isWindow && /Chrome\//.test(navigator.userAgent);
export var isChromeScript = typeof chrome !== 'undefined' && typeof chrome.runtime !== 'undefined';
export var isChromeBackground = isChromeScript && !isWindow;

2

package.json
{
"name": "@aidc/utils",
"version": "0.2.25",
"version": "0.2.26",
"repository": "git@gitlab.alibaba-inc.com:aidc-innovation/aidc-fe.git",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

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