handlebars-data
Advanced tools
+3
-3
| { | ||
| "name": "handlebars-data", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "Canonical Handlebars for Marketing Cloud Next helper catalog, built-in bindings, and unsupported-construct definitions for SFMC tooling", | ||
@@ -47,5 +47,5 @@ "type": "module", | ||
| "eslint-config-prettier": "^10.1.8", | ||
| "eslint-plugin-jsdoc": "^62.0.0", | ||
| "eslint-plugin-jsdoc": "^63.0.10", | ||
| "eslint-plugin-prettier": "^5.5.0", | ||
| "eslint-plugin-unicorn": "^64.0.0", | ||
| "eslint-plugin-unicorn": "^70.0.0", | ||
| "globals": "^17.4.0", | ||
@@ -52,0 +52,0 @@ "husky": "^9.1.7", |
+5
-5
@@ -1151,7 +1151,7 @@ /** | ||
| /** Lookup of unsupported constructs by astNodeType -> entries sharing that node type. */ | ||
| export const unsupportedByNodeType = UNSUPPORTED_CONSTRUCTS.reduce((map, entry) => { | ||
| const list = map.get(entry.astNodeType) ?? []; | ||
| export const unsupportedByNodeType = new Map(); | ||
| for (const entry of UNSUPPORTED_CONSTRUCTS) { | ||
| const list = unsupportedByNodeType.get(entry.astNodeType) ?? []; | ||
| list.push(entry); | ||
| map.set(entry.astNodeType, list); | ||
| return map; | ||
| }, new Map()); | ||
| unsupportedByNodeType.set(entry.astNodeType, list); | ||
| } |
44506
0.04%