New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

liyad-cli

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liyad-cli - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

lib/cli.js

@@ -35,2 +35,6 @@ #!/usr/bin/env node

break;
case '--cli-version':
console.log(require('../package.json').version);
process.exit(0);
break;
case '--':

@@ -37,0 +41,0 @@ optsPos++;

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

-v, --version print version informations
--cli-version print cli version informations
`

@@ -30,0 +31,0 @@ )

@@ -15,2 +15,3 @@ // Copyright (c) 2018, Shellyl_N and Authors

let pkgVer = '0.0.0';
let cliVer = '0.0.0';

@@ -24,2 +25,8 @@ try {

}
try {
const pkgJson = require('../package.json');
cliVer = pkgJson.version;
} catch (e) {
// eslint-disable-next-line no-empty
}

@@ -44,3 +51,3 @@ const rl = readline.createInterface({

console.log(`${pkgName} ${pkgVer} CLI (REPL)\nType ^C to exit.\n`);
console.log(`${pkgName} ${pkgVer} (CLI ${cliVer}) (REPL)\nType ^C to exit.\n`);
rl.prompt();

@@ -47,0 +54,0 @@

4

package.json
{
"name": "liyad-cli",
"version": "0.0.3",
"version": "0.0.4",
"description": "CLI and REPL for Liyad (Lisp yet another DSL interpreter).",

@@ -36,3 +36,3 @@ "keywords": [

"dependencies": {
"liyad": "^0.0.18"
"liyad": "^0.0.19"
},

@@ -39,0 +39,0 @@ "repository": {

@@ -45,2 +45,3 @@ # Liyad CLI

-v, --version print version informations
--cli-version print cli version informations
```

@@ -47,0 +48,0 @@

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