Commit 8fe6b76
chore(deps): upgrade @types/node to ^26.0.0 + fix createPublicKey under stricter crypto types (#2180)
Re-applies the @types/node 25→26 bump (originally #2160; reverted in #2177 to
unbreak main). @types/node 26 narrowed `createPublicKey`'s input union to drop
`KeyObject`, which broke the publisher self-check in `os plugin sign`:
packages/cli/src/commands/plugin/sign.ts:
createPublicKey(createPrivateKey(privateKeyPem)) // KeyObject input
Derive the public half from the private-key PEM string instead —
runtime-identical (verified: same SPKI, signature verifies) and `string` is
still an accepted `createPublicKey` input under @types/node 26. Drops the
now-unused `createPrivateKey` import.
Verified: full workspace build green; @objectstack/cli and @objectstack/core
build clean under @types/node 26.
Co-authored-by: Jack Zhuang <zhuangjianguo@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0df063e commit 8fe6b76
62 files changed
Lines changed: 332 additions & 476 deletions
File tree
- apps/docs
- packages
- apps
- account
- setup
- studio
- cli
- src/commands/plugin
- cloud-connection
- connectors
- connector-mcp
- connector-openapi
- connector-rest
- connector-slack
- core
- create-objectstack
- dogfood
- mcp
- metadata-core
- metadata-fs
- metadata
- observability
- platform-objects
- plugins
- driver-memory
- driver-mongodb
- driver-sqlite-wasm
- driver-sql
- embedder-openai
- knowledge-memory
- knowledge-ragflow
- plugin-approvals
- plugin-audit
- plugin-auth
- plugin-dev
- plugin-email
- plugin-hono-server
- plugin-msw
- plugin-org-scoping
- plugin-reports
- plugin-security
- plugin-sharing
- plugin-webhooks
- services
- service-ai
- service-analytics
- service-automation
- service-cache
- service-cluster-redis
- service-cluster
- service-datasource
- service-i18n
- service-job
- service-knowledge
- service-messaging
- service-package
- service-queue
- service-realtime
- service-settings
- service-storage
- spec
- triggers
- trigger-api
- trigger-record-change
- trigger-schedule
- verify
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments