@reventlessdev/rescript-node 2.0.0-alpha.10 → 2.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/NodeChildProcess.res +2 -1
- package/src/NodeCrypto.res +0 -1
- package/src/NodeFs.res +3 -4
- package/src/NodeImportMeta.res +0 -1
- package/src/NodeModule.res +0 -1
- package/src/NodeNet.res +0 -1
- package/src/NodeOs.res +0 -1
- package/src/NodePath.res +0 -1
- package/src/NodeProcess.res +0 -1
- package/src/NodeUrl.res +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 2.0.0-alpha.11 (2026-09-09)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **spec:** let the formatter settle the lifecycle model's layout ([09e1742](https://github.com/ReventlessDev/reventless-core/commit/09e17429c24d3b84ee6d324b0641d62db4f0d9f9))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 2.0.0-alpha.10 (2026-09-08)
|
|
7
14
|
|
|
8
15
|
### Features
|
package/package.json
CHANGED
package/src/NodeChildProcess.res
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/** Bindings for
|
|
2
2
|
[`node:child_process`](https://nodejs.org/api/child_process.html). */
|
|
3
|
-
|
|
4
3
|
type execOptions = {
|
|
5
4
|
cwd?: string,
|
|
6
5
|
encoding?: string,
|
|
7
6
|
env?: dict<string>,
|
|
8
7
|
stdio?: array<string>,
|
|
9
8
|
maxBuffer?: int,
|
|
9
|
+
/** Written to the child's stdin, which is then closed. */
|
|
10
|
+
input?: string,
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
@module("node:child_process")
|
package/src/NodeCrypto.res
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** Bindings for [`node:crypto`](https://nodejs.org/api/crypto.html). */
|
|
2
|
-
|
|
3
2
|
/** A Node `Buffer`. Abstract rather than aliased to `Uint8Array.t`: a digest
|
|
4
3
|
buffer is only ever fed back into `createHmac` or stringified, and giving it
|
|
5
4
|
its own type keeps those two uses from being confused with file bytes. */
|
package/src/NodeFs.res
CHANGED
|
@@ -8,11 +8,10 @@
|
|
|
8
8
|
passed wrongly — the `(string, string)` form is the one that permits
|
|
9
9
|
`readFileSync(path, "utf-8")`, a different string, silently. Use
|
|
10
10
|
{!readFileSyncBuffer} when the bytes are wanted rather than text. */
|
|
11
|
-
|
|
12
|
-
// ── Existence and metadata ───────────────────────────────────────────────────
|
|
13
|
-
|
|
14
11
|
@module("node:fs")
|
|
15
|
-
external
|
|
12
|
+
external // ── Existence and metadata ───────────────────────────────────────────────────
|
|
13
|
+
|
|
14
|
+
existsSync: string => bool = "existsSync"
|
|
16
15
|
|
|
17
16
|
@module("node:fs")
|
|
18
17
|
external realpathSync: string => string = "realpathSync"
|
package/src/NodeImportMeta.res
CHANGED
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
`dirname` and `filename` are Node's own additions and are defined only for
|
|
10
10
|
`file:` URLs; a bundler that rewrites modules to CommonJS drops them. `url`
|
|
11
11
|
is the portable form and the one to reach for when either could apply. */
|
|
12
|
-
|
|
13
12
|
@val @scope(("import", "meta"))
|
|
14
13
|
external url: string = "url"
|
|
15
14
|
|
package/src/NodeModule.res
CHANGED
package/src/NodeNet.res
CHANGED
package/src/NodeOs.res
CHANGED
package/src/NodePath.res
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
two-argument `join` and a variadic one are not duplicates of each other —
|
|
6
6
|
they are different functions with the same name, and which one a call site
|
|
7
7
|
got used to depend on which inline binding block it happened to sit near. */
|
|
8
|
-
|
|
9
8
|
@module("node:path") @variadic
|
|
10
9
|
external join: array<string> => string = "join"
|
|
11
10
|
|
package/src/NodeProcess.res
CHANGED
package/src/NodeUrl.res
CHANGED