@ot-builder/io-bin-name 1.7.3 → 1.7.4
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/lib/main/index.js +2 -3
- package/lib/meta/index.js +1 -1
- package/package.json +17 -17
package/lib/main/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.readNames = readNames;
|
|
4
|
+
exports.writeNames = writeNames;
|
|
4
5
|
const bin_util_1 = require("@ot-builder/bin-util");
|
|
5
6
|
const ot_name_1 = require("@ot-builder/ot-name");
|
|
6
7
|
const meta_1 = require("../meta");
|
|
@@ -16,7 +17,6 @@ function readNames(sfnt) {
|
|
|
16
17
|
const meta = bufMeta ? new bin_util_1.BinaryView(bufMeta).next(meta_1.MetaTableIo) : null;
|
|
17
18
|
return { name, stat, meta };
|
|
18
19
|
}
|
|
19
|
-
exports.readNames = readNames;
|
|
20
20
|
function writeNames(sink, nd) {
|
|
21
21
|
if (nd.name)
|
|
22
22
|
sink.add(ot_name_1.Name.Tag, bin_util_1.Frag.packFrom(name_1.NameIo, nd.name));
|
|
@@ -25,5 +25,4 @@ function writeNames(sink, nd) {
|
|
|
25
25
|
if (nd.meta)
|
|
26
26
|
sink.add(ot_name_1.Meta.Tag, bin_util_1.Frag.packFrom(meta_1.MetaTableIo, nd.meta));
|
|
27
27
|
}
|
|
28
|
-
exports.writeNames = writeNames;
|
|
29
28
|
//# sourceMappingURL=index.js.map
|
package/lib/meta/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ot-builder/io-bin-name",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ot-builder/bin-util": "1.7.
|
|
27
|
-
"@ot-builder/common-impl": "1.7.
|
|
28
|
-
"@ot-builder/errors": "1.7.
|
|
29
|
-
"@ot-builder/ot-glyphs": "1.7.
|
|
30
|
-
"@ot-builder/ot-metadata": "1.7.
|
|
31
|
-
"@ot-builder/ot-name": "1.7.
|
|
32
|
-
"@ot-builder/prelude": "1.7.
|
|
33
|
-
"@ot-builder/primitive": "1.7.
|
|
34
|
-
"@ot-builder/ot-sfnt": "1.7.
|
|
35
|
-
"@ot-builder/io-bin-sfnt": "1.7.
|
|
26
|
+
"@ot-builder/bin-util": "1.7.4",
|
|
27
|
+
"@ot-builder/common-impl": "1.7.4",
|
|
28
|
+
"@ot-builder/errors": "1.7.4",
|
|
29
|
+
"@ot-builder/ot-glyphs": "1.7.4",
|
|
30
|
+
"@ot-builder/ot-metadata": "1.7.4",
|
|
31
|
+
"@ot-builder/ot-name": "1.7.4",
|
|
32
|
+
"@ot-builder/prelude": "1.7.4",
|
|
33
|
+
"@ot-builder/primitive": "1.7.4",
|
|
34
|
+
"@ot-builder/ot-sfnt": "1.7.4",
|
|
35
|
+
"@ot-builder/io-bin-sfnt": "1.7.4",
|
|
36
36
|
"iconv-lite": "^0.6.3",
|
|
37
|
-
"tslib": "^2.
|
|
37
|
+
"tslib": "^2.6.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@ot-builder/io-bin-glyph-store": "1.7.
|
|
41
|
-
"@ot-builder/io-bin-metadata": "1.7.
|
|
42
|
-
"@ot-builder/test-util": "1.7.
|
|
43
|
-
"@types/jest": "^29.5.
|
|
44
|
-
"jest": "^29.
|
|
40
|
+
"@ot-builder/io-bin-glyph-store": "1.7.4",
|
|
41
|
+
"@ot-builder/io-bin-metadata": "1.7.4",
|
|
42
|
+
"@ot-builder/test-util": "1.7.4",
|
|
43
|
+
"@types/jest": "^29.5.12",
|
|
44
|
+
"jest": "^29.7.0"
|
|
45
45
|
}
|
|
46
46
|
}
|