@sveltejs/package@3.0.0
cheaper-inference/OmniRoute@sveltejs/package@3.0.0Oct 1, 2026by github-actions[bot]
Upgrading?
AI Summary
@sveltejs/package v3.0.0 requires Node 22+, adds warnings for server-only files, and transforms import aliases into relative imports.
Key Highlights
- Breaking requirement for Node 22 or newer.
- Warning when using `.server.` files without importing server-only modules.
- Transformation of import aliases into relative imports.
Breaking Changes
- Requires Node 22 or newer.
New Features
- Warning for `.server.` files without imports.
- Transform import aliases into relative imports.
- Removal of `sade` and `kleur` dependencies.
Full Release Notes
### Major Changes - breaking: require Node 22 or newer ([#12548](https://github.com/sveltejs/kit/pull/12548)) ### Minor Changes - feat: warn when using a `.server.` file or file inside a `server` directory without importing a server-only module ([#16266](https://github.com/sveltejs/kit/pull/16266)) - feat: transform import aliases into relative imports in files ([#16360](https://github.com/sveltejs/kit/pull/16360)) ### Patch Changes - chore: remove dependency on sade ([#16619](https://github.com/sveltejs/kit/pull/16619)) - chore: bump `svelte2tsx` to 0.7.59 ([#16745](https://github.com/sveltejs/kit/pull/16745)) - fix: rewrite `.ts` extensions in `import.meta.glob` patterns when `rewriteRelativeImportExtensions` is enabled ([#16776](https://github.com/sveltejs/kit/pull/16776)) - chore: replace private fs helpers with Node built-ins ([#16610](https://github.com/sveltejs/kit/pull/16610)) - chore: read the Svelte config via `@sveltejs/load-config` ([#17039](https://github.com/sveltejs/kit/pull/17039)) - chore: remove dependency on kleur ([#12548](https://github.com/sveltejs/kit/pull/12548)) - fix: import resolved peer dependencies as file URLs so project-relative resolution works on Windows ([#16618](https://github.com/sveltejs/kit/pull/16618)) - fix: emit declarations when the tsconfig lives above the package root ([#16568](https://github.com/sveltejs/kit/pull/16568)) - chore: bump `svelte2tsx` to 0.7.60 ([#16761](https://github.com/sveltejs/kit/pull/16761)) - fix: declare typescript as an optional peer dependency so svelte-package works under strict node-linkers ([#16073](https://github.com/sveltejs/kit/pull/16073))
Related Repositories
openclaw/openclaw★ 392,721
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
nilbuild/developer-roadmap★ 370,094
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
morluto/rea★ 360,446
Reverse engineer anything with agents, from app behavior down to native binaries.
anomalyco/opencode★ 219,875
The open source coding agent.
n8n-io/n8n★ 208,280
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.