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

metlo

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metlo - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

dist/modules/express.d.ts

4

dist/index.d.ts

@@ -1,2 +0,2 @@

#!/usr/bin/env node
export {};
declare function _exports(key: any, host: any): void;
export = _exports;

@@ -1,21 +0,14 @@

#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var commander_1 = require("commander");
var init_1 = tslib_1.__importDefault(require("./init"));
var testAPI_1 = tslib_1.__importDefault(require("./testAPI"));
commander_1.program.name("metlo").description("Metlo's command line tool.").version("0.0.0");
commander_1.program
.command("init")
.description("Initialize the Metlo CLI.")
.option("-b, --backend_url <string>", "The backend address for Metlo")
.action(init_1.default);
commander_1.program
.command("test")
.description("Run Metlo API tests against a specified host.")
.requiredOption("-h, --host <string>", "The production host in Metlo.")
.option("-t, --target <string>", "The host to run tests against against.")
.action(testAPI_1.default);
commander_1.program.parseAsync();
const os = require("node:os");
const Modules = require("./modules");
const WorkerPool = require("./pool");
const path = require("path");
const pool = new WorkerPool(os.cpus().length, './workerTarget.js');
function exit() {
pool.close();
}
process.on('exit', exit);
process.on('SIGTERM', exit);
module.exports = function (key, host) {
Modules({ host, key, pool });
};
//# sourceMappingURL=index.js.map
{
"name": "metlo",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",
"description": "The node agent for Metlo API Security.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"metlo": "./dist/index.js"
},
"scripts": {
"start": "nodemon src/index.js",
"build": "tsc",
"watch": "tsc -w",
"dev": "nodemon -r tsconfig-paths/register src/index.ts init",
"clean": "rm -rf dist/*",
"format": "prettier --write './src/**/*.{ts,tsx}'"
},
"dependencies": {
"require-in-the-middle": "^5.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/metlo-labs/metlo.git"
},
"engines": {
"node": ">=11.7.0"
},
"homepage": "www.metlo.com",
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/node": "^18.7.16",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"dependencies": {
"@metlo/testing": "^0.0.3",
"@types/valid-url": "^1.0.3",
"axios": "^0.27.2",
"chalk": "^4.1.2",
"commander": "^9.4.0",
"dotenv": "^16.0.2",
"enquirer": "^2.3.6",
"nodemon": "^2.0.19",
"@types/node": "^18.8.4",
"typescript": "^4.8.4",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"tslib": "^2.4.0",
"valid-url": "^1.0.9"
"tslib": "^2.4.0"
}
}

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