@turing-machine-js/library-binary-numbers-bare 3.0.2 → 5.0.0
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 +16 -0
- package/README.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [5.0.0] - 2026-05-09
|
|
8
|
+
|
|
9
|
+
### Changed (BREAKING)
|
|
10
|
+
|
|
11
|
+
- **`peerDependencies."@turing-machine-js/machine"` widened from `^4.0.0` to `^5.0.0`** to match the v5 lockstep. Consumers pinned to `@turing-machine-js/machine@4` will see an unmet-peer warning when installing this version.
|
|
12
|
+
|
|
13
|
+
Released in lockstep with `@turing-machine-js/machine` 5.0.0. No source or behavior changes in this package beyond the peer-dep widening.
|
|
14
|
+
|
|
15
|
+
## [4.0.0] - 2026-05-07
|
|
16
|
+
|
|
17
|
+
### Changed (BREAKING)
|
|
18
|
+
|
|
19
|
+
- **`peerDependencies."@turing-machine-js/machine"` widened from `^3.0.0` to `^4.0.0`** to match the v4 lockstep. Consumers pinned to `@turing-machine-js/machine@3` will see an unmet-peer warning when installing this version.
|
|
20
|
+
|
|
21
|
+
Released in lockstep with `@turing-machine-js/machine` 4.0.0. No source or behavior changes in this package beyond the peer-dep widening.
|
|
22
|
+
|
|
7
23
|
## [3.0.2] - 2026-05-04
|
|
8
24
|
|
|
9
25
|
Released in lockstep with `@turing-machine-js/machine` 3.0.2. No source or behavior changes in this package.
|
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ tapeBlock.replaceTape(tape);
|
|
|
49
49
|
|
|
50
50
|
const machine = new TuringMachine({ tapeBlock });
|
|
51
51
|
|
|
52
|
-
machine.run({ initialState: binaryNumbersBare.states.plusOne });
|
|
52
|
+
await machine.run({ initialState: binaryNumbersBare.states.plusOne });
|
|
53
53
|
|
|
54
54
|
console.log(tape.symbols.join('').trim()); // "110" (binary 6)
|
|
55
55
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turing-machine-js/library-binary-numbers-bare",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Single-number binary arithmetic on a 3-symbol alphabet (blank, 0, 1) — same operations as @turing-machine-js/library-binary-numbers but without ^/$ markers. Side-by-side with the marker-based library for learning the trade-off.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"npm": ">=7.0.0"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"teaching"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@turing-machine-js/machine": "^
|
|
31
|
+
"@turing-machine-js/machine": "^5.0.0"
|
|
32
32
|
},
|
|
33
33
|
"main": "dist/index.cjs",
|
|
34
34
|
"module": "dist/index.mjs",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"default": "./dist/index.mjs"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ccf9a4743965c2a4ea6340ce1de8f6596e094251"
|
|
45
45
|
}
|