🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@adonisjs/bouncer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/bouncer - npm Package Compare versions

Comparing version

to
3.1.1

@@ -1,1 +0,1 @@

{"commands":[{"commandName":"make:policy","description":"Make a new bouncer policy class","help":"","namespace":"make","aliases":[],"flags":[{"name":"register","flagName":"register","required":false,"type":"boolean","description":"Auto register the policy inside the app/policies/main.ts file","showNegatedVariantInHelp":true,"alias":"r"},{"name":"model","flagName":"model","required":false,"type":"string","description":"The name of the policy model"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the policy file","type":"string"},{"name":"actions","argumentName":"actions","required":false,"description":"Method names to pre-define on the policy","type":"spread"}],"options":{"allowUnknownFlags":true},"filePath":"make_policy.js","absoluteFilePath":"/Users/virk/code/adonisjs/packages-v6/bouncer/build/commands/make_policy.js"}],"version":1}
{"commands":[{"commandName":"make:policy","description":"Make a new bouncer policy class","help":"","namespace":"make","aliases":[],"flags":[{"name":"register","flagName":"register","required":false,"type":"boolean","description":"Auto register the policy inside the app/policies/main.ts file","showNegatedVariantInHelp":true,"alias":"r"},{"name":"model","flagName":"model","required":false,"type":"string","description":"The name of the policy model"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the policy file","type":"string"},{"name":"actions","argumentName":"actions","required":false,"description":"Method names to pre-define on the policy","type":"spread"}],"options":{"allowUnknownFlags":true},"filePath":"make_policy.js","absoluteFilePath":"/home/julienr/code/adonis/bouncer/build/commands/make_policy.js"}],"version":1}

@@ -20,2 +20,3 @@ import {

await codemods.updateRcFile((rcFile) => {
rcFile.addCommand("@adonisjs/bouncer/commands");
rcFile.addProvider("@adonisjs/bouncer/bouncer_provider");

@@ -22,0 +23,0 @@ });

{
"name": "@adonisjs/bouncer",
"version": "3.1.0",
"version": "3.1.1",
"description": "Authorization layer for AdonisJS",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet