Skip to content

Docs page for writing adapters refers to old polyfill package name #10278

@erxclau

Description

@erxclau

Describe the problem

The page for writing adapters refers to @sveltejs/kit/install-fetch but this package was renamed to @sveltejs/kit/node/polyfills.

- Globally shims `fetch` to work on the target platform, if necessary. SvelteKit provides a `@sveltejs/kit/install-fetch` helper for platforms that can use `node-fetch`

Describe the proposed solution

  1. Change the package name to @sveltejs/kit/node/polyfills.
  2. Update language to also say that crypto is shimmed as part of the package.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions