@knime/utils 1.12.0 → 2.0.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 +16 -0
- package/README.md +0 -9
- package/dist/index.js +947 -741
- package/dist/index.js.map +1 -1
- package/dist/src/hotkeys/format.d.ts +4 -0
- package/dist/src/hotkeys/format.d.ts.map +1 -1
- package/dist/src/hotkeys/index.d.ts +1 -0
- package/dist/src/hotkeys/index.d.ts.map +1 -1
- package/dist/test-utils/index.js +41 -38
- package/dist/test-utils/index.js.map +1 -1
- package/package.json +7 -15
- package/audit/README.md +0 -118
- package/audit/bulkAudit.js +0 -671
- package/audit/cli.js +0 -117
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @knime/utils
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 7e008e1: Remove the `pnpm-bulk-audit` CLI (the `pnpm-bulk-audit` bin and the
|
|
8
|
+
`@knime/utils/audit` export). These were a temporary workaround for
|
|
9
|
+
`pnpm audit` failing with HTTP 410 after npm retired its legacy audit
|
|
10
|
+
endpoints. Native `pnpm audit` works again on pnpm 11.13+, so the
|
|
11
|
+
workaround is no longer needed — run `pnpm audit` directly instead.
|
|
12
|
+
|
|
13
|
+
## 1.12.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- d6c8a53: Add util function to append formatted hotkeys to a given text string
|
|
18
|
+
|
|
3
19
|
## 1.12.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# KNIME® Frontend – Utils
|
|
2
2
|
|
|
3
|
-
This package is maintained by the [UI Core Team](mailto:team-ui-core@knime.com).
|
|
4
|
-
|
|
5
3
|
It contains framework-agnostic utility functions and constants shared across KNIME projects — date/time formatting, hotkey helpers, string and number utilities, HTML sanitization, file-size and file-extension helpers, promise helpers, and an upload manager. It has no Vue dependency and can be used from any TypeScript/JavaScript project.
|
|
6
4
|
|
|
7
5
|
It's published as npm package: [@knime/utils]
|
|
@@ -64,7 +62,6 @@ await sleep(100);
|
|
|
64
62
|
| `@knime/utils` | The utility functions and constants |
|
|
65
63
|
| `@knime/utils/test-utils` | Test helpers (e.g. `muteConsole`) |
|
|
66
64
|
| `@knime/utils/globals.d.ts` | Ambient `consola` global declaration (reference from a `*.d.ts`) |
|
|
67
|
-
| `@knime/utils/audit` | Programmatic API for the bulk advisory audit |
|
|
68
65
|
|
|
69
66
|
### Requirements
|
|
70
67
|
|
|
@@ -72,11 +69,5 @@ The embedding app must provide:
|
|
|
72
69
|
|
|
73
70
|
- A `consola` instance compatible with the version defined in [`package.json`](package.json)
|
|
74
71
|
|
|
75
|
-
## Audit tool
|
|
76
|
-
|
|
77
|
-
This package also ships a CLI tool (`pnpm-bulk-audit`) that audits dependencies
|
|
78
|
-
using the npm bulk advisory API — a drop-in workaround while `pnpm audit` is
|
|
79
|
-
broken. See [audit/README.md](audit/README.md) for details.
|
|
80
|
-
|
|
81
72
|
[Vitest]: https://vitest.dev/
|
|
82
73
|
[@knime/utils]: https://www.npmjs.com/package/@knime/utils
|