@neverblink/ohi 0.18.7 → 0.18.8-snapshot.15.g2a574dad

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Search ontologies on [ohi.dev](https://ohi.dev), inspect their metadata, download selected files and save file selections.
4
4
 
5
- Works with Node 22 or later and browsers with Fetch. Browsers need CORS access to the catalog, publication and artifact endpoints.
5
+ Works with Node 20 or later and browsers with Fetch. Browsers need CORS access to the catalog, publication and artifact endpoints.
6
6
 
7
7
  ```sh
8
8
  npm install @neverblink/ohi
@@ -128,8 +128,8 @@ export interface LockError {
128
128
  export interface LockedFile {
129
129
  /** Permanent absolute URL identifying one exact immutable publication. GET this exact URL returns its publication JSON. Do not append a filename. */
130
130
  base_url: string;
131
- /** Ontology language and syntax of the artifact. */
132
- format: Format;
131
+ /** Ontology language and syntax of the file. A Format value, or one from a later version of ohi. */
132
+ format: string;
133
133
  /** Permanent absolute download URL of an immutable ontology file. */
134
134
  url: string;
135
135
  /** SHA-256 of the file bytes before HTTP content encoding. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neverblink/ohi",
3
- "version": "0.18.7",
3
+ "version": "0.18.8-snapshot.15.g2a574dad",
4
4
  "description": "Search ontologies on ohi.dev, inspect their metadata and download their files.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://ohi.dev/docs/reference/sdks/",
@@ -25,7 +25,7 @@
25
25
  "access": "public"
26
26
  },
27
27
  "engines": {
28
- "node": ">=22"
28
+ "node": ">=20"
29
29
  },
30
30
  "type": "module",
31
31
  "exports": {
@@ -42,7 +42,7 @@
42
42
  "test:browser": "npm run build && node --test test/browser.mjs"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "22.20.5",
45
+ "@types/node": "20.19.43",
46
46
  "esbuild": "0.28.2",
47
47
  "playwright-core": "1.64.0",
48
48
  "typescript": "7.0.2"