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

@spinajs/configuration

Package Overview
Dependencies
Maintainers
1
Versions
285
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/configuration - npm Package Compare versions

Comparing version 1.0.10 to 1.0.12

7

lib/index.js

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.FrameworkConfiguration = exports.Configuration = void 0;
const di_1 = require("@spinajs/di");

@@ -84,2 +85,4 @@ const fs = require("fs");

path_1.normalize(path_1.join(path_1.resolve(__dirname).split(path_1.sep + 'node_modules')[0], '/node_modules/@spinajs/http/lib/config')),
path_1.normalize(path_1.join(path_1.resolve(__dirname).split(path_1.sep + 'node_modules')[0], '/node_modules/@spinajs/acl-http/lib/config')),
path_1.normalize(path_1.join(path_1.resolve(__dirname).split(path_1.sep + 'node_modules')[0], '/node_modules/@spinajs/jobs/lib/config')),
// project paths - last to allow overwrite @spinajs conf

@@ -94,4 +97,4 @@ path_1.normalize(path_1.join(path_1.resolve(__dirname).split(path_1.sep + 'node_modules')[0], '/dist/config')),

this.Config = {};
this.RunApp = (app !== null && app !== void 0 ? app : parseArgv('--app'));
this.BaseDir = (_a = (appBaseDir !== null && appBaseDir !== void 0 ? appBaseDir : parseArgv('--appPath')), (_a !== null && _a !== void 0 ? _a : path_1.join(__dirname, '../apps/')));
this.RunApp = app !== null && app !== void 0 ? app : parseArgv('--app');
this.BaseDir = (_a = appBaseDir !== null && appBaseDir !== void 0 ? appBaseDir : parseArgv('--appPath')) !== null && _a !== void 0 ? _a : path_1.join(__dirname, '../apps/');
log(`Running app: ${this.RunApp}`);

@@ -98,0 +101,0 @@ log(`Base dir at: ${this.BaseDir}`);

{
"name": "@spinajs/configuration",
"version": "1.0.10",
"version": "1.0.12",
"description": "framework configuration module",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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