Comments (2)
According to the node and deno docs I would say the negation here is wrong:
https://github.com/denoland/node_deno_shims/blob/430ad2bfade33c532a9a078fc4e79a48831ce5fe/packages/shim-deno/src/deno/internal/fs_flags.ts#L67
Constant | Description |
---|---|
O_EXCL | Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. |
O_NOCTTY | Flag indicating that if path identifies a terminal device, opening the path shall not cause that terminal to become the controlling terminal for the process (if the process does not already have one). |
Deno docs:
/** Defaults to `false`. If set to `true`, no file, directory, or symlink is
* allowed to exist at the target location. Requires write or append
* access to be used. When createNew is set to `true`, create and truncate
* are ignored. */
createNew?: boolean;
from node_deno_shims.
Created PR #72 to address this issue.
from node_deno_shims.
Related Issues (20)
- Automatically publish packages on CI on merge to main HOT 1
- Deno.remove throws ERR_FS_EISDIR when passed a directory
- crypto shim missing `randomUUID`
- Shim Deno.Command HOT 4
- Missing resolveDns HOT 4
- URLPattern shim HOT 2
- Contributing instructions should mention you need to git clone with submodules HOT 1
- Shim Deno.[add/remove]SignalListener HOT 2
- Deno color logging support in nodejs
- Add Deno.systemMemoryInfo
- Add Deno.uid and Deno.gid
- `Deno.listen` shim: `server._handle` is null HOT 1
- TypeError: dntShim.Deno.seekSync is not a function HOT 1
- [help] node.js doesn't support writeSync HOT 3
- Only supports intel? HOT 2
- Cannot add more properties to @deno/shim-deno HOT 1
- execPath still requires the use of deno HOT 13
- `ensureDir` cannot catch `NotFound` error from `dntShim.lstat` HOT 1
- read from stdin throws `EAGAIN: resource temporarily unavailable`
- stdin read seems racy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node_deno_shims.