1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests
Bartek Iwańczuk acd01eb2b4
feat: Add a hint on error about 'Relative import path ... not prefixed with ...' (#25430)
Running a file like:
```
import "@std/dotenv/load";
```
Without a mapping in `imports` field of `deno.json` or `dependencies` of
`package.json`
will now error out with a hint:
```
error: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../
  hint: Try running `deno add @std/dotenv/load`
    at [WILDCARD]bare_specifier_without_import/main.ts:1:8

```

Closes https://github.com/denoland/deno/issues/24699

---------

Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-09-05 08:25:56 +02:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi refactor(ext): align error messages (#25310) 2024-09-04 09:23:19 +02:00
integration feat: Add a hint on error about 'Relative import path ... not prefixed with ...' (#25430) 2024-09-05 08:25:56 +02:00
napi fix(napi): Fix worker threads importing already-loaded NAPI addon (#25245) 2024-08-28 10:33:47 -07:00
node_compat feat(cli): give access to process global everywhere (#25291) 2024-09-04 11:04:06 +02:00
registry fix(byonm): resolve npm deps of jsr deps (#25399) 2024-09-04 14:00:44 +00:00
specs feat: Add a hint on error about 'Relative import path ... not prefixed with ...' (#25430) 2024-09-05 08:25:56 +02:00
testdata feat: Add a hint on error about 'Relative import path ... not prefixed with ...' (#25430) 2024-09-05 08:25:56 +02:00
unit BREAKING(fs): remove Deno.File (#25447) 2024-09-05 16:22:47 +10:00
unit_node fix(ext/http): do not set localhost to hostname unnecessarily (#24777) 2024-09-05 14:13:06 +09:00
util feat(lsp): html/css/yaml file formatting (#25353) 2024-09-02 18:27:25 +01:00
wpt chore: update WPT (#25250) 2024-09-03 23:15:34 -07:00
Cargo.toml feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -04:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests