Skip to content

Deno release broken? #29

@thorwebdev

Description

@thorwebdev

Trying to use as per docs

import { Ratelimit } from "https://deno.land/x/upstash_ratelimit/mod.ts";

I'm getting

Warning Implicitly using latest version (v0.3.7) for https://deno.land/x/upstash_ratelimit/mod.ts
Download https://deno.land/x/[email protected]/mod.ts
worker thread panicked Import 'https://deno.land/x/[email protected]/mod.ts' failed, not found.

When using esm.sh

import { Ratelimit } from "https://esm.sh/@upstash/[email protected]";

I get

serving function upstash-redis-ratelimiter
worker thread panicked Uncaught SyntaxError: The requested module 'https://esm.sh/@upstash/[email protected]' does not provide an export named 'Ratelimit'
    at file:///home/deno/functions/upstash-redis-ratelimiter/index.ts:3:10

Any ideas?

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