@tsed/engines 8.26.0 → 8.26.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.
|
@@ -3,6 +3,7 @@ export class Engine {
|
|
|
3
3
|
constructor(name, options) {
|
|
4
4
|
this.name = name;
|
|
5
5
|
this.options = options;
|
|
6
|
+
this.driverName = "";
|
|
6
7
|
}
|
|
7
8
|
get engine() {
|
|
8
9
|
return getCachedEngine(this.name);
|
|
@@ -51,7 +52,9 @@ export class Engine {
|
|
|
51
52
|
await importEngine(req, name);
|
|
52
53
|
this.driverName = req;
|
|
53
54
|
}
|
|
54
|
-
catch
|
|
55
|
+
catch {
|
|
56
|
+
// silently ignore unavailable drivers while probing engine candidates
|
|
57
|
+
}
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/engines",
|
|
3
3
|
"description": "Template engines library. Provide an API to adding custom engines from decorators.",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.26.
|
|
5
|
+
"version": "8.26.1",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@babel/plugin-transform-runtime": "7.25.7",
|
|
43
43
|
"@babel/preset-env": "7.27.2",
|
|
44
44
|
"@babel/preset-react": "7.25.7",
|
|
45
|
-
"@tsed/barrels": "8.26.
|
|
46
|
-
"@tsed/typescript": "8.26.
|
|
45
|
+
"@tsed/barrels": "8.26.1",
|
|
46
|
+
"@tsed/typescript": "8.26.1",
|
|
47
47
|
"@types/semver": "^7.5.8",
|
|
48
48
|
"atpl": "0.9.3",
|
|
49
49
|
"bracket-template": "^1.1.5",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"ts-node": "10.9.2",
|
|
90
90
|
"twig": "^1.17.1",
|
|
91
91
|
"twing": "^7.3.1",
|
|
92
|
-
"typescript": "
|
|
92
|
+
"typescript": "6.0.2",
|
|
93
93
|
"underscore": "^1.13.7",
|
|
94
94
|
"vash": "^0.13.0",
|
|
95
95
|
"velocityjs": "^2.0.6",
|