@ot-builder/io-bin-name 1.0.11 → 1.2.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.json CHANGED
@@ -2,7 +2,217 @@
2
2
  "name": "@ot-builder/io-bin-name",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 17 Jul 2021 01:05:36 GMT",
5
+ "date": "Sat, 09 Oct 2021 01:05:28 GMT",
6
+ "tag": "@ot-builder/io-bin-name_v1.2.0",
7
+ "version": "1.2.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@ot-builder/io-bin-name",
13
+ "comment": "Bump @ot-builder/bin-util to v1.2.0",
14
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@ot-builder/io-bin-name",
19
+ "comment": "Bump @ot-builder/common-impl to v1.2.0",
20
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@ot-builder/io-bin-name",
25
+ "comment": "Bump @ot-builder/errors to v1.2.0",
26
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@ot-builder/io-bin-name",
31
+ "comment": "Bump @ot-builder/ot-glyphs to v1.2.0",
32
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@ot-builder/io-bin-name",
37
+ "comment": "Bump @ot-builder/ot-metadata to v1.2.0",
38
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@ot-builder/io-bin-name",
43
+ "comment": "Bump @ot-builder/ot-name to v1.2.0",
44
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@ot-builder/io-bin-name",
49
+ "comment": "Bump @ot-builder/prelude to v1.2.0",
50
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@ot-builder/io-bin-name",
55
+ "comment": "Bump @ot-builder/primitive to v1.2.0",
56
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@ot-builder/io-bin-name",
61
+ "comment": "Bump @ot-builder/ot-sfnt to v1.2.0",
62
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@ot-builder/io-bin-name",
67
+ "comment": "Bump @ot-builder/io-bin-sfnt to v1.2.0",
68
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@ot-builder/io-bin-name",
73
+ "comment": "Bump @ot-builder/io-bin-glyph-store to v1.2.0",
74
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@ot-builder/io-bin-name",
79
+ "comment": "Bump @ot-builder/io-bin-metadata to v1.2.0",
80
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
81
+ },
82
+ {
83
+ "author": "beachball",
84
+ "package": "@ot-builder/io-bin-name",
85
+ "comment": "Bump @ot-builder/test-util to v1.2.0",
86
+ "commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ {
92
+ "date": "Sat, 25 Sep 2021 01:08:03 GMT",
93
+ "tag": "@ot-builder/io-bin-name_v1.1.2",
94
+ "version": "1.1.2",
95
+ "comments": {
96
+ "patch": [
97
+ {
98
+ "author": "beachball",
99
+ "package": "@ot-builder/io-bin-name",
100
+ "comment": "Bump @ot-builder/bin-util to v1.1.2",
101
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
102
+ },
103
+ {
104
+ "author": "beachball",
105
+ "package": "@ot-builder/io-bin-name",
106
+ "comment": "Bump @ot-builder/common-impl to v1.1.2",
107
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
108
+ },
109
+ {
110
+ "author": "beachball",
111
+ "package": "@ot-builder/io-bin-name",
112
+ "comment": "Bump @ot-builder/errors to v1.1.2",
113
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
114
+ },
115
+ {
116
+ "author": "beachball",
117
+ "package": "@ot-builder/io-bin-name",
118
+ "comment": "Bump @ot-builder/ot-glyphs to v1.1.2",
119
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
120
+ },
121
+ {
122
+ "author": "beachball",
123
+ "package": "@ot-builder/io-bin-name",
124
+ "comment": "Bump @ot-builder/ot-metadata to v1.1.2",
125
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
126
+ },
127
+ {
128
+ "author": "beachball",
129
+ "package": "@ot-builder/io-bin-name",
130
+ "comment": "Bump @ot-builder/ot-name to v1.1.2",
131
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
132
+ },
133
+ {
134
+ "author": "beachball",
135
+ "package": "@ot-builder/io-bin-name",
136
+ "comment": "Bump @ot-builder/prelude to v1.1.2",
137
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
138
+ },
139
+ {
140
+ "author": "beachball",
141
+ "package": "@ot-builder/io-bin-name",
142
+ "comment": "Bump @ot-builder/primitive to v1.1.2",
143
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
144
+ },
145
+ {
146
+ "author": "beachball",
147
+ "package": "@ot-builder/io-bin-name",
148
+ "comment": "Bump @ot-builder/ot-sfnt to v1.1.2",
149
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
150
+ },
151
+ {
152
+ "author": "beachball",
153
+ "package": "@ot-builder/io-bin-name",
154
+ "comment": "Bump @ot-builder/io-bin-sfnt to v1.1.2",
155
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
156
+ },
157
+ {
158
+ "author": "beachball",
159
+ "package": "@ot-builder/io-bin-name",
160
+ "comment": "Bump @ot-builder/io-bin-glyph-store to v1.1.2",
161
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
162
+ },
163
+ {
164
+ "author": "beachball",
165
+ "package": "@ot-builder/io-bin-name",
166
+ "comment": "Bump @ot-builder/io-bin-metadata to v1.1.2",
167
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
168
+ },
169
+ {
170
+ "author": "beachball",
171
+ "package": "@ot-builder/io-bin-name",
172
+ "comment": "Bump @ot-builder/test-util to v1.1.2",
173
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
174
+ }
175
+ ]
176
+ }
177
+ },
178
+ {
179
+ "date": "Sat, 11 Sep 2021 01:09:21 GMT",
180
+ "tag": "@ot-builder/io-bin-name_v1.1.1",
181
+ "version": "1.1.1",
182
+ "comments": {
183
+ "patch": [
184
+ {
185
+ "author": "otbbuilder-dev@users.noreply.github.com",
186
+ "package": "@ot-builder/io-bin-name",
187
+ "commit": "28bc4c48910f10dcabb090ab68e610ce499caa95",
188
+ "comment": "Bump @ot-builder/io-bin-name to v1.1.1"
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ {
194
+ "date": "Sun, 18 Jul 2021 02:14:19 GMT",
195
+ "tag": "@ot-builder/io-bin-name_v1.1.0",
196
+ "version": "1.1.0",
197
+ "comments": {
198
+ "minor": [
199
+ {
200
+ "comment": "Cleanup unnecessary namespaces",
201
+ "author": "otbbuilder-dev@users.noreply.github.com",
202
+ "commit": "c79ab97437319873bfe49602a21eab95d78083e3",
203
+ "package": "@ot-builder/io-bin-name"
204
+ },
205
+ {
206
+ "comment": "Bump @ot-builder/io-bin-name to v1.1.0",
207
+ "author": "otbbuilder-dev@users.noreply.github.com",
208
+ "commit": "c79ab97437319873bfe49602a21eab95d78083e3",
209
+ "package": "@ot-builder/io-bin-name"
210
+ }
211
+ ]
212
+ }
213
+ },
214
+ {
215
+ "date": "Sat, 17 Jul 2021 01:08:07 GMT",
6
216
  "tag": "@ot-builder/io-bin-name_v1.0.11",
7
217
  "version": "1.0.11",
8
218
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,69 @@
1
1
  # Change Log - @ot-builder/io-bin-name
2
2
 
3
- This log was last generated on Sat, 17 Jul 2021 01:05:36 GMT and should not be manually modified.
3
+ This log was last generated on Sat, 09 Oct 2021 01:05:28 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.2.0
8
+
9
+ Sat, 09 Oct 2021 01:05:28 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Bump @ot-builder/bin-util to v1.2.0
14
+ - Bump @ot-builder/common-impl to v1.2.0
15
+ - Bump @ot-builder/errors to v1.2.0
16
+ - Bump @ot-builder/ot-glyphs to v1.2.0
17
+ - Bump @ot-builder/ot-metadata to v1.2.0
18
+ - Bump @ot-builder/ot-name to v1.2.0
19
+ - Bump @ot-builder/prelude to v1.2.0
20
+ - Bump @ot-builder/primitive to v1.2.0
21
+ - Bump @ot-builder/ot-sfnt to v1.2.0
22
+ - Bump @ot-builder/io-bin-sfnt to v1.2.0
23
+ - Bump @ot-builder/io-bin-glyph-store to v1.2.0
24
+ - Bump @ot-builder/io-bin-metadata to v1.2.0
25
+ - Bump @ot-builder/test-util to v1.2.0
26
+
27
+ ## 1.1.2
28
+
29
+ Sat, 25 Sep 2021 01:08:03 GMT
30
+
31
+ ### Patches
32
+
33
+ - Bump @ot-builder/bin-util to v1.1.2
34
+ - Bump @ot-builder/common-impl to v1.1.2
35
+ - Bump @ot-builder/errors to v1.1.2
36
+ - Bump @ot-builder/ot-glyphs to v1.1.2
37
+ - Bump @ot-builder/ot-metadata to v1.1.2
38
+ - Bump @ot-builder/ot-name to v1.1.2
39
+ - Bump @ot-builder/prelude to v1.1.2
40
+ - Bump @ot-builder/primitive to v1.1.2
41
+ - Bump @ot-builder/ot-sfnt to v1.1.2
42
+ - Bump @ot-builder/io-bin-sfnt to v1.1.2
43
+ - Bump @ot-builder/io-bin-glyph-store to v1.1.2
44
+ - Bump @ot-builder/io-bin-metadata to v1.1.2
45
+ - Bump @ot-builder/test-util to v1.1.2
46
+
47
+ ## 1.1.1
48
+
49
+ Sat, 11 Sep 2021 01:09:21 GMT
50
+
51
+ ### Patches
52
+
53
+ - Bump @ot-builder/io-bin-name to v1.1.1 (otbbuilder-dev@users.noreply.github.com)
54
+
55
+ ## 1.1.0
56
+
57
+ Sun, 18 Jul 2021 02:14:19 GMT
58
+
59
+ ### Minor changes
60
+
61
+ - Cleanup unnecessary namespaces (otbbuilder-dev@users.noreply.github.com)
62
+ - Bump @ot-builder/io-bin-name to v1.1.0 (otbbuilder-dev@users.noreply.github.com)
63
+
7
64
  ## 1.0.11
8
65
 
9
- Sat, 17 Jul 2021 01:05:36 GMT
66
+ Sat, 17 Jul 2021 01:08:07 GMT
10
67
 
11
68
  ### Patches
12
69
 
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./main"), exports);
4
+ (0, tslib_1.__exportStar)(require("./main"), exports);
5
5
  //# sourceMappingURL=index.js.map
package/lib/stat/read.js CHANGED
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatRead = void 0;
4
4
  const bin_util_1 = require("@ot-builder/bin-util");
5
- const common_impl_1 = require("@ot-builder/common-impl");
5
+ const ImpLib = require("@ot-builder/common-impl");
6
6
  const errors_1 = require("@ot-builder/errors");
7
7
  const ot_name_1 = require("@ot-builder/ot-name");
8
8
  const primitive_1 = require("@ot-builder/primitive");
9
- exports.StatRead = bin_util_1.Read(view => {
9
+ exports.StatRead = (0, bin_util_1.Read)(view => {
10
10
  const majorVersion = view.uint16();
11
11
  const minorVersion = view.uint16();
12
12
  errors_1.Assert.SubVersionSupported("STATTable", majorVersion, minorVersion, [1, 1], [1, 2]);
@@ -19,12 +19,12 @@ exports.StatRead = bin_util_1.Read(view => {
19
19
  const elidedFallbackNameID = view.uint16();
20
20
  const axes = vwAxisRecord ? vwAxisRecord.next(DesignAxisArray, designAxisCount) : [];
21
21
  const values = vwAxisValues
22
- ? vwAxisValues.next(AxisValueArray, axisValueCount, common_impl_1.ImpLib.Order.fromList(`Axes`, axes))
22
+ ? vwAxisValues.next(AxisValueArray, axisValueCount, ImpLib.Order.fromList(`Axes`, axes))
23
23
  : [];
24
24
  const table = new ot_name_1.Stat.Table(axes, values, elidedFallbackNameID);
25
25
  return table;
26
26
  });
27
- const DesignAxisArray = bin_util_1.Read((view, count) => {
27
+ const DesignAxisArray = (0, bin_util_1.Read)((view, count) => {
28
28
  const arr = [];
29
29
  for (let aid = 0; aid < count; aid++) {
30
30
  const tag = view.next(primitive_1.Tag);
@@ -34,14 +34,14 @@ const DesignAxisArray = bin_util_1.Read((view, count) => {
34
34
  }
35
35
  return arr;
36
36
  });
37
- const AxisValueArray = bin_util_1.Read((view, count, axes) => {
37
+ const AxisValueArray = (0, bin_util_1.Read)((view, count, axes) => {
38
38
  const arr = [];
39
39
  for (let aid = 0; aid < count; aid++) {
40
40
  arr.push(view.ptr16().next(AxisValue, axes));
41
41
  }
42
42
  return arr;
43
43
  });
44
- const AxisValue = bin_util_1.Read((view, axes) => {
44
+ const AxisValue = (0, bin_util_1.Read)((view, axes) => {
45
45
  const format = view.lift(0).uint16();
46
46
  switch (format) {
47
47
  case 1:
@@ -56,7 +56,7 @@ const AxisValue = bin_util_1.Read((view, axes) => {
56
56
  throw errors_1.Errors.FormatNotSupported(`STATTable::AxisValue`, format);
57
57
  }
58
58
  });
59
- const AxisValueFormat1 = bin_util_1.Read((view, axes) => {
59
+ const AxisValueFormat1 = (0, bin_util_1.Read)((view, axes) => {
60
60
  const format = view.uint16();
61
61
  errors_1.Assert.FormatSupported(`STATTable::AxisValueFormat1`, format, 1);
62
62
  const axisIndex = view.uint16();
@@ -64,9 +64,9 @@ const AxisValueFormat1 = bin_util_1.Read((view, axes) => {
64
64
  const flags = view.uint16();
65
65
  const valueNameID = view.uint16();
66
66
  const value = view.next(primitive_1.F16D16);
67
- return common_impl_1.ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Static(axis, value), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
67
+ return ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Static(axis, value), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
68
68
  });
69
- const AxisValueFormat2 = bin_util_1.Read((view, axes) => {
69
+ const AxisValueFormat2 = (0, bin_util_1.Read)((view, axes) => {
70
70
  const format = view.uint16();
71
71
  errors_1.Assert.FormatSupported(`STATTable::AxisValueFormat2`, format, 2);
72
72
  const axisIndex = view.uint16();
@@ -76,9 +76,9 @@ const AxisValueFormat2 = bin_util_1.Read((view, axes) => {
76
76
  const nominalValue = view.next(primitive_1.F16D16);
77
77
  const rangeMinValue = view.next(primitive_1.F16D16);
78
78
  const rangeMaxValue = view.next(primitive_1.F16D16);
79
- return common_impl_1.ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Variable(axis, rangeMinValue, nominalValue, rangeMaxValue), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
79
+ return ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Variable(axis, rangeMinValue, nominalValue, rangeMaxValue), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
80
80
  });
81
- const AxisValueFormat3 = bin_util_1.Read((view, axes) => {
81
+ const AxisValueFormat3 = (0, bin_util_1.Read)((view, axes) => {
82
82
  const format = view.uint16();
83
83
  errors_1.Assert.FormatSupported(`STATTable::AxisValueFormat3`, format, 3);
84
84
  const axisIndex = view.uint16();
@@ -87,9 +87,9 @@ const AxisValueFormat3 = bin_util_1.Read((view, axes) => {
87
87
  const valueNameID = view.uint16();
88
88
  const value = view.next(primitive_1.F16D16);
89
89
  const linkedValue = view.next(primitive_1.F16D16);
90
- return common_impl_1.ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Linked(axis, value, linkedValue), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
90
+ return ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.Linked(axis, value, linkedValue), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
91
91
  });
92
- const AxisValueFormat4 = bin_util_1.Read((view, axes) => {
92
+ const AxisValueFormat4 = (0, bin_util_1.Read)((view, axes) => {
93
93
  const format = view.uint16();
94
94
  errors_1.Assert.FormatSupported(`STATTable::AxisValueFormat4`, format, 4);
95
95
  const axisCount = view.uint16();
@@ -102,6 +102,6 @@ const AxisValueFormat4 = bin_util_1.Read((view, axes) => {
102
102
  const value = view.next(primitive_1.F16D16);
103
103
  assignments.push([axis, value]);
104
104
  }
105
- return common_impl_1.ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.PolyAxis(assignments), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
105
+ return ImpLib.Tuple.Tie(new ot_name_1.Stat.AxisValue.PolyAxis(assignments), new ot_name_1.Stat.NameAssignment(flags, valueNameID));
106
106
  });
107
107
  //# sourceMappingURL=read.js.map
package/lib/stat/write.js CHANGED
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatWrite = void 0;
4
4
  const bin_util_1 = require("@ot-builder/bin-util");
5
- const common_impl_1 = require("@ot-builder/common-impl");
5
+ const ImpLib = require("@ot-builder/common-impl");
6
6
  const errors_1 = require("@ot-builder/errors");
7
7
  const ot_name_1 = require("@ot-builder/ot-name");
8
8
  const primitive_1 = require("@ot-builder/primitive");
9
- exports.StatWrite = bin_util_1.Write((frag, stat) => {
10
- const stValueRecordOffset = new common_impl_1.ImpLib.State(0);
11
- const stNeedFormat12 = new common_impl_1.ImpLib.State(false);
9
+ exports.StatWrite = (0, bin_util_1.Write)((frag, stat) => {
10
+ const stValueRecordOffset = new ImpLib.State(0);
11
+ const stNeedFormat12 = new ImpLib.State(false);
12
12
  const body = bin_util_1.Frag.from(StatTableBody, stat, stValueRecordOffset, stNeedFormat12);
13
13
  frag.uint16(1)
14
14
  .uint16(stNeedFormat12.get() ? 2 : 1)
@@ -19,25 +19,25 @@ exports.StatWrite = bin_util_1.Write((frag, stat) => {
19
19
  .ptr32(body, bin_util_1.FragPointerEmbedding.Relative, stValueRecordOffset.get())
20
20
  .uint16(stat.elidedFallbackNameID);
21
21
  });
22
- const StatTableBody = bin_util_1.Write((frag, stat, acValueRecordOffset, acNeedFormat12) => {
22
+ const StatTableBody = (0, bin_util_1.Write)((frag, stat, acValueRecordOffset, acNeedFormat12) => {
23
23
  const start = frag.size;
24
24
  frag.push(DesignAxisArray, stat.designAxes);
25
25
  acValueRecordOffset.set(frag.size - start);
26
- frag.embed(bin_util_1.Frag.from(AxisValueArray, stat.assignments, common_impl_1.ImpLib.Order.fromList(`DesignAxes`, stat.designAxes), acNeedFormat12));
26
+ frag.embed(bin_util_1.Frag.from(AxisValueArray, stat.assignments, ImpLib.Order.fromList(`DesignAxes`, stat.designAxes), acNeedFormat12));
27
27
  });
28
- const DesignAxisArray = bin_util_1.Write((frag, axes) => {
28
+ const DesignAxisArray = (0, bin_util_1.Write)((frag, axes) => {
29
29
  for (const axis of axes)
30
30
  frag.push(DesignAxisRecord, axis);
31
31
  });
32
- const DesignAxisRecord = bin_util_1.Write((frag, axis) => {
32
+ const DesignAxisRecord = (0, bin_util_1.Write)((frag, axis) => {
33
33
  frag.push(primitive_1.Tag, axis.tag).uint16(axis.axisNameID).uint16(axis.axisOrdering);
34
34
  });
35
- const AxisValueArray = bin_util_1.Write((frag, ava, axes, acNeedFormat12) => {
35
+ const AxisValueArray = (0, bin_util_1.Write)((frag, ava, axes, acNeedFormat12) => {
36
36
  for (const item of ava) {
37
37
  frag.ptr16New(bin_util_1.FragPointerEmbedding.EmbedRelative).push(AxisValue, item, axes, acNeedFormat12);
38
38
  }
39
39
  });
40
- const AxisValue = bin_util_1.Write((frag, [av, asg], axes, acNeedFormat12) => {
40
+ const AxisValue = (0, bin_util_1.Write)((frag, [av, asg], axes, acNeedFormat12) => {
41
41
  if (av instanceof ot_name_1.Stat.AxisValue.Static) {
42
42
  frag.push(AxisValueFormat1, [av, asg], axes);
43
43
  }
@@ -55,14 +55,14 @@ const AxisValue = bin_util_1.Write((frag, [av, asg], axes, acNeedFormat12) => {
55
55
  throw errors_1.Errors.STAT.UnknownAxisValueFormat();
56
56
  }
57
57
  });
58
- const AxisValueFormat1 = bin_util_1.Write((frag, [av, asg], axes) => {
58
+ const AxisValueFormat1 = (0, bin_util_1.Write)((frag, [av, asg], axes) => {
59
59
  frag.uint16(1)
60
60
  .uint16(axes.reverse(av.axis))
61
61
  .uint16(asg.flags)
62
62
  .uint16(asg.valueNameID)
63
63
  .push(primitive_1.F16D16, av.value);
64
64
  });
65
- const AxisValueFormat2 = bin_util_1.Write((frag, [av, asg], axes) => {
65
+ const AxisValueFormat2 = (0, bin_util_1.Write)((frag, [av, asg], axes) => {
66
66
  frag.uint16(2)
67
67
  .uint16(axes.reverse(av.axis))
68
68
  .uint16(asg.flags)
@@ -71,7 +71,7 @@ const AxisValueFormat2 = bin_util_1.Write((frag, [av, asg], axes) => {
71
71
  .push(primitive_1.F16D16, av.min)
72
72
  .push(primitive_1.F16D16, av.max);
73
73
  });
74
- const AxisValueFormat3 = bin_util_1.Write((frag, [av, asg], axes) => {
74
+ const AxisValueFormat3 = (0, bin_util_1.Write)((frag, [av, asg], axes) => {
75
75
  frag.uint16(3)
76
76
  .uint16(axes.reverse(av.axis))
77
77
  .uint16(asg.flags)
@@ -79,7 +79,7 @@ const AxisValueFormat3 = bin_util_1.Write((frag, [av, asg], axes) => {
79
79
  .push(primitive_1.F16D16, av.value)
80
80
  .push(primitive_1.F16D16, av.linkedValue);
81
81
  });
82
- const AxisValueFormat4 = bin_util_1.Write((frag, [av, asg], axes) => {
82
+ const AxisValueFormat4 = (0, bin_util_1.Write)((frag, [av, asg], axes) => {
83
83
  frag.uint16(4).uint16(av.assignments.length).uint16(asg.flags).uint16(asg.valueNameID);
84
84
  for (const [axis, value] of av.assignments) {
85
85
  frag.uint16(axes.reverse(axis)).push(primitive_1.F16D16, value);
package/package.json CHANGED
@@ -1,9 +1,19 @@
1
1
  {
2
2
  "name": "@ot-builder/io-bin-name",
3
- "version": "1.0.11",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/ot-builder/monorepo.git",
8
+ "directory": "packages/io-bin-name"
9
+ },
5
10
  "main": "./lib/index.js",
6
11
  "types": "./lib/index.d.ts",
12
+ "files": [
13
+ "lib/**/*.js",
14
+ "lib/**/*.json",
15
+ "lib/**/*.d.ts"
16
+ ],
7
17
  "scripts": {
8
18
  "build": "tsc -b ./tsconfig.package.json",
9
19
  "clean": "rimraf lib .cache",
@@ -13,23 +23,23 @@
13
23
  "access": "public"
14
24
  },
15
25
  "dependencies": {
16
- "@ot-builder/bin-util": "1.0.11",
17
- "@ot-builder/common-impl": "1.0.11",
18
- "@ot-builder/errors": "1.0.11",
19
- "@ot-builder/ot-glyphs": "1.0.11",
20
- "@ot-builder/ot-metadata": "1.0.11",
21
- "@ot-builder/ot-name": "1.0.11",
22
- "@ot-builder/prelude": "1.0.11",
23
- "@ot-builder/primitive": "1.0.11",
24
- "@ot-builder/ot-sfnt": "1.0.11",
25
- "@ot-builder/io-bin-sfnt": "1.0.11",
26
+ "@ot-builder/bin-util": "1.2.0",
27
+ "@ot-builder/common-impl": "1.2.0",
28
+ "@ot-builder/errors": "1.2.0",
29
+ "@ot-builder/ot-glyphs": "1.2.0",
30
+ "@ot-builder/ot-metadata": "1.2.0",
31
+ "@ot-builder/ot-name": "1.2.0",
32
+ "@ot-builder/prelude": "1.2.0",
33
+ "@ot-builder/primitive": "1.2.0",
34
+ "@ot-builder/ot-sfnt": "1.2.0",
35
+ "@ot-builder/io-bin-sfnt": "1.2.0",
26
36
  "iconv-lite": "^0.6.3",
27
37
  "tslib": "^2.0.0"
28
38
  },
29
39
  "devDependencies": {
30
- "@ot-builder/io-bin-glyph-store": "1.0.11",
31
- "@ot-builder/io-bin-metadata": "1.0.11",
32
- "@ot-builder/test-util": "1.0.11",
40
+ "@ot-builder/io-bin-glyph-store": "1.2.0",
41
+ "@ot-builder/io-bin-metadata": "1.2.0",
42
+ "@ot-builder/test-util": "1.2.0",
33
43
  "@types/jest": "^26.0.23",
34
44
  "jest": "^27.0.6"
35
45
  }