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

@clerc/plugin-version

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerc/plugin-version - npm Package Compare versions

Comparing version 0.12.3 to 0.12.4

7

dist/index.js
import { definePlugin } from '@clerc/core';
import { gracefulVersion } from '@clerc/utils';
const gracefulVersion = (v) => v.length === 0 ? "" : v.startsWith("v") ? v : `v${v}`;
const versionPlugin = ({

@@ -15,3 +16,3 @@ alias = ["V"],

cli = cli.command("version", "Show version").on("version", () => {
console.log(gracefullyVersion);
process.stdout.write(gracefullyVersion);
});

@@ -35,3 +36,3 @@ }

} else {
console.log(gracefullyVersion);
process.stdout.write(gracefullyVersion);
}

@@ -38,0 +39,0 @@ }

{
"name": "@clerc/plugin-version",
"version": "0.12.3",
"version": "0.12.4",
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)",

@@ -46,3 +46,3 @@ "description": "Clerc plugin version",

"devDependencies": {
"@clerc/core": "0.12.3"
"@clerc/core": "0.12.4"
},

@@ -49,0 +49,0 @@ "scripts": {

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