1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/cli/tests/testdata
David Sherret 40a72f3555
fix(npm): support non-all lowercase package names (#16669)
Supports package names that aren't all lowercase.

This stores the package with a leading underscore (since that's not
allowed in npm's registry and no package exists with a leading
underscore) then base32 encoded (A-Z0-9) so it can be lowercased and
avoid collisions.

Global cache dir:

```
$DENO_DIR/npm/registry.npmjs.org/_{base32_encode(package_name).to_lowercase()}/{version}
```

node_modules dir `.deno` folder:

```
node_modules/.deno/_{base32_encode(package_name).to_lowercase()}@{version}/node_modules/<package-name>
```

Within node_modules folder:

```
node_modules/<package-name>
```

So, direct childs of the node_modules folder can have collisions between
packages like `JSON` vs `json`, but this is already something npm itself
doesn't handle well. Plus, Deno doesn't actually ever resolve to the
`node_modules/<package-name>` folder, but just has that for
compatibility. Additionally, packages in the `.deno` dir could have
collissions if they have multiple dependencies that only differ in
casing or a dependency that has different casing, but if someone is
doing that then they're already going to have trouble with npm and they
are asking for trouble in general.
2022-11-16 18:44:31 +00:00
..
assets refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bench feat: Stabilize Deno.bench() and 'deno bench' subcommand (#16485) 2022-11-11 00:22:14 +01:00
benches refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bundle refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
cache perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
cert feat: support npm specifiers in deno info for display text output only (#16470) 2022-10-28 16:19:55 -04:00
check fix(typescript): allow synthetic default imports when using ModuleKind.ESNext (#16438) 2022-10-27 08:12:40 -04:00
commonjs feat(unstable): initial support for npm specifiers (#15484) 2022-08-20 11:31:33 -04:00
compile refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
coverage test: don't use remote std for tests (#16631) 2022-11-15 17:21:25 +01:00
doc chore: update deno_doc (#16515) 2022-11-02 18:51:37 +01:00
dynamic_import refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
encoding
eval refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
fmt refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
import_assertions upgrade: v8 10.4.132.5 (#14874) 2022-06-15 12:30:19 -04:00
import_maps
info feat(unstable/npm): deno info --json support for npm specifiers (#16472) 2022-10-31 10:25:46 -04:00
inspector tests: Add inspector tests for "Memory" and "Profile" tabs (#13476) 2022-01-24 16:07:08 +01:00
install feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
jsx test: don't use lock file in JSX tests (#16639) 2022-11-15 17:20:40 +01:00
lint feat(lint): add a report lint config setting (#16045) 2022-10-25 14:21:20 +02:00
lsp chore: improve built-in API documentation (#16158) 2022-10-26 15:53:48 +02:00
malformed_config feat: auto-discover config file (#13313) 2022-01-17 20:10:17 -05:00
module_graph
npm fix(npm): support non-all lowercase package names (#16669) 2022-11-16 18:44:31 +00:00
repl refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
run fix(ext/flash): revert #16383 (graceful server startup/shutdown) (#16610) 2022-11-13 17:35:28 +09:00
runtime refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
subdir refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
task feat(task): remove warning about being unstable (#16281) 2022-10-18 14:39:04 +02:00
test refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
tls
tsc
tsc2
type_definitions
types refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
vendor feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
webcrypto fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) 2021-10-01 11:14:16 +02:00
webgpu refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
workers feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) 2022-09-28 15:03:56 +02:00
cat.ts
echo.ts
echo_server.ts
error_cause_recursive_aggregate.ts feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_aggregate.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_tail.ts fix: add error cause in recursive cause tail (#16306) 2022-10-16 21:16:46 +02:00
error_cause_recursive_tail.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
navigator_language.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
navigator_languages.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
symlink_to_subdir