@ot-builder/io-bin-encoding 1.0.10 → 1.1.2

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,133 @@
2
2
  "name": "@ot-builder/io-bin-encoding",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 03 Jul 2021 01:05:13 GMT",
5
+ "date": "Sat, 25 Sep 2021 01:06:38 GMT",
6
+ "tag": "@ot-builder/io-bin-encoding_v1.1.2",
7
+ "version": "1.1.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@ot-builder/io-bin-encoding",
13
+ "comment": "Bump @ot-builder/bin-util to v1.1.2",
14
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@ot-builder/io-bin-encoding",
19
+ "comment": "Bump @ot-builder/errors to v1.1.2",
20
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@ot-builder/io-bin-encoding",
25
+ "comment": "Bump @ot-builder/ot-encoding to v1.1.2",
26
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@ot-builder/io-bin-encoding",
31
+ "comment": "Bump @ot-builder/ot-glyphs to v1.1.2",
32
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@ot-builder/io-bin-encoding",
37
+ "comment": "Bump @ot-builder/ot-metadata to v1.1.2",
38
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@ot-builder/io-bin-encoding",
43
+ "comment": "Bump @ot-builder/prelude to v1.1.2",
44
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@ot-builder/io-bin-encoding",
49
+ "comment": "Bump @ot-builder/primitive to v1.1.2",
50
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@ot-builder/io-bin-encoding",
55
+ "comment": "Bump @ot-builder/ot-sfnt to v1.1.2",
56
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@ot-builder/io-bin-encoding",
61
+ "comment": "Bump @ot-builder/io-bin-sfnt to v1.1.2",
62
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
63
+ },
64
+ {
65
+ "author": "beachball",
66
+ "package": "@ot-builder/io-bin-encoding",
67
+ "comment": "Bump @ot-builder/io-bin-glyph-store to v1.1.2",
68
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
69
+ },
70
+ {
71
+ "author": "beachball",
72
+ "package": "@ot-builder/io-bin-encoding",
73
+ "comment": "Bump @ot-builder/io-bin-metadata to v1.1.2",
74
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
75
+ },
76
+ {
77
+ "author": "beachball",
78
+ "package": "@ot-builder/io-bin-encoding",
79
+ "comment": "Bump @ot-builder/test-util to v1.1.2",
80
+ "commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "date": "Sat, 11 Sep 2021 01:09:21 GMT",
87
+ "tag": "@ot-builder/io-bin-encoding_v1.1.1",
88
+ "version": "1.1.1",
89
+ "comments": {
90
+ "patch": [
91
+ {
92
+ "author": "otbbuilder-dev@users.noreply.github.com",
93
+ "package": "@ot-builder/io-bin-encoding",
94
+ "commit": "28bc4c48910f10dcabb090ab68e610ce499caa95",
95
+ "comment": "Bump @ot-builder/io-bin-encoding to v1.1.1"
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ "date": "Sun, 18 Jul 2021 02:14:19 GMT",
102
+ "tag": "@ot-builder/io-bin-encoding_v1.1.0",
103
+ "version": "1.1.0",
104
+ "comments": {
105
+ "minor": [
106
+ {
107
+ "comment": "Bump @ot-builder/io-bin-encoding to v1.1.0",
108
+ "author": "otbbuilder-dev@users.noreply.github.com",
109
+ "commit": "c79ab97437319873bfe49602a21eab95d78083e3",
110
+ "package": "@ot-builder/io-bin-encoding"
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "date": "Sat, 17 Jul 2021 01:08:07 GMT",
117
+ "tag": "@ot-builder/io-bin-encoding_v1.0.11",
118
+ "version": "1.0.11",
119
+ "comments": {
120
+ "patch": [
121
+ {
122
+ "comment": "Bump @ot-builder/io-bin-encoding to v1.0.11",
123
+ "author": "otbbuilder-dev@users.noreply.github.com",
124
+ "commit": "7f243f6eb75ed28e2d367af7ed0423d0327529ff",
125
+ "package": "@ot-builder/io-bin-encoding"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ {
131
+ "date": "Sat, 03 Jul 2021 01:07:58 GMT",
6
132
  "tag": "@ot-builder/io-bin-encoding_v1.0.10",
7
133
  "version": "1.0.10",
8
134
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,55 @@
1
1
  # Change Log - @ot-builder/io-bin-encoding
2
2
 
3
- This log was last generated on Sat, 03 Jul 2021 01:05:13 GMT and should not be manually modified.
3
+ This log was last generated on Sat, 25 Sep 2021 01:06:38 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.1.2
8
+
9
+ Sat, 25 Sep 2021 01:06:38 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @ot-builder/bin-util to v1.1.2
14
+ - Bump @ot-builder/errors to v1.1.2
15
+ - Bump @ot-builder/ot-encoding to v1.1.2
16
+ - Bump @ot-builder/ot-glyphs to v1.1.2
17
+ - Bump @ot-builder/ot-metadata to v1.1.2
18
+ - Bump @ot-builder/prelude to v1.1.2
19
+ - Bump @ot-builder/primitive to v1.1.2
20
+ - Bump @ot-builder/ot-sfnt to v1.1.2
21
+ - Bump @ot-builder/io-bin-sfnt to v1.1.2
22
+ - Bump @ot-builder/io-bin-glyph-store to v1.1.2
23
+ - Bump @ot-builder/io-bin-metadata to v1.1.2
24
+ - Bump @ot-builder/test-util to v1.1.2
25
+
26
+ ## 1.1.1
27
+
28
+ Sat, 11 Sep 2021 01:09:21 GMT
29
+
30
+ ### Patches
31
+
32
+ - Bump @ot-builder/io-bin-encoding to v1.1.1 (otbbuilder-dev@users.noreply.github.com)
33
+
34
+ ## 1.1.0
35
+
36
+ Sun, 18 Jul 2021 02:14:19 GMT
37
+
38
+ ### Minor changes
39
+
40
+ - Bump @ot-builder/io-bin-encoding to v1.1.0 (otbbuilder-dev@users.noreply.github.com)
41
+
42
+ ## 1.0.11
43
+
44
+ Sat, 17 Jul 2021 01:08:07 GMT
45
+
46
+ ### Patches
47
+
48
+ - Bump @ot-builder/io-bin-encoding to v1.0.11 (otbbuilder-dev@users.noreply.github.com)
49
+
7
50
  ## 1.0.10
8
51
 
9
- Sat, 03 Jul 2021 01:05:13 GMT
52
+ Sat, 03 Jul 2021 01:07:58 GMT
10
53
 
11
54
  ### Patches
12
55
 
package/lib/cmap/read.js CHANGED
@@ -5,7 +5,7 @@ const bin_util_1 = require("@ot-builder/bin-util");
5
5
  const errors_1 = require("@ot-builder/errors");
6
6
  const ot_encoding_1 = require("@ot-builder/ot-encoding");
7
7
  const handlers_1 = require("./handlers");
8
- exports.ReadCmap = bin_util_1.Read((view, gOrd) => {
8
+ exports.ReadCmap = (0, bin_util_1.Read)((view, gOrd) => {
9
9
  const version = view.uint16();
10
10
  errors_1.Assert.VersionSupported("cmap", version, 0);
11
11
  const cmap = new ot_encoding_1.Cmap.Table();
@@ -9,7 +9,7 @@ const general_1 = require("./general");
9
9
  const unicode_encoding_collector_1 = require("./unicode-encoding-collector");
10
10
  const DefaultGlyph = Symbol();
11
11
  const DefaultVs = {
12
- ...bin_util_1.Read((p, mapping, varSelector) => {
12
+ ...(0, bin_util_1.Read)((p, mapping, varSelector) => {
13
13
  const numUnicodeValueRanges = p.uint32();
14
14
  for (let range = 0; range < numUnicodeValueRanges; range++) {
15
15
  const startUnicodeValue = p.next(primitive_1.UInt24);
@@ -19,7 +19,7 @@ const DefaultVs = {
19
19
  }
20
20
  }
21
21
  }),
22
- ...bin_util_1.Write((frag, mapping) => {
22
+ ...(0, bin_util_1.Write)((frag, mapping) => {
23
23
  const w = new DefaultVsWriter(frag);
24
24
  for (const code of mapping)
25
25
  w.push(code);
@@ -66,7 +66,7 @@ class DefaultVsWriter {
66
66
  }
67
67
  }
68
68
  const NonDefaultVs = {
69
- ...bin_util_1.Read((p, mapping, varSelector, gOrd) => {
69
+ ...(0, bin_util_1.Read)((p, mapping, varSelector, gOrd) => {
70
70
  const numUVSMappings = p.uint32();
71
71
  for (let index = 0; index < numUVSMappings; index++) {
72
72
  const unicodeValue = p.next(primitive_1.UInt24);
@@ -74,7 +74,7 @@ const NonDefaultVs = {
74
74
  mapping.set(unicodeValue, varSelector, gOrd.at(glyphID));
75
75
  }
76
76
  }),
77
- ...bin_util_1.Write((frag, mapping) => {
77
+ ...(0, bin_util_1.Write)((frag, mapping) => {
78
78
  frag.uint32(mapping.length);
79
79
  for (const [unicode, gid] of mapping) {
80
80
  frag.push(primitive_1.UInt24, unicode);
package/lib/cmap/write.js CHANGED
@@ -6,7 +6,7 @@ const handlers_1 = require("./handlers");
6
6
  function ByPlatform(a, b) {
7
7
  return a.platform - b.platform || a.encoding - b.encoding;
8
8
  }
9
- exports.WriteCmap = bin_util_1.Write((frag, cmap, gOrd, cfg) => {
9
+ exports.WriteCmap = (0, bin_util_1.Write)((frag, cmap, gOrd, cfg) => {
10
10
  const assignments = [];
11
11
  const options = { ...cfg };
12
12
  for (const handlerF of handlers_1.SubtableHandlers) {
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
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);
5
- tslib_1.__exportStar(require("./cfg"), exports);
4
+ (0, tslib_1.__exportStar)(require("./main"), exports);
5
+ (0, tslib_1.__exportStar)(require("./cfg"), exports);
6
6
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "name": "@ot-builder/io-bin-encoding",
3
3
  "description": "",
4
- "version": "1.0.10",
4
+ "version": "1.1.2",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/ot-builder/monorepo.git",
9
+ "directory": "packages/io-bin-encoding"
10
+ },
6
11
  "main": "./lib/index.js",
7
12
  "types": "./lib/index.d.ts",
13
+ "files": [
14
+ "lib/**/*.js",
15
+ "lib/**/*.json",
16
+ "lib/**/*.d.ts"
17
+ ],
8
18
  "scripts": {
9
19
  "build": "tsc -b ./tsconfig.package.json",
10
20
  "clean": "rimraf lib .cache",
@@ -14,21 +24,21 @@
14
24
  "access": "public"
15
25
  },
16
26
  "dependencies": {
17
- "@ot-builder/bin-util": "1.0.10",
18
- "@ot-builder/errors": "1.0.10",
19
- "@ot-builder/ot-encoding": "1.0.10",
20
- "@ot-builder/ot-glyphs": "1.0.10",
21
- "@ot-builder/ot-metadata": "1.0.10",
22
- "@ot-builder/prelude": "1.0.10",
23
- "@ot-builder/primitive": "1.0.10",
24
- "@ot-builder/ot-sfnt": "1.0.10",
25
- "@ot-builder/io-bin-sfnt": "1.0.10",
27
+ "@ot-builder/bin-util": "1.1.2",
28
+ "@ot-builder/errors": "1.1.2",
29
+ "@ot-builder/ot-encoding": "1.1.2",
30
+ "@ot-builder/ot-glyphs": "1.1.2",
31
+ "@ot-builder/ot-metadata": "1.1.2",
32
+ "@ot-builder/prelude": "1.1.2",
33
+ "@ot-builder/primitive": "1.1.2",
34
+ "@ot-builder/ot-sfnt": "1.1.2",
35
+ "@ot-builder/io-bin-sfnt": "1.1.2",
26
36
  "tslib": "^2.0.0"
27
37
  },
28
38
  "devDependencies": {
29
- "@ot-builder/io-bin-glyph-store": "1.0.10",
30
- "@ot-builder/io-bin-metadata": "1.0.10",
31
- "@ot-builder/test-util": "1.0.10",
39
+ "@ot-builder/io-bin-glyph-store": "1.1.2",
40
+ "@ot-builder/io-bin-metadata": "1.1.2",
41
+ "@ot-builder/test-util": "1.1.2",
32
42
  "@types/jest": "^26.0.23",
33
43
  "jest": "^27.0.6"
34
44
  }