Socket
Socket
Sign inDemoInstall

cher-db

Package Overview
Dependencies
148
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.5 to 0.2.6

3

models/dataModel/staticMethods.js

@@ -69,3 +69,4 @@

type: model.type,
tags: serializeTags( model.tags )
tags: serializeTags(model.tags),
moderation: utils.moderationLabel(model.moderation)
};

@@ -72,0 +73,0 @@ });

@@ -19,3 +19,13 @@

}
},
moderationLabel: (moderation) => {
if (moderation === true) {
return 'approved';
} else if (moderation === false) {
return 'denied';
} else {
return 'unmoderated';
}
}
};
{
"name": "cher-db",
"version": "0.2.5",
"version": "0.2.6",
"description": "Data layer for Cher",

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