@knapsack/renderer-hbs 4.65.7--canary.3291.c011027.0 → 4.65.7
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/dist/utils.js +2 -3
- package/dist/utils.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# v4.65.7 (Wed Jul 03 2024)
|
2
|
+
|
3
|
+
#### 🏠 Internal
|
4
|
+
|
5
|
+
- update to TypeScript 5.5 [#4315](https://github.com/knapsack-labs/app-monorepo/pull/4315) ([@EvanLovely](https://github.com/EvanLovely))
|
6
|
+
|
7
|
+
#### Authors: 1
|
8
|
+
|
9
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
10
|
+
|
11
|
+
---
|
12
|
+
|
1
13
|
# v4.65.3 (Tue Jun 11 2024)
|
2
14
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/utils.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.splitData = splitData;
|
4
|
+
exports.getHbsUsage = getHbsUsage;
|
4
5
|
/**
|
5
6
|
* @todo add description why this is necessary
|
6
7
|
* https://linear.app/knapsack/issue/KSP-2184/handlebars-renderer-does-not-handle-arrays-correctly-cnn-blocker
|
@@ -23,7 +24,6 @@ function splitData(data) {
|
|
23
24
|
paramData: {},
|
24
25
|
});
|
25
26
|
}
|
26
|
-
exports.splitData = splitData;
|
27
27
|
async function getHbsUsage({ templateName, data, slots, }) {
|
28
28
|
const { paramData } = splitData(data);
|
29
29
|
const props = Object.keys(paramData).map((key) => {
|
@@ -48,5 +48,4 @@ async function getHbsUsage({ templateName, data, slots, }) {
|
|
48
48
|
finish,
|
49
49
|
].join('\n');
|
50
50
|
}
|
51
|
-
exports.getHbsUsage = getHbsUsage;
|
52
51
|
//# sourceMappingURL=utils.js.map
|
package/dist/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAKA,8BAyBC;AAED,kCAmCC;AAnED;;;;GAIG;AACH,SAAgB,SAAS,CAAC,IAA8B;IAItD,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CACtC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpB,QAAQ,OAAO,KAAK,EAAE,CAAC;YACrB,KAAK,SAAS,CAAC;YACf,KAAK,QAAQ,CAAC;YACd,KAAK,QAAQ;gBACX,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;gBAC3B,MAAM;YACR;gBACE,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QAChC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EACD;QACE,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,EAAE;KAId,CACF,CAAC;AACJ,CAAC;AAEM,KAAK,UAAU,WAAW,CAAC,EAChC,YAAY,EACZ,IAAI,EACJ,KAAK,GAQN;IACC,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACtC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,OAAO,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,CAAC,OAAO,YAAY,EAAE,EAAE,GAAG,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3D,CAAC;IAED,oBAAoB;IACpB,MAAM,KAAK,GAAG,CAAC,QAAQ,YAAY,EAAE,EAAE,GAAG,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACjE,MAAM,MAAM,GAAG,MAAM,YAAY,IAAI,CAAC;IACtC,OAAO;QACL,KAAK;QACL,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;YACjC,OAAO;gBACL,iBAAiB,IAAI,KAAK;gBAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBACzC,eAAe;aAChB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACf,CAAC,CAAC;QACF,MAAM;KACP,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-hbs",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.65.7
|
4
|
+
"version": "4.65.7",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"exports": {
|
@@ -22,23 +22,23 @@
|
|
22
22
|
"test": "time ava"
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
-
"@knapsack/app": "4.65.7
|
26
|
-
"@knapsack/file-utils": "4.65.7
|
27
|
-
"@knapsack/types": "4.65.7
|
28
|
-
"@knapsack/utils": "4.65.7
|
25
|
+
"@knapsack/app": "4.65.7",
|
26
|
+
"@knapsack/file-utils": "4.65.7",
|
27
|
+
"@knapsack/types": "4.65.7",
|
28
|
+
"@knapsack/utils": "4.65.7",
|
29
29
|
"handlebars": "^4.7.8",
|
30
30
|
"lodash": "^4.17.21"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@knapsack/eslint-config-starter": "4.65.7
|
34
|
-
"@knapsack/prettier-config": "4.65.7
|
35
|
-
"@knapsack/test-ava": "4.65.7
|
36
|
-
"@knapsack/typescript-config-starter": "4.65.7
|
33
|
+
"@knapsack/eslint-config-starter": "4.65.7",
|
34
|
+
"@knapsack/prettier-config": "4.65.7",
|
35
|
+
"@knapsack/test-ava": "4.65.7",
|
36
|
+
"@knapsack/typescript-config-starter": "4.65.7",
|
37
37
|
"@types/lodash": "^4.17.5",
|
38
38
|
"@types/node": "^20.12.12",
|
39
39
|
"ava": "^6.1.3",
|
40
40
|
"eslint": "^8.57.0",
|
41
|
-
"typescript": "^5.
|
41
|
+
"typescript": "^5.5.3"
|
42
42
|
},
|
43
43
|
"license": "GPL-2.0-or-later",
|
44
44
|
"publishConfig": {
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"directory": "apps/client/renderers/renderer-hbs",
|
50
50
|
"type": "git"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "df68497041abcb1128838e3c81a8c3c79050efaa"
|
53
53
|
}
|