1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tests/registry/npm
Nathan Whitaker 68cee70838
fix(ext/node): resolve exports even if parent module filename isn't present (#26553)
Fixes https://github.com/denoland/deno/issues/26505

I'm not exactly sure how this case comes about (I tried to write tests
for it but couldn't manage to reproduce it), but what happens is the
parent filename ends up null, and we bail out of resolving the specifier
in package exports.

I've checked, and in node the parent filename is also null (so that's
not a bug on our part), but node continues to resolve even in that case.
So this PR should match node's behavior more closely than we currently
do.
2024-11-06 00:36:23 +01:00
..
@babel/parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@denotest fix(ext/node): resolve exports even if parent module filename isn't present (#26553) 2024-11-06 00:36:23 +01:00
@isaacs/cliui chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@ljharb/has-package-exports-patterns chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@npmcli chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@pkgjs/parseargs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@types feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954) 2024-10-01 22:55:02 +01:00
@vue chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
abbrev chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
agent-base chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
aggregate-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ajv chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ajv-formats chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ansi-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ansi-styles chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
asn1 chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
assertion-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
autoprefixer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
balanced-match chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
bcrypt-pbkdf chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
brace-expansion chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
browserslist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
buildcheck chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cacache chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
camelcase chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
caniuse-lite chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chai chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chalk chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
check-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chownr chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
clean-stack chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cliui chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
color-convert chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
color-name chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cowsay chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cpu-features chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cross-spawn chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
crypto-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
csstype feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954) 2024-10-01 22:55:02 +01:00
debug chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
decamelize chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
deep-eql chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
define-properties chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
eastasianwidth chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
electron-to-chromium chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
emoji-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
encoding chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
env-paths chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
err-code chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
escalade chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
estree-walker chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
exponential-backoff chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fast-deep-equal chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
find-up chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
foreground-child chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fraction.js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fs-extra chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fs-minipass chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fsevents chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
function-bind chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-caller-file chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-func-name chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-intrinsic chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-stdin chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
glob chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
globals chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
graceful-fs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-flag chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-package-exports chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-property-descriptors chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-symbols chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
http-cache-semantics chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
http-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
https-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
iconv-lite chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
imurmurhash chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
indent-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ip-address chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
is-fullwidth-code-point chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
is-lambda chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
isexe chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jackspeak chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
js-tokens chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jsbn chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
json-schema-traverse chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jsonfile chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
locate-path chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
loose-envify chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
loupe chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
lru-cache chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
lz-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
magic-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
make-fetch-happen chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minimatch chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-collect chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-fetch chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-flush chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-pipeline chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-sized chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minizlib chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
mkdirp chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ms chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nan chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nanoid chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
negotiator chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
node-gyp chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
node-releases chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nopt chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
normalize-range chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
object-keys chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-limit chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-locate chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-map chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-try chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
package-json-from-dist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-exists chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-key chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-scurry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
pathval chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
picocolors chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
postcss chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
postcss-value-parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
preact chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
preact-render-to-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
pretty-format chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
proc-log chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
promise-retry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
punycode chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
react chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
react-dom chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-directory chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-from-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-main-filename chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
retry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
safer-buffer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
scheduler chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
semver chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
set-blocking chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
shebang-command chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
shebang-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
signal-exit chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
smart-buffer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
socks chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
socks-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
source-map chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
source-map-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
sourcemap-codec chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
sprintf-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ssh2 chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ssri chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
string-width chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
strip-ansi chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
strip-final-newline chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
supports-color chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
supports-esm chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
tar chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
tweetnacl chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
type-detect chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
type-fest chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
undici-types feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
unique-filename chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
unique-slug chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
universalify chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
update-browserslist-db chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
uri-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
v8flags chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
vue chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
which chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
which-module chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
wrap-ansi chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
y18n chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yallist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yargs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yargs-parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
trim_registry_files.js feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00