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

dbpath

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbpath - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

13

dist/src/cli.js

@@ -25,2 +25,4 @@ "use strict";

const path_2 = __importDefault(require("path"));
const parser_1 = require("@dbpath/pathparser/dist/src/parser");
const dal_1 = require("@dbpath/dal");
exports.dbPathDir = '.dbpath';

@@ -110,2 +112,13 @@ exports.configFileName = 'dbpath.config.json';

});
const newPath = program.command('newPath')
.description("Uses new path parser ... doesn't do anything other than show syntax tree")
.arguments('<path>')
.action((path, command, options) => {
const result = (0, parser_1.parsePath)((0, dal_1.DalPathValidator)(dal_1.sampleSummary, dal_1.sampleMeta))(path);
if ((0, utils_1.hasErrors)(result)) {
(0, utils_1.reportErrors)(result);
return;
}
console.log(JSON.stringify(result, null, 2));
});
const status = program.command('status').description("Checks that the environments are accessible and gives report")

@@ -112,0 +125,0 @@ .action((command, options) => __awaiter(this, void 0, void 0, function* () {

18

package.json
{
"name": "dbpath",
"description": "",
"version": "0.2.1",
"version": "0.2.2",
"main": "dist/index",

@@ -24,10 +24,10 @@ "types": "dist/index",

"commander": "^10.0.0",
"@dbpath/oracle": "0.2.1",
"@dbpath/mysql": "0.2.1",
"@dbpath/postgres": "0.2.1",
"@dbpath/tables": "0.2.1",
"@dbpath/utils": "0.2.1",
"@dbpath/files": "0.2.1",
"@dbpath/mocks": "0.2.1",
"@dbpath/environments": "0.2.1"
"@dbpath/oracle": "0.2.2",
"@dbpath/mysql": "0.2.2",
"@dbpath/postgres": "0.2.2",
"@dbpath/tables": "0.2.2",
"@dbpath/utils": "0.2.2",
"@dbpath/files": "0.2.2",
"@dbpath/mocks": "0.2.2",
"@dbpath/environments": "0.2.2"
},

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