1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix: update deno_npm (#24065)

This commit is contained in:
Bartek Iwańczuk 2024-06-05 20:22:40 +01:00 committed by GitHub
parent a013b9113d
commit 0db73f6333
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 42 additions and 12 deletions

4
Cargo.lock generated
View file

@ -1734,9 +1734,9 @@ dependencies = [
[[package]]
name = "deno_npm"
version = "0.21.0"
version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b99fac4a31098e2466f97576b53a9860d8e7ad1df2792a22d5b3209ca3bd2924"
checksum = "0971210ea837a8153c2e1bec7d65aabf372f436845e576db95c596c0f4b1209d"
dependencies = [
"anyhow",
"async-trait",

View file

@ -72,7 +72,7 @@ deno_emit = "=0.42.0"
deno_graph = { version = "=0.78.0", features = ["tokio_executor"] }
deno_lint = { version = "=0.60.0", features = ["docs"] }
deno_lockfile.workspace = true
deno_npm = "=0.21.0"
deno_npm = "=0.21.1"
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_semver = "=0.5.4"
deno_task_shell = "=0.16.1"

View file

@ -1,4 +1,4 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_authToken=private-reg-token
//127.0.0.1:4261/:_authToken=private-reg-token
@denotest2:registry=http://127.0.0.1:4262/
//127.0.0.1:4262/denotest2/:_authToken=private-reg-token2
//127.0.0.1:4262/:_authToken=private-reg-token2

View file

@ -1,4 +1,4 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_auth=ZGVubzpsYW5k
//127.0.0.1:4261/:_authToken=private-reg-token
@denotest2:registry=http://127.0.0.1:4262/
//127.0.0.1:4262/denotest2/:_auth=ZGVubzpsYW5kMg==
//127.0.0.1:4262/:_authToken=private-reg-token2

View file

@ -0,0 +1,5 @@
@denotest:registry=http://127.0.0.1:4261/
; This configuration is wrong - the registry URL must
; be exactly the same as registry configured for the scope,
; not root url + scope name.
//127.0.0.1:4261/denotest/:_authToken=invalid-token

View file

@ -0,0 +1,9 @@
{
"envs": {
"DENO_FUTURE": "1"
},
"tempDir": true,
"args": "install",
"output": "main.out",
"exitCode": 1
}

View file

@ -0,0 +1,5 @@
import { getValue, setValue } from "@denotest/basic";
console.log(getValue());
setValue(42);
console.log(getValue());

View file

@ -0,0 +1,4 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
Download http://127.0.0.1:4261/@denotest/basic
error: Error getting response at http://127.0.0.1:4261/@denotest/basic for package "@denotest/basic": Bad response: 401
[WILDCARD]

View file

@ -0,0 +1,7 @@
{
"name": "npmrc_test",
"version": "0.0.1",
"dependencies": {
"@denotest/basic": "1.0.0"
}
}

View file

@ -1,2 +1,2 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_authToken=invalid-token
//127.0.0.1:4261/:_authToken=invalid-token

View file

@ -1,4 +1,4 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_authToken=private-reg-token
//127.0.0.1:4261/:_auth=ZGVubzpsYW5k
@denotest2:registry=http://127.0.0.1:4262/
//127.0.0.1:4262/denotest2/:_authToken=private-reg-token2
//127.0.0.1:4262/:_auth=ZGVubzpsYW5kMg==

View file

@ -1,2 +1,2 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_authToken=private-reg-token
//127.0.0.1:4261/:_authToken=private-reg-token

View file

@ -1,2 +1,2 @@
@denotest:registry=http://127.0.0.1:4261/
//127.0.0.1:4261/denotest/:_authToken=private-reg-token
//127.0.0.1:4261/:_authToken=private-reg-token