@ot-builder/cli-proc 1.6.3 → 1.6.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/CHANGELOG.json +58 -1
- package/CHANGELOG.md +17 -2
- package/lib/procs/gc.js +25 -0
- package/package.json +8 -8
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,64 @@
|
|
|
2
2
|
"name": "@ot-builder/cli-proc",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Sat, 22 Apr 2023
|
|
5
|
+
"date": "Sat, 22 Apr 2023 11:20:08 GMT",
|
|
6
|
+
"tag": "@ot-builder/cli-proc_v1.6.4",
|
|
7
|
+
"version": "1.6.4",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "otbbuilder-dev@users.noreply.github.com",
|
|
12
|
+
"package": "@ot-builder/cli-proc",
|
|
13
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0",
|
|
14
|
+
"comment": "GC: fix indirect lookup collection"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@ot-builder/cli-proc",
|
|
19
|
+
"comment": "Bump @ot-builder/io-bin-font to v1.6.4",
|
|
20
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@ot-builder/cli-proc",
|
|
25
|
+
"comment": "Bump @ot-builder/primitive to v1.6.4",
|
|
26
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@ot-builder/cli-proc",
|
|
31
|
+
"comment": "Bump @ot-builder/common-impl to v1.6.4",
|
|
32
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@ot-builder/cli-proc",
|
|
37
|
+
"comment": "Bump @ot-builder/rectify to v1.6.4",
|
|
38
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@ot-builder/cli-proc",
|
|
43
|
+
"comment": "Bump @ot-builder/trace to v1.6.4",
|
|
44
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@ot-builder/cli-proc",
|
|
49
|
+
"comment": "Bump @ot-builder/prelude to v1.6.4",
|
|
50
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@ot-builder/cli-proc",
|
|
55
|
+
"comment": "Bump @ot-builder/ot to v1.6.4",
|
|
56
|
+
"commit": "d9628c0eeaf0d499cbfe887f6fa5257504afe3f0"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"date": "Sat, 22 Apr 2023 01:01:14 GMT",
|
|
6
63
|
"tag": "@ot-builder/cli-proc_v1.6.3",
|
|
7
64
|
"version": "1.6.3",
|
|
8
65
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
# Change Log - @ot-builder/cli-proc
|
|
2
2
|
|
|
3
|
-
This log was last generated on Sat, 22 Apr 2023
|
|
3
|
+
This log was last generated on Sat, 22 Apr 2023 11:20:08 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.6.4
|
|
8
|
+
|
|
9
|
+
Sat, 22 Apr 2023 11:20:08 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- GC: fix indirect lookup collection (otbbuilder-dev@users.noreply.github.com)
|
|
14
|
+
- Bump @ot-builder/io-bin-font to v1.6.4
|
|
15
|
+
- Bump @ot-builder/primitive to v1.6.4
|
|
16
|
+
- Bump @ot-builder/common-impl to v1.6.4
|
|
17
|
+
- Bump @ot-builder/rectify to v1.6.4
|
|
18
|
+
- Bump @ot-builder/trace to v1.6.4
|
|
19
|
+
- Bump @ot-builder/prelude to v1.6.4
|
|
20
|
+
- Bump @ot-builder/ot to v1.6.4
|
|
21
|
+
|
|
7
22
|
## 1.6.3
|
|
8
23
|
|
|
9
|
-
Sat, 22 Apr 2023
|
|
24
|
+
Sat, 22 Apr 2023 01:01:14 GMT
|
|
10
25
|
|
|
11
26
|
### Patches
|
|
12
27
|
|
package/lib/procs/gc.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.gcFont = void 0;
|
|
4
4
|
const ImpLib = require("@ot-builder/common-impl");
|
|
5
|
+
const Ot = require("@ot-builder/ot");
|
|
5
6
|
const Rectify = require("@ot-builder/rectify");
|
|
6
7
|
const initial_visible_glyphs_1 = require("../support/initial-visible-glyphs");
|
|
7
8
|
const index_1 = require("./merge-consolidate/index");
|
|
@@ -46,8 +47,32 @@ function cleanupInaccessibleLookups(table) {
|
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
50
|
+
extendIndirectLookups(keptLookups);
|
|
49
51
|
ImpLib.ArrayHelper.inPlaceShrinkArray(keptLookups, table.lookups);
|
|
50
52
|
}
|
|
53
|
+
function isChainingLookup(lookup) {
|
|
54
|
+
return lookup instanceof Ot.Gsub.Chaining || lookup instanceof Ot.Gpos.Chaining;
|
|
55
|
+
}
|
|
56
|
+
function extendIndirectLookups(keptLookups) {
|
|
57
|
+
let sizeOld = keptLookups.size;
|
|
58
|
+
for (;;) {
|
|
59
|
+
const sizeNew = keptLookups.size;
|
|
60
|
+
for (const l of keptLookups) {
|
|
61
|
+
if (isChainingLookup(l)) {
|
|
62
|
+
for (const rule of l.rules) {
|
|
63
|
+
for (const app of rule.applications)
|
|
64
|
+
keptLookups.add(app.apply);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
if (sizeNew === sizeOld) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
sizeOld = sizeNew;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
51
76
|
function collectAccessibleFeatures(lang, sink) {
|
|
52
77
|
if (lang.requiredFeature)
|
|
53
78
|
sink.add(lang.requiredFeature);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ot-builder/cli-proc",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"tslib": "^2.0.0",
|
|
27
|
-
"@ot-builder/io-bin-font": "1.6.
|
|
28
|
-
"@ot-builder/primitive": "1.6.
|
|
29
|
-
"@ot-builder/common-impl": "1.6.
|
|
30
|
-
"@ot-builder/rectify": "1.6.
|
|
31
|
-
"@ot-builder/trace": "1.6.
|
|
32
|
-
"@ot-builder/prelude": "1.6.
|
|
33
|
-
"@ot-builder/ot": "1.6.
|
|
27
|
+
"@ot-builder/io-bin-font": "1.6.4",
|
|
28
|
+
"@ot-builder/primitive": "1.6.4",
|
|
29
|
+
"@ot-builder/common-impl": "1.6.4",
|
|
30
|
+
"@ot-builder/rectify": "1.6.4",
|
|
31
|
+
"@ot-builder/trace": "1.6.4",
|
|
32
|
+
"@ot-builder/prelude": "1.6.4",
|
|
33
|
+
"@ot-builder/ot": "1.6.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^26.0.23",
|