satteri 0.6.2 → 0.6.3

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.
@@ -1,12 +1,13 @@
1
1
  import { type HastNode } from "./hast-materializer.js";
2
2
  import type { HastRaw } from "../types.js";
3
3
  import type { Element, Text, Comment, Doctype } from "hast";
4
+ import type { Program } from "estree-jsx";
4
5
  import type { MdxJsxFlowElementHast, MdxJsxTextElementHast } from "../mdx-types.js";
5
6
  import type { MdxFlowExpressionHast, MdxTextExpressionHast } from "../mdx-types.js";
6
7
  import type { MdxjsEsmHast } from "../mdx-types.js";
7
8
  export type HastHandle = any;
8
9
  /** ESTree-compatible Program node returned by `parseExpression()`. */
9
- export type EstreeProgram = Record<string, any>;
10
+ export type EstreeProgram = Program;
10
11
  export interface HastDiagnostic {
11
12
  message: string;
12
13
  nodeId?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "satteri",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "High-performance Markdown and MDX processing",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,6 +35,7 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
+ "@types/estree-jsx": "^1.0.5",
38
39
  "@types/hast": "^3.0.4",
39
40
  "@types/mdast": "^4.0.4",
40
41
  "@types/unist": "^3.0.3"
@@ -79,11 +80,11 @@
79
80
  ]
80
81
  },
81
82
  "optionalDependencies": {
82
- "@bruits/satteri-linux-x64-gnu": "0.6.2",
83
- "@bruits/satteri-darwin-x64": "0.6.2",
84
- "@bruits/satteri-darwin-arm64": "0.6.2",
85
- "@bruits/satteri-win32-x64-msvc": "0.6.2",
86
- "@bruits/satteri-wasm32-wasi": "0.6.2"
83
+ "@bruits/satteri-linux-x64-gnu": "0.6.3",
84
+ "@bruits/satteri-darwin-x64": "0.6.3",
85
+ "@bruits/satteri-darwin-arm64": "0.6.3",
86
+ "@bruits/satteri-win32-x64-msvc": "0.6.3",
87
+ "@bruits/satteri-wasm32-wasi": "0.6.3"
87
88
  },
88
89
  "scripts": {
89
90
  "build:binary:wasm": "napi build --manifest-path ../../crates/satteri-napi-binding/Cargo.toml --output-dir . --platform --release --esm --strip --target wasm32-wasip1-threads",