@vuebro/loader-sfc 2.3.3 → 2.3.5

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.
@@ -19509,6 +19509,7 @@ function f0() {
19509
19509
  })(El, El.exports)), El.exports;
19510
19510
  }
19511
19511
  var dm, fm, mm, wl = { exports: {} };
19512
+ /*! https://mths.be/cssesc v3.0.0 by @mathias */
19512
19513
  function Pu() {
19513
19514
  if (fm) return dm;
19514
19515
  fm = 1;
@@ -154,5 +154,5 @@ export default async (filename, { parseOptions, scriptOptions: { templateOptions
154
154
  /* -------------------------------------------------------------------------- */
155
155
  /* Формирование возвращаемого компонента */
156
156
  /* -------------------------------------------------------------------------- */
157
- return { __scopeId: id, ...scriptResult?.default, ...templateResult };
157
+ return { __scopeId: id, ...scriptResult?.["default"], ...templateResult };
158
158
  };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@vuebro/loader-sfc",
3
- "description": "Single File Component loader",
3
+ "version": "2.3.5",
4
+ "description": "Vue3 Single File Component (SFC) loader. Load .vue files directly from your browser without any build step.",
4
5
  "keywords": [
5
6
  "vue",
6
7
  "vuejs",
@@ -12,44 +13,59 @@
12
13
  "bugs": {
13
14
  "url": "https://github.com/vuebro/loader-sfc/issues"
14
15
  },
15
- "author": {
16
- "name": "Jerry Bruwes",
17
- "email": "jbruwes@gmail.com"
18
- },
19
16
  "repository": {
20
17
  "type": "git",
21
18
  "url": "git+https://github.com/vuebro/loader-sfc.git"
22
19
  },
23
20
  "license": "AGPL-3.0-only",
24
- "version": "2.3.3",
21
+ "author": {
22
+ "name": "Jerry Bruwes",
23
+ "email": "jbruwes@gmail.com"
24
+ },
25
25
  "type": "module",
26
26
  "main": "./dist/loader-sfc.js",
27
27
  "types": "./dist/loader-sfc.d.ts",
28
28
  "scripts": {
29
- "lint": "eslint .",
30
- "lint:fix": "eslint . --fix",
31
- "build": "tsc && vite build"
29
+ "build": "vue-tsc && vite build",
30
+ "lint": "eslint ."
31
+ },
32
+ "dependencies": {
33
+ "@types/hash-sum": "^1.0.2",
34
+ "consola": "^3.4.2",
35
+ "hash-sum": "^2.0.0",
36
+ "sucrase": "^3.35.0",
37
+ "vue": "^3.5.22"
32
38
  },
33
39
  "devDependencies": {
34
- "@eslint/js": "^9.37.0",
40
+ "@eslint/js": "^9.38.0",
41
+ "@eslint/json": "^0.13.2",
42
+ "@eslint/markdown": "^7.4.0",
43
+ "@prettier/plugin-pug": "^3.4.2",
35
44
  "@rollup/plugin-terser": "^0.4.4",
36
- "@types/hash-sum": "^1.0.2",
37
- "@types/node": "^24.7.2",
38
- "eslint": "^9.37.0",
45
+ "@tsconfig/strictest": "^2.0.6",
46
+ "@types/node": "^24.8.1",
47
+ "@vitejs/plugin-vue": "^6.0.1",
48
+ "@vue/eslint-config-typescript": "^14.6.0",
49
+ "@vue/language-plugin-pug": "^3.1.1",
50
+ "@vue/tsconfig": "^0.8.1",
51
+ "eslint-config-flat-gitignore": "^2.1.0",
39
52
  "eslint-config-prettier": "^10.1.8",
40
53
  "eslint-import-resolver-typescript": "^4.4.4",
54
+ "eslint-plugin-de-morgan": "^2.0.0",
55
+ "eslint-plugin-depend": "^1.3.1",
41
56
  "eslint-plugin-import-x": "^4.16.1",
57
+ "eslint-plugin-jsdoc": "^61.1.4",
58
+ "eslint-plugin-package-json": "^0.57.0",
42
59
  "eslint-plugin-perfectionist": "^4.15.1",
43
60
  "eslint-plugin-prettier": "^5.5.4",
61
+ "eslint-plugin-regexp": "^2.10.0",
62
+ "eslint-plugin-vue": "^10.5.1",
44
63
  "jiti": "^2.6.1",
45
- "typescript": "^5.9.3",
46
- "typescript-eslint": "^8.46.0",
47
- "vite": "^7.1.9"
48
- },
49
- "dependencies": {
50
- "consola": "^3.4.2",
51
- "hash-sum": "^2.0.0",
52
- "sucrase": "^3.35.0",
53
- "vue": "^3.5.22"
64
+ "prettier-plugin-packagejson": "^2.5.19",
65
+ "prettier-plugin-tailwindcss": "^0.7.1",
66
+ "tsc-alias": "^1.8.16",
67
+ "vite": "^7.1.10",
68
+ "vite-plugin-static-copy": "^3.1.4",
69
+ "vue-tsc": "^3.1.1"
54
70
  }
55
71
  }