https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • k

    kian

    03/23/2023, 11:02 PM
    nodejs_compat
    is in the runtime, so doesn't contribute to bundle size.
  • d

    DemosJarco

    03/23/2023, 11:03 PM
    Does
    nodejs_compat
    require the experimental local to run?
  • d

    DemosJarco

    03/23/2023, 11:04 PM
    Or better question, what's the feature parity % currently between both of them?
  • d

    DemosJarco

    03/23/2023, 11:06 PM
    Removing
    node_compat
    and putting in
    nodejs_compat
    instead errors out on missing
    util
    and
    os
    . I assume both should not be enabled at the same time? yea it won't even let me run with both
  • d

    DemosJarco

    03/23/2023, 11:13 PM
    Ok, just tested with
    experimental-local
    on WSL Ubuntu 22 (node 18 + wrangler 2.13.0) and
    util
    and
    os
    still missing
  • d

    DemosJarco

    03/23/2023, 11:16 PM
    I guess I'll wait and be on the lookout for when it's available so I can swap node compat options
  • s

    Skye

    03/23/2023, 11:21 PM
    Only parts of util are implemented, and
    os
    is not
  • g

    GeorgeTailor

    03/24/2023, 3:02 PM
    are there any plans to support https://developer.mozilla.org/en-US/docs/Web/API/HTML_Sanitizer_API in the workers?
    • 1
    • 1
  • k

    kian

    03/24/2023, 3:05 PM
    It seems like a pretty early on API but you can make a feature request on to have it considered
  • d

    Dawn Parzych

    03/24/2023, 3:53 PM
    Sure, message me when you're ready to share.
  • c

    calebhailey

    03/24/2023, 6:52 PM
    Anybody else seeing a
    script body must not be empty (Code: 10021)
    error when attempting to save an environment variable to a worker (via the web interface)? Status dashboard doesn't seem to indicate there's an ongoing issue: https://www.cloudflarestatus.com
  • c

    calebhailey

    03/24/2023, 6:52 PM
    This isn't a new worker. It's been running for about a week, and it already has some other variables saved.
  • s

    Skye

    03/24/2023, 6:57 PM
    I can't repro 🤔
  • s

    Skye

    03/24/2023, 6:57 PM
    Oh wait, I misread, I can repro this
  • s

    Skye

    03/24/2023, 6:58 PM
    @Vero 🐙, might want to raise this? (tldr: adding env variables to a worker in the dash is erroring)
  • v

    Vero 🐙

    03/24/2023, 6:58 PM
    raising
  • c

    calebhailey

    03/24/2023, 6:59 PM
    thx!
  • w

    Walshy | Pages

    03/24/2023, 6:59 PM
    We just did a release of worker service earlier
  • c

    calebhailey

    03/24/2023, 7:00 PM
    ruh roh #hugops
  • b

    boywithkeyboard

    03/24/2023, 7:23 PM
    do cron-triggered workers also have a limit on subrequests?
  • e

    Erisa | Support Engineer

    03/24/2023, 7:24 PM
    This is now resolved: https://www.cloudflarestatus.com/incidents/k06xyl212xfk
  • e

    Erisa | Support Engineer

    03/24/2023, 7:24 PM
    Thank you for reporting!
  • b

    boywithkeyboard

    03/24/2023, 7:27 PM
    and, is there a way to use the unbound plan for cron triggered calls and the bundled plan for non-cron triggers?
  • h

    HardAtWork

    03/24/2023, 7:35 PM
    Yes, and no
  • h

    HardAtWork

    03/24/2023, 7:35 PM
    Yes on the subrequest limit, no on the split plan, at least at the moment
  • b

    boywithkeyboard

    03/24/2023, 7:36 PM
    ok, so i guess i just have to create separate workers then :)
  • b

    boywithkeyboard

    03/24/2023, 7:36 PM
    thanks tho
  • m

    micromashor

    03/24/2023, 8:06 PM
    can a single worker have both a
    fetch
    handler and an
    email
    handler?
  • w

    Walshy | Pages

    03/24/2023, 8:07 PM
    yep
  • d

    denchi

    03/24/2023, 8:09 PM
    Is this the right way to set up a "match all" rule for rate limiting all my workers on that domain?
1...235723582359...2509Latest