Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency is using deprecated regex #6

Open
tmountain opened this issue Mar 7, 2025 · 1 comment
Open

Dependency is using deprecated regex #6

tmountain opened this issue Mar 7, 2025 · 1 comment

Comments

@tmountain
Copy link

gleam run -m garnet_tool
  Compiling argv
  Compiling gleam_stdlib
  Compiling filepath
  Compiling simplifile
  Compiling esgleam
error: Unknown module
  ┌─ /private/tmp/foo/build/packages/esgleam/src/esgleam/internal.gleam:1:1
  │
1 │ import gleam/regex

It looks like this has moved to gleam_regexp.

Also, the -m flag seems to be missing as well.

gleam add -m garnet_tool
error: unexpected argument '-m' found
@tmountain
Copy link
Author

Updated deps... still don't know how to make this work though.

name = "garnet_tool"
version = "1.0.4"
target = "javascript"

description = "Compile gleam to single binary, via Deno and Bun. "
licences = ["MIT"]
[repository]
type = "github"
user = "Comamoca"
repo = "garnet"

[dependencies]
gleam_stdlib = ">= 0.55.0 and < 1.0.0"
shellout = ">= 1.6.0 and < 2.0.0"
esgleam = ">= 0.8.0 and < 1.0.0"
simplifile = ">= 2.2.0 and < 3.0.0"
spinner = ">= 1.3.1 and < 2.0.0"
gleam_community_ansi = ">= 1.4.2 and < 2.0.0"
gleam_javascript = ">= 1.0.0 and < 2.0.0"
gleam_fetch = ">= 1.1.1 and < 2.0.0"
gleam_http = ">= 4.0.0 and < 5.0.0"
gleam_json = ">= 2.3.0 and < 3.0.0"
argv = ">= 1.0.2 and < 2.0.0"
filepath = ">= 1.1.0 and < 2.0.0"

[dev-dependencies]
gleeunit = ">= 1.3.0 and < 2.0.0"
cleam = ">= 2.0.0 and < 3.0.0"

[[rad.tasks]]
path = ["run"]
run = ["gleam", "run"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant