1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests/registry/npm
Nathan Whitaker 13c53d9727
fix(installl): make bin entries executable even if not put in node_modules/.bin (#25873)
Fixes https://github.com/denoland/deno/issues/25862.

npm only makes bin entries executable if they get linked into `.bin`, as
we did before this PR. So this PR actually deviates from npm, because
it's the only reasonable way to fix this that I can think of.

---

The reason this was broken in moment is the following:

Moment has dependencies on two typescript versions: 1.8 and 3.1

If you have two packages with conflicting bin entries (i.e. two
typescript versions which both have a bin entry `tsc`), in npm it is
non-deterministic and undefined which one will end up in `.bin`.

npm, due to implementation differences, chooses to put typescript 1.8
into the `.bin` directory, and so `node_modules/typescript/bin/tsc` ends
up getting marked executable. We, however, choose typescript 3.2, and so
we end up making `node_modules/typescript3/bin/tsc` executable.

As part of its tests, moment executes `node_modules/typescript/bin/tsc`.
Because we didn't make it executable, this fails.

Since the conflict resolution is undefined in npm, instead of trying to
match it, I think it makes more sense to just make bin entries
executable even if they aren't chosen in the case of a conflict.
2024-09-26 09:36:25 -07:00
..
@babel/parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@denotest fix(installl): make bin entries executable even if not put in node_modules/.bin (#25873) 2024-09-26 09:36:25 -07: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: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +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 chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +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