1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Marvin Hagemeister 692738232b
fix(node/fs): promises not exporting fs constants (#21997)
<!--
Before submitting a PR, please read https://deno.com/manual/contributing

1. Give the PR a descriptive title.

  Examples of good title:
    - fix(std/http): Fix race condition in server
    - docs(console): Update docstrings
    - feat(doc): Handle nested reexports

  Examples of bad title:
    - fix #7123
    - update docs
    - fix bugs

2. Ensure there is a related issue and it is referenced in the PR text.
3. Ensure there are tests that cover the changes.
4. Ensure `cargo test` passes.
5. Ensure `./tools/format.js` passes without changing files.
6. Ensure `./tools/lint.js` passes.
7. Open as a draft PR if your work is still in progress. The CI won't
run
   all steps, but you can add '[ci]' to a commit message to force it to.
8. If you would like to run the benchmarks on the CI, add the 'ci-bench'
label.
-->

We were missing the `constants` export in the promise `fs` API which is
available in node.

```ts
import { constants, promises } from "node:fs";
import { constants as fsPromiseConstants } from "node:fs/promises";
console.log(constants === promises.constants); // logs: true
console.log(constants === fsPromiseConstants); // logs: true
```

Fixes https://github.com/denoland/deno/issues/21994
2024-01-21 21:48:48 +01:00
..
broadcast_channel chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
cache chore(ext/cache): remove CachePutResource in preparation for resource rewrite (#21949) 2024-01-15 13:14:54 -07:00
console feat(unstable): add Temporal API support (#21738) 2024-01-15 01:26:57 +01:00
cron chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
crypto chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
fetch chore: upgrade deno_core to 0.247.0 (#21974) 2024-01-18 17:57:22 +01:00
ffi chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
fs chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
http chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
io chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
kv chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
napi chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
net chore: bump rustls-tokio-stream and rustls (#21955) 2024-01-16 21:51:54 +01:00
node fix(node/fs): promises not exporting fs constants (#21997) 2024-01-21 21:48:48 +01:00
tls chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
url chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
web chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
webgpu feat:: External webgpu surfaces / BYOW (#21835) 2024-01-19 22:49:14 +05:30
webidl chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
websocket chore: bump rustls-tokio-stream and rustls (#21955) 2024-01-16 21:51:54 +01:00
webstorage chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00