Skip to content

Deno deprecation #55

Open
Open

Description

@corbindavenport

Deno's module repository is now deprecated, per the message on the serpapi page:

deno.land/x is now read-only. Existing modules and versions remain available, but new modules and versions can no longer be published here. Publish new packages to JSR, the modern registry for Deno and the broader JavaScript ecosystem.

I'm not sure if it makes sense to set up a JSR package. Either way, the Deno instructions in the README and supporting configuration can probably be removed.

The badge for the Deno package was no longer working, so I removed it:

Image

Activity

  1. sharmis-tp commented on Oct 30, 2026

    @sharmis-tp

    The README's Deno section points to deno.land/x, which is frozen at 2.2.1, so Deno users never get newer features like getMd or image upload.

    Two options:

    1. Docs only: point the README at npm:serpapi (works on Deno 2.x) and add a CHANGELOG entry.
    2. JSR: add jsr.json and explicit return types on the five exported functions that deno publish --dry-run flags in src/serpapi.ts. This needs someone at SerpApi to create the @serpapi scope on jsr.io first.

    I can send either one. Which would you prefer?

  2. sharmis-tp commented on Oct 30, 2026

    @sharmis-tp

    I'm opening the docs-only option now, since it needs nothing from your side: the README and the Deno example import npm:serpapi, plus a CHANGELOG entry. JSR can still follow if you create the @serpapi scope.

    A correction to my comment above: getMd and image upload aren't on npm yet either (npm is also at 2.2.1). So the change matters from the next release, which npm publish will deliver but deno.land/x can't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions