Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

mygithub.libinneed.workers.dev/stackitcloud/stackit-cli

Package Overview
Dependencies
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mygithub.libinneed.workers.dev/stackitcloud/stackit-cli - npm Package Compare versions

Comparing version
v0.39.2-0.20250822095946-df2b82470fe6
to
v0.40.0
+1
-1
.github/workflows/renovate.yaml

@@ -16,5 +16,5 @@ name: Renovate

- name: Self-hosted Renovate
uses: renovatebot/github-action@v43.0.8
uses: renovatebot/github-action@v43.0.9
with:
configurationFile: .github/renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
+2
-2

@@ -23,3 +23,3 @@ module github.com/stackitcloud/stackit-cli

github.com/stackitcloud/stackit-sdk-go/services/git v0.7.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.29.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.29.2
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.5.2

@@ -246,3 +246,3 @@ github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.24.1

github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.3.1
github.com/stackitcloud/stackit-sdk-go/services/observability v0.10.0
github.com/stackitcloud/stackit-sdk-go/services/observability v0.11.1
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.25.1

@@ -249,0 +249,0 @@ github.com/stackitcloud/stackit-sdk-go/services/redis v0.25.1

@@ -9,4 +9,2 @@ package cmd

"github.com/stackitcloud/stackit-cli/internal/cmd/params"
affinityGroups "github.com/stackitcloud/stackit-cli/internal/cmd/affinity-groups"

@@ -32,2 +30,3 @@ "github.com/stackitcloud/stackit-cli/internal/cmd/auth"

"github.com/stackitcloud/stackit-cli/internal/cmd/organization"
"github.com/stackitcloud/stackit-cli/internal/cmd/params"
"github.com/stackitcloud/stackit-cli/internal/cmd/postgresflex"

@@ -34,0 +33,0 @@ "github.com/stackitcloud/stackit-cli/internal/cmd/project"

@@ -229,3 +229,3 @@ package list

t.Run(tt.name, func(t *testing.T) {
if err := outputResult(p, tt.args.outputFormat, tt.args.clusters); (err != nil) != tt.wantErr {
if err := outputResult(p, tt.args.outputFormat, "dummy-projectlabel", tt.args.clusters); (err != nil) != tt.wantErr {
t.Errorf("outputResult() error = %v, wantErr %v", err, tt.wantErr)

@@ -232,0 +232,0 @@ }

@@ -88,18 +88,17 @@ package list

clusters := *resp.Items
// Truncate output
if model.Limit != nil && len(clusters) > int(*model.Limit) {
clusters = clusters[:*model.Limit]
}
projectLabel := model.ProjectId
if len(clusters) == 0 {
projectLabel, err := projectname.GetProjectName(ctx, params.Printer, params.CliVersion, cmd)
projectLabel, err = projectname.GetProjectName(ctx, params.Printer, params.CliVersion, cmd)
if err != nil {
params.Printer.Debug(print.ErrorLevel, "get project name: %v", err)
projectLabel = model.ProjectId
}
params.Printer.Info("No clusters found for project %q\n", projectLabel)
return nil
}
// Truncate output
if model.Limit != nil && len(clusters) > int(*model.Limit) {
clusters = clusters[:*model.Limit]
}
return outputResult(params.Printer, model.OutputFormat, clusters)
return outputResult(params.Printer, model.OutputFormat, projectLabel, clusters)
},

@@ -152,3 +151,3 @@ }

func outputResult(p *print.Printer, outputFormat string, clusters []ske.Cluster) error {
func outputResult(p *print.Printer, outputFormat, projectLabel string, clusters []ske.Cluster) error {
switch outputFormat {

@@ -172,2 +171,7 @@ case print.JSONOutputFormat:

default:
if len(clusters) == 0 {
p.Outputf("No clusters found for project %q\n", projectLabel)
return nil
}
table := tables.NewTable()

@@ -174,0 +178,0 @@ table.SetHeader("NAME", "STATE", "VERSION", "POOLS", "MONITORING")

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

#!/bin/bash
#!/usr/bin/env bash

@@ -3,0 +3,0 @@ # This script is used to ensure for PRs the docs are up-to-date via the CI pipeline

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

#!/bin/bash
#!/usr/bin/env bash

@@ -3,0 +3,0 @@ # This script is used to publish new packages to the CLI APT repository

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

#!/bin/bash
#!/usr/bin/env bash
# Add replace directives to local files to go.work

@@ -3,0 +3,0 @@ set -eo pipefail

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