Comparing version 4.0.10 to 4.0.11
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; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
385296
7737
9
+ Added@adobe/css-tools@4.4.1(transitive)
+ Added@isaacs/fs-minipass@4.0.1(transitive)
+ Added@npmcli/agent@3.0.0(transitive)
+ Added@npmcli/config@9.0.0(transitive)
+ Added@npmcli/fs@4.0.0(transitive)
+ Added@npmcli/git@6.0.1(transitive)
+ Added@npmcli/installed-package-contents@3.0.0(transitive)
+ Added@npmcli/map-workspaces@4.0.2(transitive)
+ Added@npmcli/name-from-folder@3.0.0(transitive)
+ Added@npmcli/node-gyp@4.0.0(transitive)
+ Added@npmcli/package-json@6.1.0(transitive)
+ Added@npmcli/promise-spawn@8.0.2(transitive)
+ Added@npmcli/redact@3.0.0(transitive)
+ Added@npmcli/run-script@9.0.1(transitive)
+ Added@sigstore/bundle@3.0.0(transitive)
+ Added@sigstore/core@2.0.0(transitive)
+ Added@sigstore/sign@3.0.0(transitive)
+ Added@sigstore/tuf@3.0.0(transitive)
+ Added@sigstore/verify@2.0.0(transitive)
+ Added@tufjs/models@3.0.1(transitive)
+ Added@ui5/builder@4.0.4(transitive)
+ Added@ui5/project@4.0.4(transitive)
+ Addedcacache@19.0.1(transitive)
+ Addedchownr@3.0.0(transitive)
+ Addedci-info@4.1.0(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedhosted-git-info@8.0.2(transitive)
+ Addedignore-walk@7.0.0(transitive)
+ Addedini@5.0.0(transitive)
+ Addedjson-parse-even-better-errors@4.0.0(transitive)
+ Addedmake-fetch-happen@14.0.3(transitive)
+ Addedminipass-fetch@4.0.0(transitive)
+ Addedminizlib@3.0.1(transitive)
+ Addedmkdirp@3.0.1(transitive)
+ Addednegotiator@1.0.0(transitive)
+ Addednopt@8.0.0(transitive)
+ Addednormalize-package-data@7.0.0(transitive)
+ Addednpm-bundled@4.0.0(transitive)
+ Addednpm-install-checks@7.1.1(transitive)
+ Addednpm-normalize-package-bin@4.0.0(transitive)
+ Addednpm-package-arg@12.0.0(transitive)
+ Addednpm-packlist@9.0.0(transitive)
+ Addednpm-pick-manifest@10.0.0(transitive)
+ Addednpm-registry-fetch@18.0.2(transitive)
+ Addedp-map@7.0.2(transitive)
+ Addedpacote@19.0.1(transitive)
+ Addedproc-log@5.0.0(transitive)
+ Addedregistry-auth-token@5.0.3(transitive)
+ Addedsigstore@3.0.0(transitive)
+ Addedssri@12.0.0(transitive)
+ Addedtar@7.4.3(transitive)
+ Addedtuf-js@3.0.1(transitive)
+ Addedtype-fest@4.29.0(transitive)
+ Addedundici@6.21.0(transitive)
+ Addedunique-filename@4.0.0(transitive)
+ Addedunique-slug@5.0.0(transitive)
+ Addedvalidate-npm-package-name@6.0.0(transitive)
+ Addedwhich@5.0.0(transitive)
+ Addedyallist@5.0.0(transitive)
- Removed@adobe/css-tools@4.4.0(transitive)
- Removed@npmcli/config@8.3.4(transitive)
- Removed@npmcli/git@5.0.8(transitive)
- Removed@npmcli/installed-package-contents@2.1.0(transitive)
- Removed@npmcli/map-workspaces@3.0.6(transitive)
- Removed@npmcli/name-from-folder@2.0.0(transitive)
- Removed@npmcli/node-gyp@3.0.0(transitive)
- Removed@npmcli/package-json@5.2.1(transitive)
- Removed@npmcli/promise-spawn@7.0.2(transitive)
- Removed@npmcli/redact@2.0.1(transitive)
- Removed@npmcli/run-script@8.1.0(transitive)
- Removed@sigstore/bundle@2.3.2(transitive)
- Removed@sigstore/core@1.1.0(transitive)
- Removed@sigstore/sign@2.3.2(transitive)
- Removed@sigstore/tuf@2.3.4(transitive)
- Removed@sigstore/verify@1.2.1(transitive)
- Removed@tufjs/models@2.0.1(transitive)
- Removed@ui5/builder@4.0.3(transitive)
- Removed@ui5/project@4.0.3(transitive)
- Removedci-info@4.0.0(transitive)
- Removedcross-spawn@7.0.5(transitive)
- Removedglob@11.0.0(transitive)
- Removedignore-walk@6.0.5(transitive)
- Removedini@4.1.3(transitive)
- Removedjackspeak@4.0.2(transitive)
- Removedjson-parse-even-better-errors@3.0.2(transitive)
- Removedlru-cache@11.0.2(transitive)
- Removednpm-bundled@3.0.1(transitive)
- Removednpm-install-checks@6.3.0(transitive)
- Removednpm-normalize-package-bin@3.0.1(transitive)
- Removednpm-package-arg@11.0.3(transitive)
- Removednpm-packlist@8.0.2(transitive)
- Removednpm-pick-manifest@9.1.0(transitive)
- Removednpm-registry-fetch@17.1.0(transitive)
- Removedpacote@18.0.6(transitive)
- Removedpath-scurry@2.0.0(transitive)
- Removedread-package-json-fast@3.0.2(transitive)
- Removedregistry-auth-token@5.0.2(transitive)
- Removedrimraf@6.0.1(transitive)
- Removedsigstore@2.3.1(transitive)
- Removedtuf-js@2.2.1(transitive)
- Removedtype-fest@4.26.1(transitive)
- Removedundici@6.20.1(transitive)
- Removedvalidate-npm-package-name@5.0.1(transitive)
Updated@ui5/builder@^4.0.4
Updated@ui5/project@^4.0.4