New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@athenna/core

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@athenna/core - npm Package Compare versions

Comparing version 4.16.0 to 4.17.0

4

package.json
{
"name": "@athenna/core",
"version": "4.16.0",
"version": "4.17.0",
"description": "The plug and play Node.js framework.",

@@ -79,3 +79,3 @@ "license": "MIT",

"devDependencies": {
"@athenna/artisan": "^4.21.0",
"@athenna/artisan": "^4.24.0",
"@athenna/common": "^4.24.0",

@@ -82,0 +82,0 @@ "@athenna/config": "^4.10.0",

@@ -28,6 +28,4 @@ /**

async handle() {
if (this.env !== '') {
process.env.APP_ENV = this.env;
process.env.NODE_ENV = this.env;
}
process.env.APP_ENV = this.env;
process.env.NODE_ENV = this.env;
const entrypoint = Config.get('rc.commands.repl.entrypoint', Path.bootstrap(`repl.${Path.ext()}`));

@@ -38,8 +36,4 @@ await Module.resolve(entrypoint, Config.get('rc.parentURL'));

__decorate([
Option({
signature: '-e, --env <env>',
description: 'Change the environment where the application will run.',
default: ''
}),
Option({ isFromGlobal: true, signature: '--env <env>' }),
__metadata("design:type", String)
], ReplCommand.prototype, "env", void 0);

@@ -30,6 +30,4 @@ /**

async handle() {
if (this.env !== '') {
process.env.APP_ENV = this.env;
process.env.NODE_ENV = this.env;
}
process.env.APP_ENV = this.env;
process.env.NODE_ENV = this.env;
const entrypoint = Config.get('rc.commands.serve.entrypoint', Path.bootstrap(`main.${Path.ext()}`));

@@ -84,7 +82,3 @@ if (this.watch) {

__decorate([
Option({
signature: '-e, --env <env>',
description: 'Change the environment where the application will run.',
default: ''
}),
Option({ isFromGlobal: true, signature: '--env <env>' }),
__metadata("design:type", String)

@@ -91,0 +85,0 @@ ], ServeCommand.prototype, "env", void 0);

@@ -38,6 +38,4 @@ /**

async handle() {
if (this.env !== '') {
process.env.APP_ENV = this.env;
process.env.NODE_ENV = this.env;
}
process.env.APP_ENV = this.env || 'test';
process.env.NODE_ENV = this.env || 'test';
const entrypoint = Config.get('rc.commands.test.entrypoint', Path.bootstrap(`test.${Path.ext()}`));

@@ -49,8 +47,4 @@ process.argv.splice(2, 1);

__decorate([
Option({
signature: '-e, --env <env>',
description: 'Change the environment where your tests wil run.',
default: 'test'
}),
Option({ signature: '--env <env>' }),
__metadata("design:type", String)
], TestCommand.prototype, "env", void 0);

@@ -14,2 +14,3 @@ /**

import { Console } from '#src/applications/Console';
import { CommanderHandler } from '@athenna/artisan';
import { LoadHelper } from '#src/helpers/LoadHelper';

@@ -54,2 +55,3 @@ import { Log, LoggerProvider } from '@athenna/logger';

this.setApplicationSignals();
CommanderHandler.reconstruct();
return this;

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