@dbpath/environments
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18612
+ Added@dbpath/config@0.2.16(transitive)
+ Added@dbpath/dal@0.2.16(transitive)
+ Added@dbpath/files@0.2.16(transitive)
+ Added@dbpath/fixtures@0.2.16(transitive)
+ Added@dbpath/mysql@0.2.16(transitive)
+ Added@dbpath/oracle@0.2.16(transitive)
+ Added@dbpath/postgres@0.2.16(transitive)
+ Added@dbpath/types@0.2.16(transitive)
+ Added@dbpath/utils@0.2.16(transitive)
- Removed@dbpath/config@0.2.15(transitive)
- Removed@dbpath/dal@0.2.15(transitive)
- Removed@dbpath/files@0.2.15(transitive)
- Removed@dbpath/fixtures@0.2.15(transitive)
- Removed@dbpath/mysql@0.2.15(transitive)
- Removed@dbpath/oracle@0.2.15(transitive)
- Removed@dbpath/postgres@0.2.15(transitive)
- Removed@dbpath/types@0.2.15(transitive)
- Removed@dbpath/utils@0.2.15(transitive)
Updated@dbpath/files@0.2.16
Updated@dbpath/mysql@0.2.16
Updated@dbpath/oracle@0.2.16
Updated@dbpath/postgres@0.2.16
Updated@dbpath/utils@0.2.16