@adonisjs/bouncer
Advanced tools
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
103629
0.13%1202
0.08%1
Infinity%