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

@ui5/cli

Package Overview
Dependencies
Maintainers
0
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/cli - npm Package Compare versions

Comparing version 4.0.10 to 4.0.11

12

lib/cli/commands/versions.js
import baseMiddleware from "../middlewares/base.js";
import path from "node:path";
import {isLogLevelEnabled} from "@ui5/logger";
import {createRequire} from "node:module";

@@ -17,3 +19,11 @@

const packageInfo = require(`${pkg}/package.json`);
return packageInfo.version || NOT_FOUND;
if (!packageInfo?.version) {
return NOT_FOUND;
}
let res = packageInfo.version;
if (isLogLevelEnabled("verbose")) {
const packageDir = path.dirname(require.resolve(`${pkg}/package.json`));
res += ` (from ${packageDir})`;
}
return res;
} catch {

@@ -20,0 +30,0 @@ return NOT_FOUND;

10

package.json
{
"name": "@ui5/cli",
"version": "4.0.10",
"version": "4.0.11",
"description": "UI5 Tooling - CLI",

@@ -119,6 +119,6 @@ "author": {

"dependencies": {
"@ui5/builder": "^4.0.3",
"@ui5/builder": "^4.0.4",
"@ui5/fs": "^4.0.1",
"@ui5/logger": "^4.0.1",
"@ui5/project": "^4.0.3",
"@ui5/project": "^4.0.4",
"@ui5/server": "^4.0.5",

@@ -143,6 +143,6 @@ "chalk": "^5.3.0",

"docdash": "^2.0.2",
"eslint": "^9.14.0",
"eslint": "^9.15.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-ava": "^15.0.1",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-jsdoc": "^50.6.0",
"esmock": "^2.6.9",

@@ -149,0 +149,0 @@ "execa": "^9.5.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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