@vizejs/native 0.68.0 → 0.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 (3) hide show
  1. package/index.d.ts +12 -1
  2. package/index.js +2 -0
  3. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -1 +1,12 @@
1
- export {};
1
+ export interface DeclarationOptions {
2
+ filename?: string;
3
+ }
4
+
5
+ export interface DeclarationResult {
6
+ code: string;
7
+ }
8
+
9
+ export function generateDeclaration(
10
+ source: string,
11
+ options?: DeclarationOptions,
12
+ ): DeclarationResult;
package/index.js CHANGED
@@ -288,6 +288,7 @@ const {
288
288
  typeCheck,
289
289
  getTypeCheckCapabilities,
290
290
  typeCheckBatch,
291
+ generateDeclaration,
291
292
  compile,
292
293
  compileVapor,
293
294
  parseTemplate,
@@ -311,6 +312,7 @@ const {
311
312
  module.exports.typeCheck = typeCheck;
312
313
  module.exports.getTypeCheckCapabilities = getTypeCheckCapabilities;
313
314
  module.exports.typeCheckBatch = typeCheckBatch;
315
+ module.exports.generateDeclaration = generateDeclaration;
314
316
  module.exports.compile = compile;
315
317
  module.exports.compileVapor = compileVapor;
316
318
  module.exports.parseTemplate = parseTemplate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.68.0",
3
+ "version": "0.70.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -41,14 +41,14 @@
41
41
  ]
42
42
  },
43
43
  "optionalDependencies": {
44
- "@vizejs/native-darwin-x64": "0.68.0",
45
- "@vizejs/native-darwin-arm64": "0.68.0",
46
- "@vizejs/native-win32-x64-msvc": "0.68.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.68.0",
48
- "@vizejs/native-linux-x64-gnu": "0.68.0",
49
- "@vizejs/native-linux-x64-musl": "0.68.0",
50
- "@vizejs/native-linux-arm64-gnu": "0.68.0",
51
- "@vizejs/native-linux-arm64-musl": "0.68.0"
44
+ "@vizejs/native-darwin-x64": "0.70.0",
45
+ "@vizejs/native-darwin-arm64": "0.70.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.70.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.70.0",
48
+ "@vizejs/native-linux-x64-gnu": "0.70.0",
49
+ "@vizejs/native-linux-x64-musl": "0.70.0",
50
+ "@vizejs/native-linux-arm64-gnu": "0.70.0",
51
+ "@vizejs/native-linux-arm64-musl": "0.70.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "node ./scripts/build-local.mjs --release",