Socket
Socket
Sign inDemoInstall

@sensorfactdev/draconarius

Package Overview
Dependencies
0
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

lib/index.js

@@ -17,3 +17,3 @@ const Pack = require('../package.json');

if (isArrayOfStrings(flags)) {
this.flags = flags.reduce((acc, flag) => ({ ...acc, [flag]: true }), {});
this.flags = flags.reduce((acc, flag) => Object.assign(acc, { [flag]: true }), {});
} else if (isObject(flags)) {

@@ -20,0 +20,0 @@ this.flags = flags;

{
"name": "@sensorfactdev/draconarius",
"version": "1.1.0",
"version": "1.1.1",
"description": "Manage (feature)flags like a Roman soldier\"",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc