@sveltejs/package@3.0.0
NVIDIA/cosmos@sveltejs/package@3.0.0Oct 1, 2026by github-actions[bot]
Upgrading?
AI Summary
Major version bump requiring Node 22 or newer, removing legacy dependencies like sade and kleur, and improving file handling logic.
Key Highlights
- Requires Node 22 or newer
- Removes dependencies on sade and kleur
- Warns when using .server. files without importing server-only modules
- Transforms import aliases into relative imports
Breaking Changes
- Require Node 22 or newer
New Features
- Warning for .server. files without server imports
- Import alias transformation
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
public-apis/public-apis★ 491,213
A collective list of free APIs
openclaw/openclaw★ 392,725
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
nilbuild/developer-roadmap★ 370,103
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
morluto/rea★ 361,139
Reverse engineer anything with agents, from app behavior down to native binaries.
obra/superpowers★ 303,344
An agentic skills framework & software development methodology that works.