@ox-content/napi 2.68.0 → 2.70.0

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 +9 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -349,6 +349,7 @@ export interface JsDocEntry {
349
349
  description: string
350
350
  params?: Array<JsDocParam>
351
351
  returns?: JsDocReturn
352
+ throws?: Array<JsDocThrows>
352
353
  examples?: Array<string>
353
354
  tags?: Record<string, string>
354
355
  private: boolean
@@ -378,6 +379,7 @@ export interface JsDocMember {
378
379
  params?: Array<JsDocParam>
379
380
  typeParameters?: Array<JsTypeParam>
380
381
  returns?: JsDocReturn
382
+ throws?: Array<JsDocThrows>
381
383
  members?: Array<JsDocMember>
382
384
  optional?: boolean
383
385
  readonly?: boolean
@@ -422,6 +424,7 @@ export interface JsDocsMarkdownEntry {
422
424
  description: string
423
425
  params?: Array<JsDocParam>
424
426
  returns?: JsDocReturn
427
+ throws?: Array<JsDocThrows>
425
428
  examples?: Array<string>
426
429
  tags?: Array<JsDocsMarkdownTag>
427
430
  private: boolean
@@ -588,6 +591,12 @@ export interface JsDocsTestOptions {
588
591
  requireMeta?: boolean
589
592
  }
590
593
 
594
+ /** Exception/error documentation used by generated API docs. */
595
+ export interface JsDocThrows {
596
+ type?: string
597
+ description: string
598
+ }
599
+
591
600
  /** Edit-this-page link options. */
592
601
  export interface JsEditThisPageOptions {
593
602
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ox-content/napi",
3
- "version": "2.68.0",
3
+ "version": "2.70.0",
4
4
  "description": "Node.js bindings for Ox Content - High-performance Markdown parser",
5
5
  "keywords": [
6
6
  "markdown",
@@ -45,10 +45,10 @@
45
45
  ]
46
46
  },
47
47
  "optionalDependencies": {
48
- "@ox-content/binding-darwin-x64": "2.68.0",
49
- "@ox-content/binding-darwin-arm64": "2.68.0",
50
- "@ox-content/binding-linux-x64-gnu": "2.68.0",
51
- "@ox-content/binding-linux-arm64-gnu": "2.68.0",
52
- "@ox-content/binding-win32-x64-msvc": "2.68.0"
48
+ "@ox-content/binding-darwin-x64": "2.70.0",
49
+ "@ox-content/binding-darwin-arm64": "2.70.0",
50
+ "@ox-content/binding-linux-x64-gnu": "2.70.0",
51
+ "@ox-content/binding-linux-arm64-gnu": "2.70.0",
52
+ "@ox-content/binding-win32-x64-msvc": "2.70.0"
53
53
  }
54
54
  }