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

flowx

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowx - npm Package Compare versions

Comparing version 5.0.11 to 5.0.12

6

lib/index.js

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

'use strict'
const _ = require('lodash')

@@ -166,3 +164,3 @@ const Catbox = require('catbox')

}
}).catch((err) => {
}).catch(() => {
this.goToDefault(updatedInstance).then((state) => {

@@ -174,3 +172,3 @@ return resolve(state)

})
}).catch((err) => {
}).catch(() => {
this.goToDefault(updatedInstance).then((state) => {

@@ -177,0 +175,0 @@ return resolve(state)

'use strict'
const matchRule = (rule, action, separator) => {
/* const ruleArray = rule.split(separator || '.')
if (ruleArray.length > 1) {
const testArray = action.split(separator || '.')
if (ruleArray.length !== testArray.length) {
return false
}
for (var i = 0; i < ruleArray.length; i++) {
if (ruleArray[i] !== testArray[i] && ruleArray[i] !== '*') {
return false
}
}
return true
} */
if (!isNaN(rule)) {
return rule === parseInt(action, 10)
}
return rule === action

@@ -30,5 +18,2 @@ }

}
/* else {
exp = new RegExp(ruleArray[0])
} */
return false

@@ -35,0 +20,0 @@ }

{
"name": "flowx",
"version": "5.0.11",
"version": "5.0.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/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