@unownplain/anthelion-komac 0.0.52 → 0.0.54

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +13 -13
package/index.d.ts CHANGED
@@ -29,7 +29,7 @@ export interface AnalyzedArtifact {
29
29
  sha256: string
30
30
  /** HTTP last-modified date, when supplied by the server. */
31
31
  releaseDate?: string
32
- /** File version metadata detected in the artifact. */
32
+ /** Version metadata detected in the artifact. */
33
33
  versions: DetectedVersions
34
34
  /** Installers represented by this artifact, including selected nested installers. */
35
35
  installers: Array<AnalyzedInstaller>
@@ -87,6 +87,8 @@ export interface DetectedVersions {
87
87
  file?: string
88
88
  /** PE `ProductVersion`, if present. */
89
89
  product?: string
90
+ /** OpenType name ID 5, normalized for package-version use, if present. */
91
+ font?: string
90
92
  }
91
93
 
92
94
  /** Generated manifest file. */
@@ -186,7 +188,7 @@ export interface UpdatePackageRequest {
186
188
  /** Package identifier, for example `Microsoft.VisualStudioCode`. */
187
189
  packageIdentifier: string
188
190
  /** How to determine the new package version. */
189
- version: string | { source: 'explicit'; value: string } | { source: 'display' | 'product' | 'file' }
191
+ version: string | { source: 'display' | 'product' | 'file' | 'fontVersion' }
190
192
  /** New installer artifacts. */
191
193
  installers: Array<string | InstallerSource>
192
194
  /** Release notes fields for the default locale manifest. */
@@ -207,9 +209,7 @@ export interface UpdatePackageResult {
207
209
  pullRequest?: CreatedPullRequest
208
210
  }
209
211
 
210
- /** Explicit or installer-derived package version selection. */
212
+ /** Installer-derived package version selection. */
211
213
  export interface VersionSelection {
212
- source: 'explicit' | 'display' | 'product' | 'file'
213
- /** Required only when `source` is `explicit`. */
214
- value?: string
214
+ source: 'display' | 'product' | 'file' | 'fontVersion'
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unownplain/anthelion-komac",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "komac JS bindings for Anthelion",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -15,14 +15,14 @@
15
15
  "main": "index.js",
16
16
  "scripts": {
17
17
  "artifacts": "napi artifacts",
18
- "build": "napi build --platform --release --esm --strip",
19
- "build:debug": "napi build --platform --esm",
18
+ "build": "napi build --platform --release --no-default-features --features node --esm --strip",
19
+ "build:debug": "napi build --platform --no-default-features --features node --esm",
20
20
  "prepublishOnly": "napi prepublish -t npm --no-gh-release",
21
- "preversion": "napi build --platform && git add .",
21
+ "preversion": "bun run build && git add .",
22
22
  "version": "napi version"
23
23
  },
24
24
  "devDependencies": {
25
- "@napi-rs/cli": "3.7.3"
25
+ "@napi-rs/cli": "3.7.4"
26
26
  },
27
27
  "napi": {
28
28
  "binaryName": "anthelion-komac",
@@ -41,13 +41,13 @@
41
41
  "node": ">=22.0.0"
42
42
  },
43
43
  "optionalDependencies": {
44
- "@unownplain/anthelion-komac-win32-x64-msvc": "0.0.52",
45
- "@unownplain/anthelion-komac-darwin-x64": "0.0.52",
46
- "@unownplain/anthelion-komac-linux-x64-gnu": "0.0.52",
47
- "@unownplain/anthelion-komac-linux-x64-musl": "0.0.52",
48
- "@unownplain/anthelion-komac-darwin-arm64": "0.0.52",
49
- "@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.52",
50
- "@unownplain/anthelion-komac-linux-arm64-musl": "0.0.52",
51
- "@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.52"
44
+ "@unownplain/anthelion-komac-win32-x64-msvc": "0.0.54",
45
+ "@unownplain/anthelion-komac-darwin-x64": "0.0.54",
46
+ "@unownplain/anthelion-komac-linux-x64-gnu": "0.0.54",
47
+ "@unownplain/anthelion-komac-linux-x64-musl": "0.0.54",
48
+ "@unownplain/anthelion-komac-darwin-arm64": "0.0.54",
49
+ "@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.54",
50
+ "@unownplain/anthelion-komac-linux-arm64-musl": "0.0.54",
51
+ "@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.54"
52
52
  }
53
53
  }