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

@bitgenics/fab-upload-cli

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgenics/fab-upload-cli - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

lib/utils/clipBuildLog.d.ts

8

lib/utils/generateFab.d.ts

@@ -1,10 +0,10 @@

declare const generateFab: () => Promise<{
import { BuildStatus } from "../enums";
export default function generateFab(): Promise<{
started_at: number;
finished_at: number;
status: any;
status: BuildStatus;
logs: {
cmd: string;
log: any;
log: string;
}[];
}>;
export default generateFab;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const util = require("util");
const { BuildStatus } = require("../enums");
const exec = util.promisify(require("child_process").exec);
const generateFab = async () => {
const util_1 = require("util");
const enums_1 = require("../enums");
const clipBuildLog_1 = require("./clipBuildLog");
const exec = util_1.promisify(require("child_process").exec);
async function generateFab() {
const started_at = Date.now();

@@ -14,7 +15,7 @@ try {

finished_at: Date.now(),
status: BuildStatus.SUCCESS,
status: enums_1.BuildStatus.SUCCESS,
logs: [
{
cmd: "npm run build:fab",
log: stdout
log: clipBuildLog_1.default(stdout, 30000)
}

@@ -30,7 +31,7 @@ ]

finished_at: Date.now(),
status: BuildStatus.FAILED,
status: enums_1.BuildStatus.FAILED,
logs: [
{
cmd: "npm run build:fab",
log: stdout + stderr
log: clipBuildLog_1.default(stdout + stderr, 30000)
}

@@ -40,3 +41,4 @@ ]

}
};
}
exports.default = generateFab;
;
{
"name": "@bitgenics/fab-upload-cli",
"version": "0.2.0",
"version": "0.2.1",
"author": "Tom Trinca @plexey",

@@ -12,10 +12,9 @@ "bin": {

"dependencies": {
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^2",
"@types/node-fetch": "^2.5.3",
"chalk": "^3.0.0",
"@oclif/command": "^1.5.19",
"@oclif/config": "^1.14.0",
"@oclif/plugin-help": "^2.2.3",
"chalk": "^4.0.0",
"mime": "^2.4.4",
"node-fetch": "^2.6.0",
"tslib": "^1"
"tslib": "^1.11.1"
},

@@ -25,11 +24,12 @@ "devDependencies": {

"@oclif/tslint": "^3",
"@types/chai": "^4",
"@types/mocha": "^5",
"@types/node": "^10",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.1",
"@types/node-fetch": "^2.5.6",
"chai": "^4",
"mocha": "^5",
"nyc": "^14",
"ts-node": "^8",
"tslint": "^5",
"typescript": "^3.3"
"mocha": "^7.1.1",
"nyc": "^15.0.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3"
},

@@ -36,0 +36,0 @@ "engines": {

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