@vizejs/native 0.812.0 → 0.814.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.
- package/index.d.ts +44 -0
- package/index.js +1 -0
- package/package.json +11 -10
package/index.d.ts
CHANGED
|
@@ -1108,6 +1108,50 @@ export declare function normalizeViteVirtualVueModuleId(id: string): string;
|
|
|
1108
1108
|
*/
|
|
1109
1109
|
export declare function normalizeVizeConfig(value: unknown): unknown;
|
|
1110
1110
|
|
|
1111
|
+
/**
|
|
1112
|
+
* Find the constructs Nuxt's template diagnostics check in an SFC.
|
|
1113
|
+
*
|
|
1114
|
+
* `serverTags` names the tags of the app's server components; `<NuxtLink>`
|
|
1115
|
+
* and `<NuxtIsland>` are always checked. An SFC that does not parse, or whose
|
|
1116
|
+
* template is external or not HTML, yields nothing.
|
|
1117
|
+
*/
|
|
1118
|
+
export declare function nuxtTemplateDiagnostics(
|
|
1119
|
+
source: string,
|
|
1120
|
+
serverTags?: Array<string> | undefined | null,
|
|
1121
|
+
): Array<NuxtTemplateFindingNapi>;
|
|
1122
|
+
|
|
1123
|
+
/** A template construct Nuxt's template node transform reports. */
|
|
1124
|
+
export interface NuxtTemplateFindingNapi {
|
|
1125
|
+
/**
|
|
1126
|
+
* `link` (a static `<NuxtLink>` target), `event` (`v-on`/`v-model` on a
|
|
1127
|
+
* candidate server component), `prop` (an unserializable prop on one) or
|
|
1128
|
+
* `island` (an unserializable `<NuxtIsland>` `props`/`context` entry).
|
|
1129
|
+
*/
|
|
1130
|
+
kind: string;
|
|
1131
|
+
/** The element's tag as authored. */
|
|
1132
|
+
tag: string;
|
|
1133
|
+
/** One-based line of the attribute in the SFC. */
|
|
1134
|
+
line: number;
|
|
1135
|
+
/** One-based UTF-16 column of the attribute. */
|
|
1136
|
+
column: number;
|
|
1137
|
+
/** UTF-16 offset of the attribute in the SFC. */
|
|
1138
|
+
offset: number;
|
|
1139
|
+
/** `link`: the attribute holding the target (`to` or `href`). */
|
|
1140
|
+
attribute?: string;
|
|
1141
|
+
/** `link`: the target as written. */
|
|
1142
|
+
to?: string;
|
|
1143
|
+
/** `event`: the directive as authored, e.g. `@click.stop`. */
|
|
1144
|
+
directive?: string;
|
|
1145
|
+
/** `prop`/`island`: the prop or entry name. */
|
|
1146
|
+
prop?: string;
|
|
1147
|
+
/** `prop`/`island`: what the value is (`a function`, `a class`, ...). */
|
|
1148
|
+
value?: string;
|
|
1149
|
+
/** `island`: the static `name` attribute, when it has a value. */
|
|
1150
|
+
islandName?: string;
|
|
1151
|
+
/** `island`: the bound prop (`props` or `context`). */
|
|
1152
|
+
islandProp?: string;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1111
1155
|
/** Open the proxy-arm handle over one SFC, computing `templateScopes`. */
|
|
1112
1156
|
export declare function openPluginDocument(
|
|
1113
1157
|
source: string,
|
package/index.js
CHANGED
|
@@ -96,6 +96,7 @@ module.exports.normalizeViteRequireBase = nativeBinding.normalizeViteRequireBase
|
|
|
96
96
|
module.exports.normalizeViteResolvedVuePath = nativeBinding.normalizeViteResolvedVuePath;
|
|
97
97
|
module.exports.normalizeViteVirtualVueModuleId = nativeBinding.normalizeViteVirtualVueModuleId;
|
|
98
98
|
module.exports.normalizeVizeConfig = nativeBinding.normalizeVizeConfig;
|
|
99
|
+
module.exports.nuxtTemplateDiagnostics = nativeBinding.nuxtTemplateDiagnostics;
|
|
99
100
|
module.exports.openPluginDocument = nativeBinding.openPluginDocument;
|
|
100
101
|
module.exports.parseArt = nativeBinding.parseArt;
|
|
101
102
|
module.exports.parseArtStatusWarnings = nativeBinding.parseArtStatusWarnings;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.814.0",
|
|
4
4
|
"description": "High-performance Vue.js compiler - Native bindings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@napi-rs/cli": "3.10.12"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"@vizejs/native-darwin-x64": "0.
|
|
43
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
44
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
45
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
46
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
47
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
48
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
49
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
42
|
+
"@vizejs/native-darwin-x64": "0.814.0",
|
|
43
|
+
"@vizejs/native-darwin-arm64": "0.814.0",
|
|
44
|
+
"@vizejs/native-win32-x64-msvc": "0.814.0",
|
|
45
|
+
"@vizejs/native-win32-arm64-msvc": "0.814.0",
|
|
46
|
+
"@vizejs/native-linux-x64-gnu": "0.814.0",
|
|
47
|
+
"@vizejs/native-linux-x64-musl": "0.814.0",
|
|
48
|
+
"@vizejs/native-linux-arm64-gnu": "0.814.0",
|
|
49
|
+
"@vizejs/native-linux-arm64-musl": "0.814.0"
|
|
50
50
|
},
|
|
51
51
|
"napi": {
|
|
52
52
|
"binaryName": "vize-vitrine",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
"metadata": {
|
|
68
68
|
"vize": {
|
|
69
69
|
"stability": "alpha-supported",
|
|
70
|
-
"stabilityDocs": "https://github.com/ubugeeei-prod/vize/blob/main/docs/content/stability.md#package-support-tiers"
|
|
70
|
+
"stabilityDocs": "https://github.com/ubugeeei-prod/vize/blob/main/docs/content/stability.md#package-support-tiers",
|
|
71
|
+
"channel": "v1-alpha"
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
74
|
"scripts": {
|