Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adonisjs/auth

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/auth - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

14

build/instructions.js

@@ -51,3 +51,3 @@ "use strict";

const modelPath = path_1.join(modelsDirectory, `${modelName.replace(/\.ts$/, '')}.ts`);
const template = new sink.files.MustacheFile(projectRoot, modelPath, './templates/model.txt');
const template = new sink.files.MustacheFile(projectRoot, modelPath, path_1.join(__dirname, './templates/model.txt'));
if (template.exists()) {

@@ -66,3 +66,3 @@ sink.logger.skip(`${modelPath} file already exists`);

const modelImportNamespace = modelName ? `${modelNamespace}/${modelName}` : undefined;
const template = new sink.files.MustacheFile(projectRoot, 'contracts/auth.ts', './templates/contract/auth.txt');
const template = new sink.files.MustacheFile(projectRoot, 'contracts/auth.ts', path_1.join(__dirname, './templates/contract/auth.txt'));
template.overwrite = true;

@@ -72,4 +72,4 @@ template

.partials({
guard: `${CONTRACTS_PARTIALS_BASE}/${guard}-guard.txt`,
provider: `${CONTRACTS_PARTIALS_BASE}/user-provider-${provider}.txt`,
guard: path_1.join(__dirname, CONTRACTS_PARTIALS_BASE, `${guard}-guard.txt`),
provider: path_1.join(__dirname, CONTRACTS_PARTIALS_BASE, `user-provider-${provider}.txt`),
})

@@ -85,3 +85,3 @@ .commit();

const modelImportNamespace = modelName ? `${modelsNamespace}/${modelName}` : undefined;
const template = new sink.files.MustacheFile(projectRoot, 'config/auth.ts', './templates/config/auth.txt');
const template = new sink.files.MustacheFile(projectRoot, 'config/auth.ts', path_1.join(__dirname, './templates/config/auth.txt'));
template.overwrite = true;

@@ -91,4 +91,4 @@ template

.partials({
guard: `${CONFIG_PARTIALS_BASE}/${guard}-guard.txt`,
provider: `${CONFIG_PARTIALS_BASE}/user-provider-${provider}.txt`,
guard: path_1.join(__dirname, CONFIG_PARTIALS_BASE, `${guard}-guard.txt`),
provider: path_1.join(__dirname, CONFIG_PARTIALS_BASE, `user-provider-${provider}.txt`),
})

@@ -95,0 +95,0 @@ .commit();

{
"name": "@adonisjs/auth",
"version": "4.0.3",
"version": "4.0.4",
"description": "Offical authentication provider for Adonis framework",

@@ -44,15 +44,15 @@ "types": "build/adonis-typings/index.d.ts",

"devDependencies": {
"@adonisjs/core": "^5.0.0-preview-rc-1.2",
"@adonisjs/core": "^5.0.0-preview-rc-1.3",
"@adonisjs/encryption": "^2.0.2",
"@adonisjs/events": "^2.0.0",
"@adonisjs/fold": "^6.3.5",
"@adonisjs/hash": "^2.0.2",
"@adonisjs/lucid": "^8.0.0",
"@adonisjs/hash": "^2.0.3",
"@adonisjs/lucid": "^8.0.2",
"@adonisjs/mrm-preset": "^2.3.0",
"@adonisjs/profiler": "^3.0.1",
"@adonisjs/session": "^3.0.1",
"@adonisjs/session": "^3.0.2",
"@adonisjs/sink": "^3.0.1",
"@phc/bcrypt": "^1.0.2",
"@poppinss/dev-utils": "^1.0.6",
"@types/node": "^13.13.0",
"@types/node": "^13.13.1",
"commitizen": "^4.0.4",

@@ -103,3 +103,3 @@ "copyfiles": "^2.2.0",

"@poppinss/hooks": "^1.0.5",
"@poppinss/utils": "^2.2.4",
"@poppinss/utils": "^2.2.6",
"array-to-sentence": "^2.0.0"

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