@vizejs/unplugin 0.423.2 → 0.424.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/dist/babel.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_unplugin = require("./unplugin-hStYH29E.cjs");
1
+ const require_unplugin = require("./unplugin-CVX51sBt.cjs");
2
2
  //#region src/babel.ts
3
3
  function vizeBabelPlugin(_api, rawOptions = {}) {
4
4
  const options = require_unplugin.normalizeOptions(rawOptions);
package/dist/babel.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
 
3
3
  //#region src/babel.d.ts
4
4
  type BabelParserOptions = Record<string, unknown> & {
package/dist/babel.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
 
3
3
  //#region src/babel.d.ts
4
4
  type BabelParserOptions = Record<string, unknown> & {
package/dist/babel.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as createFilter, i as generateOutput, r as compileVueModule, t as normalizeOptions } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { a as createFilter, i as generateOutput, r as compileVueModule, t as normalizeOptions } from "./unplugin-CreP_VP8.mjs";
2
2
  //#region src/babel.ts
3
3
  function vizeBabelPlugin(_api, rawOptions = {}) {
4
4
  const options = normalizeOptions(rawOptions);
package/dist/esbuild.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region src/esbuild.ts
2
- var esbuild_default = require("./unplugin-hStYH29E.cjs").vizeUnplugin.esbuild;
2
+ var esbuild_default = require("./unplugin-CVX51sBt.cjs").vizeUnplugin.esbuild;
3
3
  //#endregion
4
4
  module.exports = esbuild_default;
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
 
3
3
  //#region src/esbuild.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").EsbuildPlugin;
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
 
3
3
  //#region src/esbuild.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").EsbuildPlugin;
package/dist/esbuild.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as vizeUnplugin } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
2
2
  //#region src/esbuild.ts
3
3
  var esbuild_default = vizeUnplugin.esbuild;
4
4
  //#endregion
package/dist/index.cjs CHANGED
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_unplugin = require("./unplugin-hStYH29E.cjs");
5
+ const require_unplugin = require("./unplugin-CVX51sBt.cjs");
6
6
  exports.default = require_unplugin.vizeUnplugin;
7
7
  exports.vizeUnplugin = require_unplugin.vizeUnplugin;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-DsKSQdDW.cjs";
1
+ import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-2ckklscg.cjs";
2
2
  import { Compiler } from "webpack";
3
3
 
4
4
  //#region src/unplugin.d.ts
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-DsKSQdDW.mjs";
1
+ import { i as VizeVueVersion, n as VizeCompatibilityOptions, r as VizeUnpluginOptions, t as MacroArtifact } from "./types-2ckklscg.mjs";
2
2
  import { Compiler } from "webpack";
3
3
 
4
4
  //#region src/unplugin.d.ts
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as vizeUnplugin } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
2
2
  export { vizeUnplugin as default, vizeUnplugin };
package/dist/rolldown.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region src/rolldown.ts
2
- var rolldown_default = require("./unplugin-hStYH29E.cjs").vizeUnplugin.rollup;
2
+ var rolldown_default = require("./unplugin-CVX51sBt.cjs").vizeUnplugin.rollup;
3
3
  //#endregion
4
4
  module.exports = rolldown_default;
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
 
3
3
  //#region src/rolldown.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
 
3
3
  //#region src/rolldown.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
package/dist/rolldown.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as vizeUnplugin } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
2
2
  //#region src/rolldown.ts
3
3
  var rolldown_default = vizeUnplugin.rollup;
4
4
  //#endregion
package/dist/rollup.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region src/rollup.ts
2
- var rollup_default = require("./unplugin-hStYH29E.cjs").vizeUnplugin.rollup;
2
+ var rollup_default = require("./unplugin-CVX51sBt.cjs").vizeUnplugin.rollup;
3
3
  //#endregion
4
4
  module.exports = rollup_default;
package/dist/rollup.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
 
3
3
  //#region src/rollup.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
package/dist/rollup.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
 
3
3
  //#region src/rollup.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("unplugin").RollupPlugin<any> | import("unplugin").RollupPlugin<any>[];
package/dist/rollup.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as vizeUnplugin } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
2
2
  //#region src/rollup.ts
3
3
  var rollup_default = vizeUnplugin.rollup;
4
4
  //#endregion
@@ -19,6 +19,8 @@ interface VizeUnpluginOptions {
19
19
  vapor?: boolean;
20
20
  experimentalInTagComments?: boolean;
21
21
  experimentalPatternedTemplate?: boolean;
22
+ experimentalSelfComponent?: boolean;
23
+ experimentalStrictSlotChildren?: boolean;
22
24
  experimentalServerScript?: boolean;
23
25
  /**
24
26
  * Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
@@ -19,6 +19,8 @@ interface VizeUnpluginOptions {
19
19
  vapor?: boolean;
20
20
  experimentalInTagComments?: boolean;
21
21
  experimentalPatternedTemplate?: boolean;
22
+ experimentalSelfComponent?: boolean;
23
+ experimentalStrictSlotChildren?: boolean;
22
24
  experimentalServerScript?: boolean;
23
25
  /**
24
26
  * Default output mode for `.jsx`/`.tsx` components without a `"use vue:*"`
@@ -174,6 +174,8 @@ function buildSignature(options) {
174
174
  options.templateSyntax,
175
175
  options.experimentalInTagComments ? "1" : "0",
176
176
  options.experimentalPatternedTemplate ? "1" : "0",
177
+ options.experimentalSelfComponent ? "1" : "0",
178
+ options.experimentalStrictSlotChildren ? "1" : "0",
177
179
  options.experimentalServerScript ? "1" : "0",
178
180
  options.sourceMap ? "1" : "0",
179
181
  options.mode,
@@ -207,6 +209,8 @@ function compileVueModule(filePath, source, options, cache) {
207
209
  templateSyntax: options.templateSyntax,
208
210
  experimentalInTagComments: options.experimentalInTagComments,
209
211
  experimentalPatternedTemplate: options.experimentalPatternedTemplate,
212
+ experimentalSelfComponent: options.experimentalSelfComponent,
213
+ experimentalStrictSlotChildren: options.experimentalStrictSlotChildren,
210
214
  experimentalServerScript: options.experimentalServerScript,
211
215
  runtimeModuleName: options.runtimeModuleName,
212
216
  runtimeGlobalName: options.runtimeGlobalName,
@@ -362,6 +366,8 @@ function normalizeOptions(rawOptions = {}) {
362
366
  vapor: rawOptions.vapor ?? false,
363
367
  experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
364
368
  experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
369
+ experimentalSelfComponent: rawOptions.experimentalSelfComponent ?? false,
370
+ experimentalStrictSlotChildren: rawOptions.experimentalStrictSlotChildren ?? false,
365
371
  experimentalServerScript: rawOptions.experimentalServerScript ?? false,
366
372
  jsxMode: rawOptions.jsxMode,
367
373
  jsxCompat: rawOptions.jsxCompat,
@@ -151,6 +151,8 @@ function buildSignature(options) {
151
151
  options.templateSyntax,
152
152
  options.experimentalInTagComments ? "1" : "0",
153
153
  options.experimentalPatternedTemplate ? "1" : "0",
154
+ options.experimentalSelfComponent ? "1" : "0",
155
+ options.experimentalStrictSlotChildren ? "1" : "0",
154
156
  options.experimentalServerScript ? "1" : "0",
155
157
  options.sourceMap ? "1" : "0",
156
158
  options.mode,
@@ -184,6 +186,8 @@ function compileVueModule(filePath, source, options, cache) {
184
186
  templateSyntax: options.templateSyntax,
185
187
  experimentalInTagComments: options.experimentalInTagComments,
186
188
  experimentalPatternedTemplate: options.experimentalPatternedTemplate,
189
+ experimentalSelfComponent: options.experimentalSelfComponent,
190
+ experimentalStrictSlotChildren: options.experimentalStrictSlotChildren,
187
191
  experimentalServerScript: options.experimentalServerScript,
188
192
  runtimeModuleName: options.runtimeModuleName,
189
193
  runtimeGlobalName: options.runtimeGlobalName,
@@ -339,6 +343,8 @@ function normalizeOptions(rawOptions = {}) {
339
343
  vapor: rawOptions.vapor ?? false,
340
344
  experimentalInTagComments: rawOptions.experimentalInTagComments ?? false,
341
345
  experimentalPatternedTemplate: rawOptions.experimentalPatternedTemplate ?? false,
346
+ experimentalSelfComponent: rawOptions.experimentalSelfComponent ?? false,
347
+ experimentalStrictSlotChildren: rawOptions.experimentalStrictSlotChildren ?? false,
342
348
  experimentalServerScript: rawOptions.experimentalServerScript ?? false,
343
349
  jsxMode: rawOptions.jsxMode,
344
350
  jsxCompat: rawOptions.jsxCompat,
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
  import { Compiler } from "webpack";
3
3
 
4
4
  //#region src/webpack-cjs.d.ts
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
  import { Compiler } from "webpack";
3
3
 
4
4
  //#region src/webpack-cjs.d.ts
package/dist/webpack.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region src/webpack.ts
2
- var webpack_default = require("./unplugin-hStYH29E.cjs").vizeUnplugin.webpack;
2
+ var webpack_default = require("./unplugin-CVX51sBt.cjs").vizeUnplugin.webpack;
3
3
  //#endregion
4
4
  module.exports = webpack_default;
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.cjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.cjs";
2
2
 
3
3
  //#region src/webpack.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("webpack").WebpackPluginInstance;
@@ -1,4 +1,4 @@
1
- import { r as VizeUnpluginOptions } from "./types-DsKSQdDW.mjs";
1
+ import { r as VizeUnpluginOptions } from "./types-2ckklscg.mjs";
2
2
 
3
3
  //#region src/webpack.d.ts
4
4
  declare const _default: (options?: VizeUnpluginOptions | undefined) => import("webpack").WebpackPluginInstance;
package/dist/webpack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as vizeUnplugin } from "./unplugin-t9rNMB4Y.mjs";
1
+ import { n as vizeUnplugin } from "./unplugin-CreP_VP8.mjs";
2
2
  //#region src/webpack.ts
3
3
  var webpack_default = vizeUnplugin.webpack;
4
4
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/unplugin",
3
- "version": "0.423.2",
3
+ "version": "0.424.0",
4
4
  "description": "Experimental Vue SFC integrations for Rollup, Rolldown, Webpack, esbuild, and Babel powered by Vize",
5
5
  "keywords": [
6
6
  "babel",
@@ -68,7 +68,7 @@
68
68
  "access": "public"
69
69
  },
70
70
  "dependencies": {
71
- "@vizejs/native": "0.423.2",
71
+ "@vizejs/native": "0.424.0",
72
72
  "oxc-transform": "0.144.0",
73
73
  "unplugin": "3.3.0"
74
74
  },