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

@hylid/env

Package Overview
Dependencies
Maintainers
1
Versions
115
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 2.12.0-alpha.32 to 2.12.0-alpha.33

6

lib/utils.js

@@ -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;

2

package.json
{
"name": "@hylid/env",
"version": "2.12.0-alpha.32",
"version": "2.12.0-alpha.33",
"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