Socket
Socket
Sign inDemoInstall

@amplication/plugin-auth-basic

Package Overview
Dependencies
Maintainers
8
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplication/plugin-auth-basic - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1-beta.0

dist/templates/auth.module.template.ts

7

package.json
{
"name": "@amplication/plugin-auth-basic",
"version": "1.4.0",
"version": "1.4.1-beta.0",
"description": "set basic auth for Amplication build",

@@ -15,3 +15,4 @@ "main": "dist/index.js",

"devDependencies": {
"@amplication/code-gen-types": "^2.0.1",
"@amplication/code-gen-types": "^2.0.2-beta.2",
"@amplication/code-gen-utils": "^0.0.5",
"@babel/parser": "^7.18.11",

@@ -26,2 +27,3 @@ "@babel/types": "^7.18.10",

"@typescript-eslint/parser": "^5.33.0",
"babylon": "^6.18.0",
"copy-webpack-plugin": "^11.0.0",

@@ -32,2 +34,3 @@ "eslint": "^8.21.0",

"prettier": "^2.8.7",
"recast": "^0.20.5",
"rimraf": "^5.0.1",

@@ -34,0 +37,0 @@ "ts-loader": "^9.4.2",

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

Events,
Module,
ModuleMap,

@@ -13,2 +12,3 @@ } from "@amplication/code-gen-types";

import { resolve } from "path";
import { createAuthModule, createBasicStrategyBase } from "./core";
class BasicAuthPlugin implements AmplicationPlugin {

@@ -57,2 +57,10 @@ register(): Events {

// 1. create basic strategy base file.
const basicStrategyBase = await createBasicStrategyBase(context);
await modules.set(basicStrategyBase);
// 2. create auth module file.
const authModule = await createAuthModule(context);
await modules.set(authModule);
await modules.merge(staticsFiles);

@@ -59,0 +67,0 @@ return modules;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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