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

node-ab-decider

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ab-decider - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

4

index.js

@@ -6,3 +6,2 @@ const proxy = require("express-http-proxy");

const DEFAULT_COOKIE_NAME = "variant";
const hash = random(10000, 99999);
const HASH_SPLITTER = "@"

@@ -63,3 +62,4 @@

cookieName = DEFAULT_COOKIE_NAME,
skip = false
skip = false,
hash = "nohash"
} = opts;

@@ -66,0 +66,0 @@

{
"name": "node-ab-decider",
"version": "0.0.13",
"version": "0.0.14",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,5 +21,5 @@ const app = require("express")();

app.use(
decider(resource)
decider(resource, {hash:123})
);
app.listen(port, () => console.log(`running on ${port}`));
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