@yumerijs/loader 3.0.0 → 3.0.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/index.js +1 -1
  2. package/package.json +46 -46
package/dist/index.js CHANGED
@@ -165,7 +165,7 @@ export class PluginLoader {
165
165
  }
166
166
  }
167
167
  const deps = pluginInstance.depend || [];
168
- const unmetDependencies = deps.filter(dep => !this.core.components[dep]);
168
+ const unmetDependencies = deps.filter(dep => !this.core.components[dep] && !this.core.services[dep]);
169
169
  if (unmetDependencies.length > 0) {
170
170
  return false;
171
171
  }
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@yumerijs/loader",
3
- "version": "3.0.0",
4
- "description": "Module loader for yumeri",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "files": [
9
- "dist"
10
- ],
11
- "scripts": {
12
- "build": "tsc",
13
- "prepublishOnly": "npm run build"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/yumerijs/yumeri.git"
18
- },
19
- "keywords": [
20
- "yumeri",
21
- "API"
22
- ],
23
- "author": "WindyPear-Team,FireGuo",
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/yumerijs/yumeri/issues"
27
- },
28
- "homepage": "https://github.com/yumerijs/yumeri#readme",
29
- "devDependencies": {
30
- "@types/js-yaml": "^4.0.9",
31
- "@types/node": "^22.13.10",
32
- "@yumerijs/core": "^3.0.0",
33
- "esbuild-register": "^3.6.0",
34
- "typescript": "^6.0.3"
35
- },
36
- "dependencies": {
37
- "@types/js-yaml": "^4.0.9",
38
- "@vue/compiler-sfc": "^3.5.25",
39
- "chokidar": "^4.0.3",
40
- "esbuild": "^0.28.1",
41
- "js-yaml": "^4.1.0"
42
- },
43
- "peerDependencies": {
44
- "@yumerijs/core": "^3.0.0"
45
- }
46
- }
1
+ {
2
+ "name": "@yumerijs/loader",
3
+ "version": "3.0.1",
4
+ "description": "Module loader for yumeri",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "prepublishOnly": "npm run build"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/yumerijs/yumeri.git"
18
+ },
19
+ "keywords": [
20
+ "yumeri",
21
+ "API"
22
+ ],
23
+ "author": "WindyPear-Team,FireGuo",
24
+ "license": "MIT",
25
+ "bugs": {
26
+ "url": "https://github.com/yumerijs/yumeri/issues"
27
+ },
28
+ "homepage": "https://github.com/yumerijs/yumeri#readme",
29
+ "devDependencies": {
30
+ "@types/js-yaml": "^4.0.9",
31
+ "@types/node": "^22.13.10",
32
+ "@yumerijs/core": "^3.0.0",
33
+ "esbuild-register": "^3.6.0",
34
+ "typescript": "^6.0.3"
35
+ },
36
+ "dependencies": {
37
+ "@types/js-yaml": "^4.0.9",
38
+ "@vue/compiler-sfc": "^3.5.25",
39
+ "chokidar": "^4.0.3",
40
+ "esbuild": "^0.28.1",
41
+ "js-yaml": "^4.1.0"
42
+ },
43
+ "peerDependencies": {
44
+ "@yumerijs/core": "^3.0.0"
45
+ }
46
+ }