Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ot-builder/cli-proc

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ot-builder/cli-proc - npm Package Compare versions

Comparing version
1.0.8
to
1.0.9
+15
-0
CHANGELOG.json

@@ -5,2 +5,17 @@ {

{
"date": "Sat, 05 Jun 2021 01:36:11 GMT",
"tag": "@ot-builder/cli-proc_v1.0.9",
"version": "1.0.9",
"comments": {
"patch": [
{
"comment": "Bump @ot-builder/cli-proc to v1.0.9",
"author": "otbbuilder-dev@users.noreply.github.com",
"commit": "80e143620017342699ae8f221ed1593d4a9ffc76",
"package": "@ot-builder/cli-proc"
}
]
}
},
{
"date": "Sat, 15 May 2021 06:59:10 GMT",

@@ -7,0 +22,0 @@ "tag": "@ot-builder/cli-proc_v1.0.6",

+9
-1
# Change Log - @ot-builder/cli-proc
This log was last generated on Sat, 15 May 2021 06:59:10 GMT and should not be manually modified.
This log was last generated on Sat, 05 Jun 2021 01:36:11 GMT and should not be manually modified.
<!-- Start content -->
## 1.0.9
Sat, 05 Jun 2021 01:36:11 GMT
### Patches
- Bump @ot-builder/cli-proc to v1.0.9 (otbbuilder-dev@users.noreply.github.com)
## 1.0.6

@@ -8,0 +16,0 @@

+1
-1

@@ -5,4 +5,4 @@ export { gcFont } from "./procs/gc";

export { subsetFont } from "./procs/subset";
export { shareGlyphSet, GlyphSharer, ShareGlyphSetOptions } from "./procs/share-glyph-set";
export { shareGlyphSet, GlyphSharer, ShareGlyphSetOptions, GlyphUnificationResults } from "./procs/share-glyph-set";
export { unifyDesignSpaces } from "./support/design-unifier/index";
//# sourceMappingURL=index.d.ts.map

@@ -11,2 +11,3 @@ import * as Ot from "@ot-builder/ot";

fonts: Ot.Font<GS>[];
fontUnificationResults: GlyphUnificationResults[];
addFont(inputFont: Ot.Font<GS>): void;

@@ -17,2 +18,5 @@ unifyGlyphList(): void;

export declare function shareGlyphSet<GS extends Ot.GlyphStore>(fonts: Ot.Font<GS>[], gsf: Ot.GlyphStoreFactory<GS>, options?: ShareGlyphSetOptions): void;
export declare type GlyphUnificationResults = {
originalNames: WeakMap<Ot.Glyph, string>;
};
//# sourceMappingURL=share-glyph-set.d.ts.map

@@ -13,2 +13,3 @@ "use strict";

this.fonts = [];
this.fontUnificationResults = [];
}

@@ -18,3 +19,4 @@ addFont(inputFont) {

design_unifier_1.unifyDesignSpacesImpl(this.session, this.fonts[0], inputFont);
unifyGlyphByHash(inputFont, this.gsf, this.session, this.sharedGs, this.fonts.length);
const ur = unifyGlyphByHash(inputFont, this.gsf, this.session, this.sharedGs, this.fonts.length);
this.fontUnificationResults.push(ur);
this.fonts.push(inputFont);

@@ -45,2 +47,3 @@ }

const result = [];
const originalNames = new WeakMap();
for (let gid = 0; gid < gOrd.length; gid++) {

@@ -51,6 +54,9 @@ const g = gOrd.at(gid);

result[gid] = sharedGlyph;
if (gid && g.name)
originalNames.set(sharedGlyph, g.name);
}
Rectify.inPlaceRectifyFontGlyphReferences(sharing, font);
font.glyphs = gsf.createStoreFromList(result);
return { originalNames };
}
//# sourceMappingURL=share-glyph-set.js.map
{
"name": "@ot-builder/cli-proc",
"version": "1.0.8",
"version": "1.0.9",
"license": "MIT",

@@ -18,9 +18,9 @@ "main": "./lib/index.js",

"chalk": "^4.1.0",
"@ot-builder/io-bin-font": "1.0.8",
"@ot-builder/primitive": "1.0.8",
"@ot-builder/common-impl": "1.0.8",
"@ot-builder/rectify": "1.0.8",
"@ot-builder/trace": "1.0.8",
"@ot-builder/prelude": "1.0.8",
"@ot-builder/ot": "1.0.8"
"@ot-builder/io-bin-font": "1.0.9",
"@ot-builder/primitive": "1.0.9",
"@ot-builder/common-impl": "1.0.9",
"@ot-builder/rectify": "1.0.9",
"@ot-builder/trace": "1.0.9",
"@ot-builder/prelude": "1.0.9",
"@ot-builder/ot": "1.0.9"
},

@@ -27,0 +27,0 @@ "devDependencies": {