@vizejs/native 0.116.0 → 0.117.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.js CHANGED
@@ -129,6 +129,7 @@ module.exports.rewriteViteDynamicTemplateImports = nativeBinding.rewriteViteDyna
129
129
  module.exports.rewriteViteStaticAssetUrls = nativeBinding.rewriteViteStaticAssetUrls;
130
130
  module.exports.runCli = nativeBinding.runCli;
131
131
  module.exports.scopeViteCssForPipeline = nativeBinding.scopeViteCssForPipeline;
132
+ module.exports.transformViteCssVarsForPipeline = nativeBinding.transformViteCssVarsForPipeline;
132
133
  module.exports.shouldApplyViteDefineInVirtualModule =
133
134
  nativeBinding.shouldApplyViteDefineInVirtualModule;
134
135
  module.exports.splitViteIdQuery = nativeBinding.splitViteIdQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.116.0",
3
+ "version": "0.117.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -35,14 +35,14 @@
35
35
  "@napi-rs/cli": "3.6.2"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@vizejs/native-darwin-arm64": "0.116.0",
39
- "@vizejs/native-darwin-x64": "0.116.0",
40
- "@vizejs/native-linux-arm64-gnu": "0.116.0",
41
- "@vizejs/native-linux-arm64-musl": "0.116.0",
42
- "@vizejs/native-linux-x64-gnu": "0.116.0",
43
- "@vizejs/native-linux-x64-musl": "0.116.0",
44
- "@vizejs/native-win32-arm64-msvc": "0.116.0",
45
- "@vizejs/native-win32-x64-msvc": "0.116.0"
38
+ "@vizejs/native-darwin-arm64": "0.117.0",
39
+ "@vizejs/native-darwin-x64": "0.117.0",
40
+ "@vizejs/native-linux-arm64-gnu": "0.117.0",
41
+ "@vizejs/native-linux-arm64-musl": "0.117.0",
42
+ "@vizejs/native-linux-x64-gnu": "0.117.0",
43
+ "@vizejs/native-linux-x64-musl": "0.117.0",
44
+ "@vizejs/native-win32-arm64-msvc": "0.117.0",
45
+ "@vizejs/native-win32-x64-msvc": "0.117.0"
46
46
  },
47
47
  "napi": {
48
48
  "binaryName": "vize-vitrine",
package/types/vite.d.ts CHANGED
@@ -209,6 +209,8 @@ export declare function rewriteViteStaticAssetUrls(
209
209
 
210
210
  export declare function scopeViteCssForPipeline(css: string, scopeId: string): string;
211
211
 
212
+ export declare function transformViteCssVarsForPipeline(css: string, scopeId: string): string;
213
+
212
214
  export declare function shouldApplyViteDefineInVirtualModule(key: string): boolean;
213
215
 
214
216
  export declare function splitViteIdQuery(id: string): ViteIdPartsNapi;