🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

metalift-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalift-cli - npm Package Compare versions

Comparing version
1.0.4
to
1.0.5
+14
-0
dist/index.js

@@ -11,2 +11,3 @@ #!/usr/bin/env node

metalift map <url> [--search term]
metalift search <query> [--language en]
metalift job <job-id>

@@ -65,2 +66,15 @@ metalift health

}
case "search": {
const query = rest[0];
if (!query)
throw new Error("Query required");
const langIdx = rest.indexOf("--language");
const result = await client.search({
query,
limit: 10,
language: langIdx >= 0 ? rest[langIdx + 1] : undefined,
});
console.log(JSON.stringify(result, null, 2));
break;
}
case "job": {

@@ -67,0 +81,0 @@ const jobId = rest[0];

+2
-2
{
"name": "metalift-cli",
"version": "1.0.4",
"version": "1.0.5",
"description": "Metalift command-line interface",

@@ -16,3 +16,3 @@ "license": "SEE LICENSE IN LICENSE",

"dependencies": {
"@metalift/sdk": "1.0.4"
"@metalift/sdk": "1.0.5"
},

@@ -19,0 +19,0 @@ "main": "dist/index.js",