baldur,
@baldur@toot.cafe avatar

I can’t find any mention in the JSR docs on using packages from the registry in the browser using “http” imports.

https://jsr.io/docs/using-packages

Kinda getting the feeling that with JSR Deno is both heading into the swamp that is the package repository sector and is waving goodbye at browser compatibility and putting Node compatibility first. Even as Node is putting more work into browser compatibility themselves.

baldur,
@baldur@toot.cafe avatar

> However, Deno code on JSR will NOT be permitted to use HTTPS imports. JSR performs deduplication of dependencies based on semantic versions, which is not possible with HTTPS-imported dependencies. If you attempt to publish code that contains HTTPS imports to JSR, you will receive an error.

https://jsr.io/docs/migrate-x-to-jsr

😕

Like I’ve said before, there is absolutely no point in Deno if it’s just Node implemented in Rust with some rough edges smoothed over.

zack,
@zack@toot.cafe avatar

@baldur With browsers, we prefer multiple implementations to keep the standards open. Isn't the same true for server runtimes?

Deno was one of the main drivers behind a new working group to update existing web specs to better support server runtimes.

I agree about JSR being weird and seeming unnecessary, though.

baldur,
@baldur@toot.cafe avatar

@zack The problem I have is the only open standards in Node are the APIs that come from the web world and, hopefully, package.json now that OpenJS is trying to standardise that. The node standard library isn’t an open standard but managed as a software project. It’s unique to node and still changing

From my perspective, Deno’s node compat isn’t a new implementation of an existing standard but a VC-funded organisation trying to clone the evolving APIs of another OSS platform

baldur,
@baldur@toot.cafe avatar

@zack Which they’re allowed to do. Forks and cloning APIs are a longstanding tradition in free/open source software. Often they fail. Occasionally they turn out to be substantial improvements. In this case, Deno seems to be moving away from everything that made it unique, though. So there’s a good chance that my negativity is just my personal disappointment that a more web-oriented JS runtime didn’t seem to successfully compete with node.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • rosin
  • Durango
  • JUstTest
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines