@knime/hub-features 1.10.6 → 1.11.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @knime/hub-features
2
2
 
3
+ ## 1.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 493c9f0: TS improvements
8
+ - replaced any with fitting type or unknown/never
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [493c9f0]
13
+ - @knime/components@1.31.0
14
+ - @knime/utils@1.5.0
15
+
3
16
  ## 1.10.6
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/hub-features",
3
- "version": "1.10.6",
3
+ "version": "1.11.0",
4
4
  "description": "Vue components & composables for shared hub features",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -31,9 +31,9 @@
31
31
  "lodash-es": "4.17.21",
32
32
  "ofetch": "^1.4.1",
33
33
  "typescript": "^5.4.5",
34
- "@knime/components": "1.30.1",
34
+ "@knime/components": "1.31.0",
35
35
  "@knime/styles": "1.7.0",
36
- "@knime/utils": "1.4.4"
36
+ "@knime/utils": "1.5.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "consola": "3.x",
@@ -1,4 +1,4 @@
1
- import { merge } from "lodash-es";
1
+ import { merge } from "lodash-es"; // eslint-disable-line depend/ban-dependencies
2
2
  import { type FetchOptions, ofetch } from "ofetch";
3
3
 
4
4
  import { DEFAULT_API_BASE_URL } from "./constants";
@@ -2,7 +2,7 @@
2
2
  import { type Ref, computed, onMounted, ref } from "vue";
3
3
  import { useEventBus } from "@vueuse/core";
4
4
  import { autoUpdate, offset, useFloating } from "@floating-ui/vue";
5
- import { isEqual } from "lodash-es";
5
+ import { isEqual } from "lodash-es"; // eslint-disable-line depend/ban-dependencies
6
6
 
7
7
  import { FunctionButton } from "@knime/components";
8
8
  import { truncateString } from "@knime/utils";
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { useEventBus } from "@vueuse/core";
3
- import { throttle } from "lodash-es";
3
+ import { throttle } from "lodash-es"; // eslint-disable-line depend/ban-dependencies
4
4
 
5
5
  import { FunctionButton } from "@knime/components";
6
6
  import CloseIcon from "@knime/styles/img/icons/close.svg";
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { computed, ref } from "vue";
3
- import { compact } from "lodash-es";
3
+ import { compact } from "lodash-es"; // eslint-disable-line depend/ban-dependencies
4
4
 
5
5
  import { LocalDateTime, SubMenu, Tooltip } from "@knime/components";
6
6
  import MenuIcon from "@knime/styles/img/icons/menu-options.svg";
@@ -36,7 +36,6 @@ const dateFormatOptions = {
36
36
  } as const;
37
37
 
38
38
  const formattedDate = computed(() => {
39
- // eslint-disable-next-line no-undefined
40
39
  const formatter = new Intl.DateTimeFormat(undefined, dateFormatOptions); // use default locale
41
40
  return formatter.format(props.date);
42
41
  });
@@ -47,7 +47,6 @@ const tryParse = (error: FetchError): RFCError | FetchError => {
47
47
  status: error.statusCode as number,
48
48
  date: responseDate,
49
49
  requestId: error.response.headers.get("x-request-id") ?? "",
50
- // eslint-disable-next-line no-undefined
51
50
  errorId: error.response.headers.get("x-error-id") ?? undefined,
52
51
  };
53
52