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

lba-cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lba-cli - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

24

lib/config.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -18,2 +37,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

const toml_1 = __importDefault(require("toml"));
const logger = __importStar(require("./logger"));
const getConfig = () => __awaiter(void 0, void 0, void 0, function* () {

@@ -27,4 +47,4 @@ try {

catch (err) {
console.log(err);
throw err;
logger.error('Cannot find config.toml in this directory');
process.exit(1);
}

@@ -31,0 +51,0 @@ });

2

package.json
{
"name": "lba-cli",
"version": "0.1.2",
"version": "0.1.3",
"author": {

@@ -5,0 +5,0 @@ "name": "Lebronaire"

@@ -5,2 +5,3 @@ import fs from 'fs';

import { LbaConfig } from './types';
import * as logger from './logger';

@@ -16,5 +17,5 @@ export const getConfig = async (): Promise<LbaConfig> => {

} catch (err) {
console.log(err);
throw err;
logger.error('Cannot find config.toml in this directory');
process.exit(1);
}
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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