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.3.9 to 0.3.10

7

dist/src/environments.js

@@ -44,2 +44,5 @@ "use strict";

exports.stateFileName = 'dbpath.state.json';
function envNotFound(envName, envs) {
return [`Environment ${envName} not found. Legal names are ${Object.keys(envs).sort()}`];
}
function currentEnvName(cwd, marker, env, cleanE) {

@@ -54,3 +57,3 @@ if (env)

return foundEnv;
return [`Environment ${foundEnv} not found. Legal values are ${Object.keys(cleanE).sort().join(', ')}`];
return envNotFound(foundEnv, cleanE);
}

@@ -81,3 +84,3 @@ exports.currentEnvName = currentEnvName;

}
return [`Environment ${envName} not found. Legal names are ${Object.keys(envs).sort()}`];
return envNotFound(envName, envs);
});

@@ -84,0 +87,0 @@ }

{
"name": "@dbpath/environments",
"description": "",
"version": "0.3.9",
"version": "0.3.10",
"main": "dist/index",

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

"dependencies": {
"@dbpath/utils": "0.3.9",
"@dbpath/files": "0.3.9",
"@dbpath/postgres": "0.3.9",
"@dbpath/mysql": "0.3.9",
"@dbpath/oracle": "0.3.9"
"@dbpath/utils": "0.3.10",
"@dbpath/files": "0.3.10",
"@dbpath/postgres": "0.3.10",
"@dbpath/mysql": "0.3.10",
"@dbpath/oracle": "0.3.10"
},

@@ -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