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

@factor/filters

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factor/filters - npm Package Compare versions

Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6

9

index.js

@@ -106,2 +106,6 @@ module.exports.default = Factor => {

if (this._filters[name][id]) {
console.log("Duplicate Filter", name)
}
this._filters[name][id] = { callback, context, priority }

@@ -116,3 +120,4 @@

// added the caller because sometimes callbacks look the exact same in different files!
options.signature = this.uniqueHash(callback, require("caller")())
const { signature = "" } = options
options.signature = this.uniqueHash(callback, signature)

@@ -128,3 +133,5 @@ const callable = typeof callback != "function" ? () => callback : callback

}
})()
}

7

package.json
{
"name": "@factor/filters",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"license": "GPL-2.0",

@@ -9,6 +9,3 @@ "publishConfig": {

"factor": {},
"gitHead": "3537bf16da77a27d03c8a79cc61e09611c73ddfd",
"dependencies": {
"caller": "^1.0.1"
}
"gitHead": "d3b17451c6b7cf11831022dbea0cafe1a955bd34"
}
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