@rotu/structview 0.10.2 → 0.10.3
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/README.md +3 -3
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -100,6 +100,6 @@ for (const dish of myMenu) {
|
|
|
100
100
|
and spacing of fields.
|
|
101
101
|
3. Be careful using `TypedArray`s. They have an alignment requirement relative
|
|
102
102
|
to their underlying `ArrayBuffer`.
|
|
103
|
-
4. `Struct` classes define properties on the prototype,
|
|
104
|
-
That means spread syntax (`x = {...s}`) and `JSON.stringify(s)` will
|
|
105
|
-
reflect inherited fields.
|
|
103
|
+
4. `Struct` classes define properties on the prototype, _not_ on the instance.
|
|
104
|
+
That means spread syntax (`x = {...s}`) and `JSON.stringify(s)` will _not_
|
|
105
|
+
reflect inherited fields.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rotu/structview",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3+dnt",
|
|
4
4
|
"description": "Read and write structured binary data with typesafe views",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"import": "./esm/mod.js"
|
|
14
|
+
},
|
|
15
|
+
"./bigendian": {
|
|
16
|
+
"import": "./esm/bigendian.js"
|
|
14
17
|
}
|
|
15
18
|
},
|
|
16
19
|
"scripts": {
|