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

mongoose-acl

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-acl - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/object.js

@@ -18,3 +18,3 @@ module.exports = function(schema, options) {

schema.methods.setAccess = function(key, perms) {
perms || (perms = {});
perms || (perms = []);
this[options.path] || (this[options.path] = {});

@@ -21,0 +21,0 @@ this[options.path][key] = perms;

{
"name": "mongoose-acl",
"version": "0.2.0",
"version": "0.2.1",
"description": "Mongoose ACL",
"homepage": "http://github.com/scttnlsn/mongoose-acl",
"author": "Scott Nelson <scott@scttnlsn.com>",
"contributors": ["Joshua Gross <josh@spandex.io>"],
"main": "./lib/index",

@@ -8,0 +9,0 @@

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