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

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base - npm Package Compare versions

Comparing version 3.0.0-rc.5 to 3.0.0-rc.6

6

package.json
{
"name": "@travetto/base",
"version": "3.0.0-rc.5",
"version": "3.0.0-rc.6",
"description": "Environment config and common utilities for travetto applications.",

@@ -29,3 +29,3 @@ "keywords": [

"dependencies": {
"@travetto/manifest": "^3.0.0-rc.3",
"@travetto/manifest": "^3.0.0-rc.4",
"@types/source-map-support": "^0.5.6",

@@ -36,3 +36,3 @@ "source-map-support": "^0.5.21"

"@parcel/watcher": "^2.1.0",
"@travetto/transformer": "^3.0.0-rc.7"
"@travetto/transformer": "^3.0.0-rc.8"
},

@@ -39,0 +39,0 @@ "peerDependenciesMeta": {

@@ -63,5 +63,9 @@ import { Env } from './env';

const profiles = new Set([GlobalEnv.profiles, ...(cfg.profiles ?? [])]);
const isProd = /^prod/i.test(env);
if (test) {
profiles.add(TEST);
debug = false;
} else {
profiles.add(isProd ? PROD : DEV);
}

@@ -78,3 +82,3 @@

process.env.TRV_ENV = env;
process.env.NODE_ENV = /^prod/i.test(env) ? 'production' : 'development';
process.env.NODE_ENV = isProd ? 'production' : 'development';
process.env.TRV_DYNAMIC = `${cfg.dynamic ?? GlobalEnv.dynamic}`;

@@ -81,0 +85,0 @@ process.env.DEBUG = `${debug}`;

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