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

@ui5/cli

Package Overview
Dependencies
Maintainers
3
Versions
201
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 3.0.0-rc.3 to 3.0.0-rc.4

15

CHANGELOG.md

@@ -5,4 +5,16 @@ # Changelog

A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.3...HEAD).
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.4...HEAD).
<a name="v3.0.0-rc.4"></a>
## [v3.0.0-rc.4] - 2023-01-25
### Dependency Updates
- Bump [@ui5](https://github.com/ui5)/project from 3.0.0-rc.6 to 3.0.0-rc.7 [`c39657c`](https://github.com/SAP/ui5-cli/commit/c39657c4399e264f699caabb368b2b02c8b09921)
- Bump [@ui5](https://github.com/ui5)/server from 3.0.0-rc.1 to 3.0.0-rc.2 [`1bdecfb`](https://github.com/SAP/ui5-cli/commit/1bdecfb2d7846c73f14c2c5970a1a027494f7958)
- Bump [@ui5](https://github.com/ui5)/builder from 3.0.0-rc.2 to 3.0.0-rc.3 [`bd92f25`](https://github.com/SAP/ui5-cli/commit/bd92f250f2300a9ea7437af00c9cab23bdabee6e)
- Bump [@ui5](https://github.com/ui5)/project from 3.0.0-rc.5 to 3.0.0-rc.6 [`6baac05`](https://github.com/SAP/ui5-cli/commit/6baac05a70a11874b41fa071aa5bb6a327f0ae7b)
- Bump [@ui5](https://github.com/ui5)/fs from 3.0.0-rc.3 to 3.0.0-rc.4 [`83c84f4`](https://github.com/SAP/ui5-cli/commit/83c84f47f7746d17eceeb310f3655dd3d3b1f87a)
- Bump [@ui5](https://github.com/ui5)/logger from 3.0.1-rc.1 to 3.0.1-rc.2 [`a553030`](https://github.com/SAP/ui5-cli/commit/a553030c408a64044a6cafc6975f68a2a750d806)
- Bump [@ui5](https://github.com/ui5)/project from 3.0.0-rc.4 to 3.0.0-rc.5 [`bb08848`](https://github.com/SAP/ui5-cli/commit/bb08848ace38a69e879d9a646ab57821b9ded7eb)
<a name="v3.0.0-rc.3"></a>

@@ -926,2 +938,3 @@ ## [v3.0.0-rc.3] - 2023-01-23

[v3.0.0-rc.4]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.3...v3.0.0-rc.4
[v3.0.0-rc.3]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.2...v3.0.0-rc.3

@@ -928,0 +941,0 @@ [v3.0.0-rc.2]: https://github.com/SAP/ui5-cli/compare/v3.0.0-rc.1...v3.0.0-rc.2

6

lib/cli/base.js
import chalk from "chalk";
import logger from "@ui5/logger";
import {isLogLevelEnabled} from "@ui5/logger";

@@ -42,3 +42,3 @@ export default function(cli) {

// Exception
if (logger.isLevelEnabled("error")) {
if (isLogLevelEnabled("error")) {
console.log("");

@@ -53,3 +53,3 @@ console.log(chalk.bold.red("⚠️ Process Failed With Error"));

const unexpectedErrors = ["SyntaxError", "ReferenceError", "TypeError"];
if (unexpectedErrors.includes(err.name) || logger.isLevelEnabled("verbose")) {
if (unexpectedErrors.includes(err.name) || isLogLevelEnabled("verbose")) {
console.log("");

@@ -56,0 +56,0 @@ console.log(chalk.underline("Stack Trace:"));

@@ -1,2 +0,2 @@

import logger from "@ui5/logger";
import {setLogLevel, getLogger} from "@ui5/logger";
import ConsoleWriter from "@ui5/logger/writers/Console";

@@ -13,7 +13,7 @@ import {getVersion} from "../version.js";

if (argv.loglevel) {
logger.setLevel(argv.loglevel);
setLogLevel(argv.loglevel);
}
if (argv.verbose) {
logger.setLevel("verbose");
const log = logger.getLogger("cli:middlewares:base");
setLogLevel("verbose");
const log = getLogger("cli:middlewares:base");
log.verbose(`using @ui5/cli version ${getVersion()}`);

@@ -20,0 +20,0 @@ log.verbose(`using node version ${process.version}`);

import {getRootProjectConfiguration} from "./utils.js";
import logger from "@ui5/logger";
import {getLogger} from "@ui5/logger";
const log = logger.getLogger("cli:framework:remove");
const log = getLogger("cli:framework:remove");

@@ -6,0 +6,0 @@ /**

@@ -5,5 +5,5 @@ import path from "node:path";

import {fromYaml, getPosition, getValue} from "data-with-position";
import logger from "@ui5/logger";
import {getLogger} from "@ui5/logger";
const log = logger.getLogger("cli:framework:updateYaml");
const log = getLogger("cli:framework:updateYaml");

@@ -10,0 +10,0 @@ function getProjectYamlDocument({project, configFile, configPath}) {

{
"name": "@ui5/cli",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"description": "UI5 Tooling - CLI",

@@ -118,7 +118,7 @@ "author": {

"dependencies": {
"@ui5/builder": "^3.0.0-rc.2",
"@ui5/fs": "^3.0.0-rc.3",
"@ui5/logger": "^3.0.1-rc.1",
"@ui5/project": "^3.0.0-rc.4",
"@ui5/server": "^3.0.0-rc.1",
"@ui5/builder": "^3.0.0-rc.3",
"@ui5/fs": "^3.0.0-rc.4",
"@ui5/logger": "^3.0.1-rc.2",
"@ui5/project": "^3.0.0-rc.7",
"@ui5/server": "^3.0.0-rc.2",
"chalk": "^5.2.0",

@@ -144,3 +144,3 @@ "data-with-position": "^0.5.0",

"eslint-plugin-ava": "^14.0.0",
"eslint-plugin-jsdoc": "^39.6.7",
"eslint-plugin-jsdoc": "^39.6.8",
"esmock": "^2.1.0",

@@ -151,3 +151,3 @@ "execa": "^6.1.0",

"open-cli": "^7.1.0",
"rimraf": "^4.1.1",
"rimraf": "^4.1.2",
"sinon": "^15.0.1",

@@ -154,0 +154,0 @@ "strip-ansi": "^7.0.1",

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