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

Incorrectly upgrade the version number to "undefined" #103

Open
masx200 opened this issue Jan 10, 2023 · 4 comments
Open

Incorrectly upgrade the version number to "undefined" #103

masx200 opened this issue Jan 10, 2023 · 4 comments

Comments

@masx200
Copy link

masx200 commented Jan 10, 2023

udd 0.8.2

deno-version: v1.29.1

Incorrectly upgrade the version number to "undefined"

deps.ts

export type { ConnInfo };
export { STATUS_TEXT } from "https://deno.land/std@0.171.0/http/http_status.ts";
export { encode };
export { default as isPlainObject } from "https://cdn.skypack.dev/lodash@4.17.21/isPlainObject?dts";
export { default as isPlainObject } from "https://cdn.skypack.dev/lodash@undefined/isPlainObject?dts";

export { default as fresh } from "https://cdn.skypack.dev/fresh@0.5.2?dts";
export { serve };
export { assertFalse };
export { METHODS };
export { html, json, text } from "https://esm.sh/@hattip/response@0.0.24";
export { html, json, text } from "https://esm.sh/@hattip/response@undefined";
@masx200
Copy link
Author

masx200 commented Jan 10, 2023

https://github.com/masx200/deno-http-middleware/actions/runs/3886692985/jobs/6632089465

2023-01-10T19:42:31.8933534Z ##[group]Run deno run -A https://deno.land/x/udd/main.ts deps.ts *.ts
2023-01-10T19:42:31.8934079Z �[36;1mdeno run -A https://deno.land/x/udd/main.ts deps.ts *.ts�[0m
2023-01-10T19:42:31.8995601Z shell: /usr/bin/bash -e {0}
2023-01-10T19:42:31.8995896Z ##[endgroup]
2023-01-10T19:42:32.0504743Z �[0m�[32mDownload�[0m https://deno.land/x/udd/main.ts
2023-01-10T19:42:32.2421788Z �[0m�[33mWarning�[0m Implicitly using latest version (0.8.2) for https://deno.land/x/udd/main.ts
2023-01-10T19:42:32.2429887Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/main.ts
2023-01-10T19:42:32.2979821Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/deps.ts
2023-01-10T19:42:32.2989667Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/mod.ts
2023-01-10T19:42:32.2990909Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/registry.ts
2023-01-10T19:42:32.4025607Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/flags/mod.ts
2023-01-10T19:42:32.4026804Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fmt/colors.ts
2023-01-10T19:42:32.4034973Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/mod.ts
2023-01-10T19:42:32.4209330Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/progress.ts
2023-01-10T19:42:32.4210335Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/search.ts
2023-01-10T19:42:32.4211587Z �[0m�[32mDownload�[0m https://deno.land/x/udd@0.8.2/semver.ts
2023-01-10T19:42:32.4625039Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/copy.ts
2023-01-10T19:42:32.4625683Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/empty_dir.ts
2023-01-10T19:42:32.4626200Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/ensure_dir.ts
2023-01-10T19:42:32.4627187Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/ensure_file.ts
2023-01-10T19:42:32.4627744Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/ensure_link.ts
2023-01-10T19:42:32.4630912Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/ensure_symlink.ts
2023-01-10T19:42:32.4633647Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/eol.ts
2023-01-10T19:42:32.4636403Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/exists.ts
2023-01-10T19:42:32.4639121Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/expand_glob.ts
2023-01-10T19:42:32.4641709Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/move.ts
2023-01-10T19:42:32.4643474Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/walk.ts
2023-01-10T19:42:32.5134596Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/_util/asserts.ts
2023-01-10T19:42:32.5360197Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/mod.ts
2023-01-10T19:42:32.5361210Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/fs/_util.ts
2023-01-10T19:42:32.5935258Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/_util/os.ts
2023-01-10T19:42:32.7469423Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/_interface.ts
2023-01-10T19:42:32.7470810Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/common.ts
2023-01-10T19:42:32.7474419Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/glob.ts
2023-01-10T19:42:32.7475204Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/posix.ts
2023-01-10T19:42:32.7476442Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/separator.ts
2023-01-10T19:42:32.7477225Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/win32.ts
2023-01-10T19:42:32.8099274Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/_constants.ts
2023-01-10T19:42:32.8104215Z �[0m�[32mDownload�[0m https://deno.land/std@0.166.0/path/_util.ts
2023-01-10T19:42:32.8956853Z �[33m/home/runner/work/deno-http-middleware/deno-http-middleware/deps.ts�[39m
2023-01-10T19:42:41.9272055Z �[999D�[K[1/10] Looking for releases: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[1/10] Using latest: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[2/10] Looking for releases: https://deno.land/std@0.171.0/encoding/hex.ts�[999D�[K[2/10] Using latest: https://deno.land/std@0.171.0/encoding/hex.ts�[999D�[K[3/10] Looking for releases: https://deno.land/std@0.171.0/node/http.ts�[999D�[K[3/10] Using latest: https://deno.land/std@0.171.0/node/http.ts�[999D�[K[4/10] Looking for releases: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[4/10] Using latest: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[5/10] Looking for releases: https://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[999D�[K[5/10] Using latest: https://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[999D�[K[6/10] Looking for releases: https://deno.land/std@0.171.0/http/http_status.ts�[999D�[K[6/10] Using latest: https://deno.land/std@0.171.0/http/http_status.ts�[999D�[K[7/10] Looking for releases: https://cdn.skypack.dev/lodash@4.17.21/isPlainObject?dts�[999D�[K[7/10] Attempting update: https://cdn.skypack.dev/lodash@4.17.21/isPlainObject?dts -> undefined�[999D�[K[7/10] Update successful: https://cdn.skypack.dev/lodash@4.17.21/isPlainObject?dts -> undefined�[999D�[K[8/10] Looking for releases: https://cdn.skypack.dev/fresh@0.5.2?dts�[999D�[K[8/10] Skip updating: https://cdn.skypack.dev/fresh@0.5.2?dts�[999D�[K[9/10] Looking for releases: https://esm.sh/@hattip/response@0.0.24�[999D�[K[9/10] Attempting update: https://esm.sh/@hattip/response@0.0.24 -> undefined�[999D�[K[9/10] Update successful: https://esm.sh/@hattip/response@0.0.24 -> undefined�[999D�[K[10/10] Looking for releases: https://esm.sh/@hattip/response@0.0.24�[999D�[K[10/10] Using latest: https://esm.sh/@hattip/response@0.0.24
2023-01-10T19:42:41.9276867Z �[33m/home/runner/work/deno-http-middleware/deno-http-middleware/deps.ts�[39m
2023-01-10T19:42:43.2191956Z �[999D�[K[1/10] Looking for releases: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[1/10] Using latest: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[2/10] Looking for releases: https://deno.land/std@0.171.0/encoding/hex.ts�[999D�[K[2/10] Using latest: https://deno.land/std@0.171.0/encoding/hex.ts�[999D�[K[3/10] Looking for releases: https://deno.land/std@0.171.0/node/http.ts�[999D�[K[3/10] Using latest: https://deno.land/std@0.171.0/node/http.ts�[999D�[K[4/10] Looking for releases: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[4/10] Using latest: https://deno.land/std@0.171.0/testing/asserts.ts�[999D�[K[5/10] Looking for releases: https://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[999D�[K[5/10] Using latest: https://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[999D�[K[6/10] Looking for releases: https://deno.land/std@0.171.0/http/http_status.ts�[999D�[K[6/10] Using latest: https://deno.land/std@0.171.0/http/http_status.ts�[999D�[K[7/10] Looking for releases: https://cdn.skypack.dev/lodash@undefined/isPlainObject?dts�[999D�[K[7/10] Skip updating: https://cdn.skypack.dev/lodash@undefined/isPlainObject?dts�[999D�[K[8/10] Looking for releases: https://cdn.skypack.dev/fresh@0.5.2?dts�[999D�[K[8/10] Skip updating: https://cdn.skypack.dev/fresh@0.5.2?dts�[999D�[K[9/10] Looking for releases: https://esm.sh/@hattip/response@undefined�[999D�[K[9/10] Skip updating: https://esm.sh/@hattip/response@undefined�[999D�[K[10/10] Looking for releases: https://esm.sh/@hattip/response@undefined�[999D�[K[10/10] Skip updating: https://esm.sh/@hattip/response@undefined
2023-01-10T19:42:43.2195335Z �[33m/home/runner/work/deno-http-middleware/deno-http-middleware/middleware.ts�[39m
2023-01-10T19:42:43.2202280Z 
2023-01-10T19:42:43.2203405Z �[33m/home/runner/work/deno-http-middleware/deno-http-middleware/mod.ts�[39m
2023-01-10T19:42:43.2206847Z �[1m
2023-01-10T19:42:43.2207530Z Already latest version:�[22m
2023-01-10T19:42:43.2208698Z �[2mhttps://deno.land/std@0.171.0/testing/asserts.ts�[22m == 0.171.0
2023-01-10T19:42:43.2216265Z �[2mhttps://deno.land/std@0.171.0/encoding/hex.ts�[22m == 0.171.0
2023-01-10T19:42:43.2363458Z �[2mhttps://deno.land/std@0.171.0/node/http.ts�[22m == 0.171.0
2023-01-10T19:42:43.2363906Z �[2mhttps://deno.land/std@0.171.0/testing/asserts.ts�[22m == 0.171.0
2023-01-10T19:42:43.2364341Z �[2mhttps://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[22m == 1.0.5
2023-01-10T19:42:43.2364768Z �[2mhttps://deno.land/std@0.171.0/http/http_status.ts�[22m == 0.171.0
2023-01-10T19:42:43.2365369Z �[2mhttps://cdn.skypack.dev/fresh@0.5.2?dts�[22m == 0.5.2?dts
2023-01-10T19:42:43.2365753Z �[2mhttps://esm.sh/@hattip/response@0.0.24�[22m == 0.0.24
2023-01-10T19:42:43.2366150Z �[2mhttps://deno.land/std@0.171.0/testing/asserts.ts�[22m == 0.171.0
2023-01-10T19:42:43.2366556Z �[2mhttps://deno.land/std@0.171.0/encoding/hex.ts�[22m == 0.171.0
2023-01-10T19:42:43.2366931Z �[2mhttps://deno.land/std@0.171.0/node/http.ts�[22m == 0.171.0
2023-01-10T19:42:43.2367340Z �[2mhttps://deno.land/std@0.171.0/testing/asserts.ts�[22m == 0.171.0
2023-01-10T19:42:43.2367765Z �[2mhttps://deno.land/x/masx200_deno_serve_https@1.0.5/mod.ts�[22m == 1.0.5
2023-01-10T19:42:43.2368175Z �[2mhttps://deno.land/std@0.171.0/http/http_status.ts�[22m == 0.171.0
2023-01-10T19:42:43.2368631Z �[2mhttps://cdn.skypack.dev/lodash@undefined/isPlainObject?dts�[22m == undefined
2023-01-10T19:42:43.2369060Z �[2mhttps://cdn.skypack.dev/fresh@0.5.2?dts�[22m == 0.5.2?dts
2023-01-10T19:42:43.2369476Z �[2mhttps://esm.sh/@hattip/response@undefined�[22m == undefined
2023-01-10T19:42:43.2369860Z �[2mhttps://esm.sh/@hattip/response@undefined�[22m == undefined
2023-01-10T19:42:43.2370125Z �[1m
2023-01-10T19:42:43.2370364Z Successfully updated:�[22m
2023-01-10T19:42:43.2370786Z �[32mhttps://cdn.skypack.dev/lodash@4.17.21/isPlainObject?dts�[39m 4.17.21 -> undefined�[33m�[39m
2023-01-10T19:42:43.2371252Z �[32mhttps://esm.sh/@hattip/response@0.0.24�[39m 0.0.24 -> undefined�[33m�[39m

@masx200
Copy link
Author

masx200 commented May 28, 2023

Can I use semver to solve this problem?

@J053Fabi0
Copy link

I fixed it by setting a semantic versioning rule that states only versions lower than a ridiculously high version:

{
  "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3#<99.0.0"
}

@nakasyou
Copy link

nakasyou commented Jul 4, 2023

I fixed it by setting a semantic versioning rule that states only versions lower than a ridiculously high version:

{
  "preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.0.3#<99.0.0"
}

I had a similar bug with preact-render-to-string.

This solved it. Thanks!

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

3 participants