@vizejs/unplugin 0.36.0 → 0.38.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/esbuild.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as vizeUnplugin } from "./unplugin-DYS6RgJy.mjs";
1
+ import { t as vizeUnplugin } from "./unplugin-D_lPI0FK.mjs";
2
2
  //#region src/esbuild.ts
3
3
  var esbuild_default = vizeUnplugin.esbuild;
4
4
  //#endregion
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as vizeUnplugin } from "./unplugin-DYS6RgJy.mjs";
1
+ import { t as vizeUnplugin } from "./unplugin-D_lPI0FK.mjs";
2
2
  export { vizeUnplugin as default, vizeUnplugin };
package/dist/rollup.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as vizeUnplugin } from "./unplugin-DYS6RgJy.mjs";
1
+ import { t as vizeUnplugin } from "./unplugin-D_lPI0FK.mjs";
2
2
  //#region src/rollup.ts
3
3
  var rollup_default = vizeUnplugin.rollup;
4
4
  //#endregion
@@ -48,7 +48,7 @@ function extractStyleBlocks(source) {
48
48
  const src = attrs.match(/\bsrc=["']([^"']+)["']/)?.[1] ?? null;
49
49
  const lang = attrs.match(/\blang=["']([^"']+)["']/)?.[1] ?? null;
50
50
  const scoped = /\bscoped\b/.test(attrs);
51
- const moduleMatch = attrs.match(/\bmodule(?:=["']([^"']+)["'])?\b/);
51
+ const moduleMatch = attrs.match(/\bmodule(?:=["']([^"']+)["'])?/);
52
52
  const moduleValue = moduleMatch ? moduleMatch[1] || true : false;
53
53
  blocks.push({
54
54
  content,
package/dist/webpack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as vizeUnplugin } from "./unplugin-DYS6RgJy.mjs";
1
+ import { t as vizeUnplugin } from "./unplugin-D_lPI0FK.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.36.0",
3
+ "version": "0.38.0",
4
4
  "description": "Experimental unplugin-based Vue SFC integration for rollup, webpack, and esbuild powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "oxc-transform": "^0.116.0",
55
55
  "unplugin": "^3.0.0",
56
- "@vizejs/native": "0.36.0"
56
+ "@vizejs/native": "0.38.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^22.0.0",