kubernetes-fluent-client 3.12.0 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4,9 +4,10 @@ import * as kind from "./upstream.js";
4
4
  export { kind };
5
5
  export { fetch } from "./fetch.js";
6
6
  export { StatusCodes as fetchStatus } from "http-status-codes";
7
- export { WatchCfg, WatchEvent } from "./fluent/watch.js";
7
+ export { WatchCfg, WatchEvent, Watcher } from "./fluent/watch.js";
8
+ export { WatchPhase } from "./fluent/shared-types.js";
8
9
  export { K8s } from "./fluent/index.js";
9
- export type { Operation, PartialDeep } from "./fluent/types.js";
10
+ export type { K8sInit, Operation, PartialDeep, WatcherType } from "./fluent/types.js";
10
11
  export { RegisterKind, modelToGroupVersionKind } from "./kinds.js";
11
12
  export { GenericKind } from "./types.js";
12
13
  export * from "./types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,oGAAoG;AACpG,OAAO,EAAE,IAAI,EAAE,CAAC;AAGhB,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAGnE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,cAAc,YAAY,CAAC;AAG3B,OAAO,KAAK,MAAM,MAAM,gDAAgD,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,oGAAoG;AACpG,OAAO,EAAE,IAAI,EAAE,CAAC;AAGhB,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAGnE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,cAAc,YAAY,CAAC;AAG3B,OAAO,KAAK,MAAM,MAAM,gDAAgD,CAAC;AAEzE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -9,8 +9,9 @@ export { kind };
9
9
  export { fetch } from "./fetch.js";
10
10
  // Export the HTTP status codes
11
11
  export { StatusCodes as fetchStatus } from "http-status-codes";
12
- // Export the Watch Config and Event types
13
- export { WatchEvent } from "./fluent/watch.js";
12
+ // Export watch types used by clients that reconcile Kubernetes resources.
13
+ export { WatchEvent, Watcher } from "./fluent/watch.js";
14
+ export { WatchPhase } from "./fluent/shared-types.js";
14
15
  // Export the fluent API entrypoint
15
16
  export { K8s } from "./fluent/index.js";
16
17
  // Export helpers for working with K8s types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubernetes-fluent-client",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "A @kubernetes/client-node fluent API wrapper that leverages K8s Server Side Apply.",
5
5
  "bin": "./dist/cli.js",
6
6
  "main": "dist/index.js",
@@ -77,16 +77,16 @@
77
77
  "dependencies": {
78
78
  "@kubernetes/client-node": "1.4.0",
79
79
  "http-status-codes": "2.3.0",
80
- "js-yaml": "5.2.3",
80
+ "js-yaml": "5.3.0",
81
81
  "node-fetch": "2.7.0",
82
82
  "quicktype-core": "25.0.0",
83
- "tsx": "4.23.8",
83
+ "tsx": "4.23.12",
84
84
  "undici": "8.10.0",
85
85
  "yargs": "18.1.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@commitlint/cli": "21.2.1",
89
- "@commitlint/config-conventional": "21.2.0",
88
+ "@commitlint/cli": "21.2.2",
89
+ "@commitlint/config-conventional": "21.2.2",
90
90
  "@defenseunicorns/eslint-config": "1.2.0",
91
91
  "@eslint/eslintrc": "3.3.6",
92
92
  "@eslint/js": "10.0.1",
@@ -95,18 +95,18 @@
95
95
  "@types/urijs": "1.19.26",
96
96
  "@types/ws": "8.18.1",
97
97
  "@types/yargs": "17.0.35",
98
- "@typescript-eslint/eslint-plugin": "8.67.0",
99
- "@typescript-eslint/parser": "8.67.0",
100
- "@vitest/coverage-v8": "4.1.10",
98
+ "@typescript-eslint/eslint-plugin": "8.68.0",
99
+ "@typescript-eslint/parser": "8.68.0",
100
+ "@vitest/coverage-v8": "4.1.11",
101
101
  "command-line-args": "6.0.2",
102
- "eslint": "10.8.1",
103
- "eslint-plugin-jsdoc": "64.1.0",
104
- "globals": "17.10.0",
102
+ "eslint": "10.9.1",
103
+ "eslint-plugin-jsdoc": "64.2.1",
104
+ "globals": "17.11.0",
105
105
  "husky": "9.1.7",
106
106
  "lint-staged": "17.3.0",
107
107
  "prettier": "3.9.6",
108
108
  "typescript": "6.0.3",
109
- "vitest": "4.1.10"
109
+ "vitest": "4.1.11"
110
110
  },
111
111
  "peerDependencies": {
112
112
  "vitest": "^4.1.10"
package/src/index.ts CHANGED
@@ -15,14 +15,15 @@ export { fetch } from "./fetch.js";
15
15
  // Export the HTTP status codes
16
16
  export { StatusCodes as fetchStatus } from "http-status-codes";
17
17
 
18
- // Export the Watch Config and Event types
19
- export { WatchCfg, WatchEvent } from "./fluent/watch.js";
18
+ // Export watch types used by clients that reconcile Kubernetes resources.
19
+ export { WatchCfg, WatchEvent, Watcher } from "./fluent/watch.js";
20
+ export { WatchPhase } from "./fluent/shared-types.js";
20
21
 
21
22
  // Export the fluent API entrypoint
22
23
  export { K8s } from "./fluent/index.js";
23
24
 
24
25
  // Export types used in the fluent API's public method signatures
25
- export type { Operation, PartialDeep } from "./fluent/types.js";
26
+ export type { K8sInit, Operation, PartialDeep, WatcherType } from "./fluent/types.js";
26
27
 
27
28
  // Export helpers for working with K8s types
28
29
  export { RegisterKind, modelToGroupVersionKind } from "./kinds.js";