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-20240324064444 to 0.0.0-20240324074257

dist/index.d.ts.map

15

dist/index.d.ts

@@ -12,3 +12,3 @@ /**

*/
export declare function isRecord(value: unknown): value is Record<string | symbol, unknown>;
declare function isRecord(value: unknown): value is Record<string | symbol, unknown>;
/**

@@ -19,3 +19,3 @@ * Transforms `input` into an array, or leave it as-is if `input` is already an array.

*/
export declare function toArray<T>(input: T | T[]): T[];
declare function toArray<T>(input: T | T[]): T[];
/**

@@ -26,3 +26,3 @@ * Returns `code` of an error-like object.

*/
export declare function getErrorCode(err: unknown): string | undefined;
declare function getErrorCode(err: unknown): string | undefined;
/**

@@ -33,7 +33,7 @@ * Returns the group part of an Kubernetes API version string.

*/
export declare function apiVersionToGroup(apiVersion: string): string;
declare function apiVersionToGroup(apiVersion: string): string;
/**
* @public
*/
export interface ManifestMeta {
interface ManifestMeta {
apiVersion: string;

@@ -50,2 +50,5 @@ kind: string;

*/
export declare function getManifestMeta(value: unknown): ManifestMeta | undefined;
declare function getManifestMeta(value: unknown): ManifestMeta | undefined;
export { type ManifestMeta, apiVersionToGroup, getErrorCode, getManifestMeta, isRecord, toArray };
//# sourceMappingURL=index.d.ts.map

2

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

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

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