Browser support

Offen
#16 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

  • #26 von @tomhoule — ohne Merge geschlossen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript, node.js
Bereich
frontend

Rechercherichtung

The issue says the package imports Node built-ins fs and util, which break browser bundles. Find those imports with a search for require('fs'), require('util') or the matching ES imports, and read linked pull request #26 (closed, not merged) to see what was tried. Done means the package builds for a browser target without Node-only imports and its existing tests still pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

This package currently does not work in the browser due to imports that require Node like fs and util.

It would be nice if this package were isomorphic. We would like to use it on the client side in Prisma Cloud to accept unstructured information from the user (a connection string) and turn that into structured before passing it off to the API.

Vorherrschende Sprache
Rust
Sterne
13
Forks
2
Ø Merge
3 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus prisma/connection-string

Alle Issues in prisma/connection-string

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.