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

@kosko/common-utils

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kosko/common-utils - npm Package Compare versions

Comparing version 0.0.0-20240218093713 to 0.0.0-20240317094138

25

dist/types.d.ts

@@ -8,2 +8,9 @@ /**

/**
* Returns the group part of an Kubernetes API version string.
*
* @public
*/
export declare function apiVersionToGroup(apiVersion: string): string;
/**
* Returns `code` of an error-like object.

@@ -16,2 +23,10 @@ *

/**
* Returns metadata from a Kubernetes manifest. Returns `undefined` if `value`
* is not a valid manifest.
*
* @public
*/
export declare function getManifestMeta(value: unknown): ManifestMeta | undefined;
/**
* Returns true when type of `value` is `object` and is not `null`, `undefined` or

@@ -25,2 +40,12 @@ * an array.

/**
* @public
*/
export declare interface ManifestMeta {
apiVersion: string;
kind: string;
name: string;
namespace?: string;
}
/**
* Transforms `input` into an array, or leave it as-is if `input` is already an array.

@@ -27,0 +52,0 @@ *

2

package.json
{
"name": "@kosko/common-utils",
"version": "0.0.0-20240218093713",
"version": "0.0.0-20240317094138",
"description": "Common utilities used in Kosko.",

@@ -5,0 +5,0 @@ "homepage": "https://kosko.dev",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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