@web-widget/vue2 1.52.0 → 1.52.1

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 (2) hide show
  1. package/dist/vite.js +3 -3
  2. package/package.json +5 -5
package/dist/vite.js CHANGED
@@ -8,8 +8,8 @@ function vue2WebWidgetPlugin(options) {
8
8
  export: exportWidget = {},
9
9
  import: importWidget = {}
10
10
  } = options != null ? options : {};
11
- const route = /(?:\.|@)route\.vue(?:\?as=.+)?$/;
12
- const widget = /(?:\.|@)widget\.vue(?:\?as=.+)?$/;
11
+ const route = /[.@]route\.vue(?:\?as=.+)?$/;
12
+ const widget = /[.@]widget\.vue(?:\?as=.+)?$/;
13
13
  return webWidgetPlugin({
14
14
  manifest,
15
15
  provide,
@@ -30,7 +30,7 @@ function vue2WebWidgetPlugin(options) {
30
30
  ...exportWidget
31
31
  },
32
32
  import: {
33
- include: /(?:\.|@)widget\.[^?]*(?:\?as=.+)?$/,
33
+ include: /[.@]widget\.[^?]*(?:\?as=.+)?$/,
34
34
  includeImporter: [
35
35
  // vite: dev mode
36
36
  /\.vue(?:\?as=.+)?$/,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-widget/vue2",
3
3
  "description": "Vue2 adapter",
4
- "version": "1.52.0",
4
+ "version": "1.52.1",
5
5
  "homepage": "https://github.com/web-widget/web-widget#readme",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,10 +13,10 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@web-widget/helpers": "1.52.0",
17
- "@web-widget/vite-plugin": "1.52.0",
18
- "@web-widget/web-widget": "1.52.0",
19
- "@web-widget/react": "1.52.0"
16
+ "@web-widget/helpers": "1.52.1",
17
+ "@web-widget/vite-plugin": "1.52.1",
18
+ "@web-widget/web-widget": "1.52.1",
19
+ "@web-widget/react": "1.52.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.2.0",