@kronos-integration/endpoint 9.5.5 → 9.5.6

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/README.md CHANGED
@@ -1,8 +1,5 @@
1
- [![npm](https://img.shields.io/npm/v/@kronos-integration/endpoint.svg)](https://www.npmjs.com/package/@kronos-integration/endpoint)
2
1
  [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
3
2
  [![Typed with TypeScript](https://flat.badgen.net/badge/icon/Typed?icon=typescript\&label\&labelColor=blue\&color=555555)](https://typescriptlang.org)
4
- [![bundlejs](https://deno.bundlejs.com/?q=@kronos-integration/endpoint\&badge=detailed)](https://bundlejs.com/?q=@kronos-integration/endpoint)
5
- [![downloads](http://img.shields.io/npm/dm/@kronos-integration/endpoint.svg?style=flat-square)](https://npmjs.org/package/@kronos-integration/endpoint)
6
3
  [![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/endpoint.svg?style=flat-square)](https://github.com/Kronos-Integration/endpoint/issues)
7
4
  [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FKronos-Integration%2Fendpoint%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/Kronos-Integration/endpoint/goto)
8
5
  [![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/endpoint",
3
- "version": "9.5.5",
3
+ "version": "9.5.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -28,15 +28,15 @@
28
28
  ],
29
29
  "license": "BSD-2-Clause",
30
30
  "scripts": {
31
- "prepare": "npm run prepare:typescript",
32
- "prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule -t esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs",
33
- "test": "npm run test:ava",
31
+ "prepare": "node --run prepare:typescript",
32
+ "prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target es2024 --lib es2024 -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs",
33
+ "test": "node --run test:ava",
34
34
  "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
35
35
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
36
36
  "docs": "documentation readme --section=API ./src/**/*.mjs",
37
- "lint": "npm run lint:docs && npm run lint:typescript",
37
+ "lint": "node --run lint:docs && node --run lint:typescript",
38
38
  "lint:docs": "documentation lint ./src/**/*.mjs",
39
- "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule -t esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
39
+ "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target es2024 --lib es2024 -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
40
40
  },
41
41
  "dependencies": {
42
42
  "@kronos-integration/interceptor": "^10.3.0"
@@ -45,11 +45,11 @@
45
45
  "ava": "^6.1.3",
46
46
  "c8": "^10.1.2",
47
47
  "documentation": "^14.0.3",
48
- "semantic-release": "^24.1.0",
49
- "typescript": "^5.5.4"
48
+ "semantic-release": "^24.1.2",
49
+ "typescript": "^5.7.0-beta"
50
50
  },
51
51
  "engines": {
52
- "node": ">=22.7.0"
52
+ "node": ">=22.11.0"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
@@ -79,7 +79,7 @@ export class Endpoint {
79
79
  * Deliver data flow direction.
80
80
  * @return {string|undefined} delivers data flow direction 'in', 'out', 'inout' or undefined
81
81
  */
82
- get direction(): string;
82
+ get direction(): string | undefined;
83
83
  toJSON(): {
84
84
  in: boolean;
85
85
  out: boolean;
@@ -7,7 +7,7 @@ export class MultiConnectionEndpoint extends ReceivableEndpoint {
7
7
  /**
8
8
  * All connections
9
9
  */
10
- connections(): Generator<Endpoint, void, undefined>;
10
+ connections(): Generator<Endpoint, void, unknown>;
11
11
  #private;
12
12
  }
13
13
  import { ReceivableEndpoint } from "./receivable-endpoint.mjs";