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

@dbpath/environments

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbpath/environments - npm Package Compare versions

Comparing version 0.2.15 to 0.2.16

2

dist/src/environments.js

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

function cleanEnvironment(envVars, env) {
return (0, utils_1.mapObject)(env, (env, envName) => (Object.assign(Object.assign({ name: envName }, env), { username: orDefault(envName, envVars, env.username, 'username'), password: orDefault(envName, envVars, env.password, 'password') })));
return (0, utils_1.mapObject)(env, (env, envName) => (Object.assign(Object.assign({ name: envName }, env), { schema: env.schema, username: orDefault(envName, envVars, env.username, 'username'), password: orDefault(envName, envVars, env.password, 'password') })));
}

@@ -115,0 +115,0 @@ exports.cleanEnvironment = cleanEnvironment;

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

"Database": { dataFn: (t) => (0, environments_1.mapEnv)(t, e => e.database, e => '') },
"Schema": { dataFn: (t) => (0, environments_1.mapEnv)(t, e => e.database, e => '') },
"Schema": { dataFn: (t) => (0, utils_1.safeToString)(t.schema) },
"UserName": { dataFn: (t) => t.username },

@@ -24,3 +24,3 @@ "Connection": { dataFn: (t) => (0, environments_1.mapEnv)(t, e => '', e => e.connection) },

"Database": { dataFn: (t) => (0, environments_1.mapEnv)(t.env, e => e.database, e => '') },
"Schema": { dataFn: (t) => (0, environments_1.mapEnv)(t.env, e => e.database, e => '') },
"Schema": { dataFn: (t) => (0, utils_1.safeToString)(t.env.schema) },
"UserName": { dataFn: (t) => t.env.username },

@@ -27,0 +27,0 @@ "Connection": { dataFn: (t) => (0, environments_1.mapEnv)(t.env, e => '', e => e.connection) },

{
"name": "@dbpath/environments",
"description": "",
"version": "0.2.15",
"version": "0.2.16",
"main": "dist/index",

@@ -20,7 +20,7 @@ "types": "dist/index",

"dependencies": {
"@dbpath/utils": "0.2.15",
"@dbpath/files": "0.2.15",
"@dbpath/postgres": "0.2.15",
"@dbpath/mysql": "0.2.15",
"@dbpath/oracle": "0.2.15"
"@dbpath/utils": "0.2.16",
"@dbpath/files": "0.2.16",
"@dbpath/postgres": "0.2.16",
"@dbpath/mysql": "0.2.16",
"@dbpath/oracle": "0.2.16"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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