0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 07:16:56 -05:00
denoland-deno/tests/unit_node
Divy Srivastava 08cc22105f
fix(ext/node): set process.env as own property (#27891)
Fixes `gcp-metadata@6.1.1`

```
% deno eval "import 'npm:gcp-metadata@6.1.1'" # main
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'GOOGLE_SDK_NODE_LOGGING')
    at Object.log (file:///Users/divy/Library/Caches/deno/npm/registry.npmjs.org/google-logging-utils/0.0.2/build/src/logging-utils.js:356:36)
    at Object.<anonymous> (file:///Users/divy/Library/Caches/deno/npm/registry.npmjs.org/gcp-metadata/6.1.1/build/src/index.js:52:20)
    at Object.<anonymous> (file:///Users/divy/Library/Caches/deno/npm/registry.npmjs.org/gcp-metadata/6.1.1/build/src/index.js:409:4)
    at Module._compile (node:module:745:34)
    at loadMaybeCjs (node:module:770:10)
    at Object.Module._extensions..js (node:module:755:12)
    at Module.load (node:module:662:32)
    at Function.Module._load (node:module:534:12)
    at Module.require (node:module:681:19)
    at require (node:module:812:16)

% target/debug/deno eval "import 'npm:gcp-metadata@6.1.1'" # this PR
```

---------

Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2025-01-31 11:38:26 +05:30
..
_fs fix(ext/node): add FileHandle#sync (#27677) 2025-01-21 14:52:40 +09:00
crypto fix(ext/node): implement crypto.hash (#27858) 2025-01-29 20:49:43 +05:30
internal chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
testdata fix(ext/crypto): support md4 digest algorithm (#25656) 2024-09-16 11:04:40 +00:00
_test_utils.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
assert_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
assertion_error_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
async_hooks_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
buffer_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
child_process_test.ts fix(node): Prevent node:child_process from always inheriting the parent environment (#27343) (#27340) 2025-01-13 13:46:56 -08:00
cluster_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
console_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
dgram_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
domain_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
events_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
fetch_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
fs_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
http2_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
http_test.ts fix(ext/node): propagate socket error to client request object (#27678) 2025-01-17 12:30:00 +09:00
inspector_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
module_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
net_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
os_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
path_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
perf_hooks_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
process_test.ts fix(ext/node): set process.env as own property (#27891) 2025-01-31 11:38:26 +05:30
punycode_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
querystring_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
readline_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
repl_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
sqlite_test.ts feat(ext/node): implement node:sqlite (#27308) 2025-01-28 19:30:03 +05:30
stream_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
string_decoder_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
timers_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
tls_test.ts fix(ext/node): tls.connect regression (#27707) 2025-01-18 00:10:26 +09:00
tty_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
util_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
v8_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
vm_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
wasi_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
worker_threads_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
zlib_test.ts fix(ext/node): fix async variant of brotliDecompress (#27815) 2025-01-27 09:13:47 +05:30