Socket
Socket
Sign inDemoInstall

@chuva.io/less-cli

Package Overview
Dependencies
99
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.20 to 1.0.0-beta.21

8

bin/index.js
#!/usr/bin/env node
import path from 'path';
import { fileURLToPath } from 'url';
import path, { dirname } from 'path';
import fs from 'fs';

@@ -27,4 +28,7 @@ import { Command, Option } from 'commander';

// Get the directory of the current module file
const __dirname = dirname(fileURLToPath(import.meta.url));
// Get package.json version
const packagePath = path.join(process.cwd(), 'package.json');
const packagePath = path.join(__dirname, '..', 'package.json');
const packageContent = JSON.parse(fs.readFileSync(packagePath).toString());

@@ -31,0 +35,0 @@ const version = packageContent?.version;

{
"name": "@chuva.io/less-cli",
"version": "1.0.0-beta.20",
"version": "1.0.0-beta.21",
"description": "`less-cli` is a CLI tool that allows you to deploy your Less projects to AWS while providing several other tools to facilitate your interaction with Less.",

@@ -5,0 +5,0 @@ "author": "Chuva, LLC",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc