mm_tpl 2.7.3 → 2.7.4

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/index.js +1 -1
  2. package/package.json +65 -64
package/index.js CHANGED
@@ -20,7 +20,7 @@ module.exports = {
20
20
  if (!scope) {
21
21
  scope = 'os';
22
22
  }
23
- return admin.get(scope, { name: scope, ...config });
23
+ return admin.get(scope, config);
24
24
  },
25
25
  getTpl() {
26
26
  return admin.get('os');
package/package.json CHANGED
@@ -1,64 +1,65 @@
1
- {
2
- "name": "mm_tpl",
3
- "version": "2.7.3",
4
- "description": "Super Meimei Template Engine - High-performance template engine based on art-template with MVC pattern, hook system, theme switching and caching mechanism",
5
- "main": "index.js",
6
- "io": true,
7
- "priority": 100,
8
- "scripts": {
9
- "dev": "nodemon test.js",
10
- "demo": "node example/demo.js",
11
- "test": "node test.js",
12
- "coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://gitee.com/qiuwenwu91/mm_tpl.git"
17
- },
18
- "keywords": [
19
- "mm_mod",
20
- "mm_infra",
21
- "mm_common",
22
- "mm_web",
23
- "template",
24
- "engine",
25
- "mvc",
26
- "web",
27
- "view",
28
- "render",
29
- "art-template",
30
- "hook",
31
- "theme",
32
- "cache",
33
- "nodejs",
34
- "javascript"
35
- ],
36
- "layer": "infra",
37
- "group": "common",
38
- "author": "邱文武",
39
- "license": "MIT",
40
- "bugs": {
41
- "url": "https://gitee.com/qiuwenwu91/mm_tpl/issues"
42
- },
43
- "homepage": "https://gitee.com/qiuwenwu91/mm_tpl#readme",
44
- "dependencies": {
45
- "art-template": "^4.13.4"
46
- },
47
- "engines": {
48
- "node": ">=12.0.0"
49
- },
50
- "files": [
51
- "index.js",
52
- "hook.js",
53
- "tpl_rule.js",
54
- "lib/",
55
- "doc/",
56
- "README.md",
57
- "README_EN.md",
58
- "package.json"
59
- ],
60
- "devDependencies": {
61
- "eslint": "^9.39.5",
62
- "eslint-plugin-jsdoc": "^65.0.0"
63
- }
64
- }
1
+ {
2
+ "name": "mm_tpl",
3
+ "version": "2.7.4",
4
+ "description": "Super Meimei Template Engine - High-performance template engine based on art-template with MVC pattern, hook system, theme switching and caching mechanism",
5
+ "main": "index.js",
6
+ "io": true,
7
+ "priority": 100,
8
+ "scripts": {
9
+ "dev": "nodemon test.js",
10
+ "demo": "node example/demo.js",
11
+ "test": "node test.js",
12
+ "coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://gitee.com/qiuwenwu91/mm_tpl.git"
17
+ },
18
+ "keywords": [
19
+ "mm_mod",
20
+ "mm_infra",
21
+ "mm_common",
22
+ "mm_web",
23
+ "template",
24
+ "engine",
25
+ "mvc",
26
+ "web",
27
+ "view",
28
+ "render",
29
+ "art-template",
30
+ "hook",
31
+ "theme",
32
+ "cache",
33
+ "nodejs",
34
+ "javascript"
35
+ ],
36
+ "layer": "infra",
37
+ "group": "common",
38
+ "author": "邱文武",
39
+ "license": "MIT",
40
+ "bugs": {
41
+ "url": "https://gitee.com/qiuwenwu91/mm_tpl/issues"
42
+ },
43
+ "homepage": "https://gitee.com/qiuwenwu91/mm_tpl#readme",
44
+ "dependencies": {
45
+ "art-template": "4.13.4",
46
+ "mm_corejs": "^1.1.6"
47
+ },
48
+ "engines": {
49
+ "node": ">=12.0.0"
50
+ },
51
+ "files": [
52
+ "index.js",
53
+ "hook.js",
54
+ "tpl_rule.js",
55
+ "lib/",
56
+ "doc/",
57
+ "README.md",
58
+ "README_EN.md",
59
+ "package.json"
60
+ ],
61
+ "devDependencies": {
62
+ "eslint": "^9.39.5",
63
+ "eslint-plugin-jsdoc": "^65.0.0"
64
+ }
65
+ }