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

@slynova/fence

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slynova/fence - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

dist/Guard/index.js

@@ -56,2 +56,10 @@ "use strict";

/**
* Creates a Bouncer with the given user.
*
* @param user User to test
*/
can(user) {
return Guard.can(user);
}
/**
* Check the bouncer if the gate/policy denies the user.

@@ -58,0 +66,0 @@ *

2

package.json
{
"name": "@slynova/fence",
"version": "1.0.0",
"version": "1.0.1",
"description": "Flexible and Fluent way to manage ACL in Node.js.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -40,2 +40,8 @@ /**

/**
* Creates a Bouncer with the given user.
*
* @param user User to test
*/
can(user: Function | object): Bouncer;
/**
* Check the bouncer if the gate/policy denies the user.

@@ -42,0 +48,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