1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/ext/node
Divy Srivastava f62e22a699
fix(ext/node): tty streams extends net socket (#21026)
Workaround the circular references issue by using a initializer function
to give tty stream class to `initStdin`.

Fixes https://github.com/denoland/deno/issues/21024
Fixes https://github.com/denoland/deno/issues/20611
Fixes https://github.com/denoland/deno/issues/20890
Fixes https://github.com/denoland/deno/issues/20336

`create-svelte` works now:
```
divy@mini /t/a> ~/gh/deno/target/debug/deno run -A --unstable --reload npm:create-svelte@latest sveltekit-deno

create-svelte version 5.1.1

┌  Welcome to SvelteKit!
│
◇  Which Svelte app template?
│  Skeleton project
│
◇  Add type checking with TypeScript?
│  Yes, using JavaScript with JSDoc comments
│
◇  Select additional options (use arrow keys/space bar)
│  none
│
└  Your project is ready!

✔ Type-checked JavaScript
  https://www.typescriptlang.org/tsconfig#checkJs

Install community-maintained integrations:
  https://github.com/svelte-add/svelte-add

Next steps:
  1: cd sveltekit-deno
  2: npm install
  3: git init && git add -A && git commit -m "Initial commit" (optional)
  4: npm run dev -- --open

To close the dev server, hit Ctrl-C

Stuck? Visit us at https://svelte.dev/chat
```

---------

Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
2023-10-31 17:24:43 +05:30
..
ops fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
polyfills fix(ext/node): tty streams extends net socket (#21026) 2023-10-31 17:24:43 +05:30
analyze.rs refactor(node): combine node resolution code for resolving a package subpath from external code (#20791) 2023-10-04 23:05:12 -04:00
build.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
Cargo.toml chore: forward v1.37.2 release commit to main (#20897) 2023-10-13 03:12:06 +00:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs refactor(node): combine node resolution code for resolving a package subpath from external code (#20791) 2023-10-04 23:05:12 -04:00
global.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
lib.rs fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
package_json.rs refactor(node): combine node resolution code for resolving a package subpath from external code (#20791) 2023-10-04 23:05:12 -04:00
path.rs chore(ext/node): fix variable name (#17948) 2023-02-27 21:26:02 +01:00
polyfill.rs fix(node): repl._builtinLibs (#20046) 2023-08-04 14:30:48 +02:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs fix(unstable/byonm): improve error messages (#20987) 2023-10-26 21:22:15 -04:00

deno_node

require and other node related functionality for Deno.