update modules and update package.json (#106)

* update modules and update package.json

* fix
This commit is contained in:
Vivek Singh
2024-05-06 13:24:01 +05:30
committed by GitHub
parent 33dd6e8c8b
commit e5c142c9b3

View File

@@ -1,22 +1,32 @@
# Node.js Compatibility with Bare # Node.js Compatibility with Bare
Bare offers seamless compatibility with Node.js counterparts. Bare offers great compatibility with Node.js counterparts.
Most of the modules and APIs used by developers are covered and supported. Most of the modules and APIs used by developers are covered and supported.
## Currently supported modules ## Currently supported modules
* `assert`: [`bare-assert`](https://github.com/holepunchto/bare-assert) (through `npm:bare-node-assert)`
* `buffer`: [`bare-buffer`](https://github.com/holepunchto/bare-buffer) (through `npm:bare-node-buffer)`
* `child_process`: [`bare-subprocess`](https://github.com/holepunchto/bare-subprocess) (through `npm:bare-node-child-process)` * `child_process`: [`bare-subprocess`](https://github.com/holepunchto/bare-subprocess) (through `npm:bare-node-child-process)`
* `console`: [`bare-console`](https://github.com/holepunchto/bare-console) (through `npm:bare-node-console)` * `console`: [`bare-console`](https://github.com/holepunchto/bare-console) (through `npm:bare-node-console)`
* `crypto`: [`bare-crypto`](https://github.com/holepunchto/bare-crypto) (through `npm:bare-node-crypto)`
* `events`: [`bare-events`](https://github.com/holepunchto/bare-events) (through `npm:bare-node-events)` * `events`: [`bare-events`](https://github.com/holepunchto/bare-events) (through `npm:bare-node-events)`
* `fs`: [`bare-fs`](https://github.com/holepunchto/bare-fs) (through `npm:bare-node-fs)` * `fs`: [`bare-fs`](https://github.com/holepunchto/bare-fs) (through `npm:bare-node-fs)`
* `http`: [`bare-http1`](https://github.com/holepunchto/bare-http1) (through `npm:bare-node-http)` * `http`: [`bare-http1`](https://github.com/holepunchto/bare-http1) (through `npm:bare-node-http)`
* `https`: [`bare-https`](https://github.com/holepunchto/bare-https) (through `npm:bare-node-https)`
* `inspector`: [`bare-inspector`](https://github.com/holepunchto/bare-inspector) (through `npm:bare-node-inspector)` * `inspector`: [`bare-inspector`](https://github.com/holepunchto/bare-inspector) (through `npm:bare-node-inspector)`
* `module`: [`bare-module`](https://github.com/holepunchto/bare-module) (through `npm:bare-node-module)`
* `os`: [`bare-os`](https://github.com/holepunchto/bare-os) (through `npm:bare-node-os)` * `os`: [`bare-os`](https://github.com/holepunchto/bare-os) (through `npm:bare-node-os)`
* `path`: [`bare-path`](https://github.com/holepunchto/bare-path) (through `npm:bare-node-path)` * `path`: [`bare-path`](https://github.com/holepunchto/bare-path) (through `npm:bare-node-path)`
* `process`: [`bare-process`](https://github.com/holepunchto/bare-process) (through `npm:bare-node-process)` * `process`: [`bare-process`](https://github.com/holepunchto/bare-process) (through `npm:bare-node-process)`
* `readline`: [`bare-readline`](https://github.com/holepunchto/bare-readline) (through `npm:bare-node-readline)` * `readline`: [`bare-readline`](https://github.com/holepunchto/bare-readline) (through `npm:bare-node-readline)`
* `repl`: [`bare-repl`](https://github.com/holepunchto/bare-repl) (through `npm:bare-node-repl)` * `repl`: [`bare-repl`](https://github.com/holepunchto/bare-repl) (through `npm:bare-node-repl)`
* `stream`: [`bare-stream`](https://github.com/holepunchto/bare-stream) (through `npm:bare-node-stream)`
* `timers`: [`bare-timers`](https://github.com/holepunchto/bare-timers) (through `npm:bare-node-timers)`
* `tls`: [`bare-tls`](https://github.com/holepunchto/bare-tls) (through `npm:bare-node-tls)`
* `tty`: [`bare-tty`](https://github.com/holepunchto/bare-tty) (through `npm:bare-node-tty)` * `tty`: [`bare-tty`](https://github.com/holepunchto/bare-tty) (through `npm:bare-node-tty)`
* `url`: [`bare-url`](https://github.com/holepunchto/bare-url) (through `npm:bare-node-url)` * `url`: [`bare-url`](https://github.com/holepunchto/bare-url) (through `npm:bare-node-url)`
* `util`: [`bare-utils`](https://github.com/holepunchto/bare-utils) (through `npm:bare-node-util)`
* `worker_threads`: [`bare-worker`](https://github.com/holepunchto/bare-worker) (through `npm:bare-node-worker-threads)`
* `zlib`: [`bare-zlib`](bhttps://github.com/holepunchto/bare-zlib) (through `npm:bare-node-zlib)`
## Config for the Node.js stdlib ## Config for the Node.js stdlib
@@ -25,18 +35,28 @@ To get the full Node.js compatible layer that Bare currently supports add the fo
```json ```json
{ {
"dependencies": { "dependencies": {
"bare-assert": "^1.0.1",
"assert": "npm:bare-node-assert",
"bare-buffer": "^2.3.0",
"buffer": "npm:bare-node-buffer",
"bare-subprocess": "^2.0.4", "bare-subprocess": "^2.0.4",
"child_process": "npm:bare-node-child-process", "child_process": "npm:bare-node-child-process",
"bare-console": "^4.1.0", "bare-console": "^4.1.0",
"console": "npm:bare-node-console", "console": "npm:bare-node-console",
"bare-crypto": "^1.0.0",
"crypto": "npm:bare-node-crypto",
"bare-events": "^2.2.0", "bare-events": "^2.2.0",
"events": "npm:bare-node-events", "events": "npm:bare-node-events",
"bare-fs": "^2.1.5", "bare-fs": "^2.1.5",
"fs": "npm:bare-node-fs", "fs": "npm:bare-node-fs",
"bare-http1": "^2.0.3", "bare-http1": "^2.0.3",
"http": "npm:bare-node-http", "http": "npm:bare-node-http",
"bare-https": "^1.0.0",
"https": "npm:bare-node-https",
"bare-inspector": "^1.1.2", "bare-inspector": "^1.1.2",
"inspector": "npm:bare-node-inspector", "inspector": "npm:bare-node-inspector",
"bare-module": "^1.2.5",
"module": "npm:bare-node-module",
"bare-os": "^2.2.0", "bare-os": "^2.2.0",
"os": "npm:bare-node-os", "os": "npm:bare-node-os",
"bare-path": "^2.1.0", "bare-path": "^2.1.0",
@@ -47,10 +67,22 @@ To get the full Node.js compatible layer that Bare currently supports add the fo
"readline": "npm:bare-node-readline", "readline": "npm:bare-node-readline",
"bare-repl": "^1.0.3", "bare-repl": "^1.0.3",
"repl": "npm:bare-node-repl", "repl": "npm:bare-node-repl",
"bare-stream": "^1.0.0",
"stream": "npm:bare-node-stream",
"bare-timers" : "^1.0.0",
"timers": "npm:bare-node-timers",
"bare-tls": "^1.0.0",
"tls": "npm:bare-node-tls",
"bare-tty": "^3.2.0", "bare-tty": "^3.2.0",
"tty": "npm:bare-node-tty", "tty": "npm:bare-node-tty",
"bare-url": "^1.0.7", "bare-url": "^1.0.7",
"url": "npm:bare-node-url" "url": "npm:bare-node-url",
"bare-utils": "^1.0.0",
"util": "npm:bare-node-util",
"bare-worker": "^1.0.0",
"worker_threads": "npm:bare-node-worker-threads",
"bare-zlib": "^1.0.0",
"zlib": "npm:bare-node-zlib"
} }
} }
``` ```