handlebars-data
Advanced tools
+8
-8
| { | ||
| "name": "handlebars-data", | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "description": "Canonical Handlebars for Marketing Cloud Next helper catalog, built-in bindings, and unsupported-construct definitions for SFMC tooling", | ||
@@ -45,11 +45,11 @@ "type": "module", | ||
| "@eslint/js": "^10.0.1", | ||
| "eslint": "^10.1.0", | ||
| "eslint": "^10.8.0", | ||
| "eslint-config-prettier": "^10.1.8", | ||
| "eslint-plugin-jsdoc": "^63.0.10", | ||
| "eslint-plugin-prettier": "^5.5.0", | ||
| "eslint-plugin-unicorn": "^70.0.0", | ||
| "globals": "^17.4.0", | ||
| "eslint-plugin-jsdoc": "^63.3.3", | ||
| "eslint-plugin-prettier": "^5.5.6", | ||
| "eslint-plugin-unicorn": "^73.0.0", | ||
| "globals": "^17.9.0", | ||
| "husky": "^9.1.7", | ||
| "lint-staged": "^17.0.5", | ||
| "prettier": "^3.8.1" | ||
| "lint-staged": "^17.3.0", | ||
| "prettier": "^3.9.6" | ||
| }, | ||
@@ -56,0 +56,0 @@ "lint-staged": { |
+21
-7
@@ -30,3 +30,5 @@ /** | ||
| /** Map from category -> [folder, file-prefix] used to build doc URLs. */ | ||
| /** | ||
| * Map from category -> [folder, file-prefix] used to build doc URLs. | ||
| */ | ||
| const CATEGORY_DOC = { | ||
@@ -988,9 +990,15 @@ Math: ['mcn-handlebars-math-references', 'mcn-handlebars-reference-math'], | ||
| /** Case-insensitive lookup: lowercase helper name -> helper definition. */ | ||
| /** | ||
| * Case-insensitive lookup: lowercase helper name -> helper definition. | ||
| */ | ||
| export const helperLookup = new Map(HELPERS.map((helper) => [helper.name.toLowerCase(), helper])); | ||
| /** Set of lowercase helper names for quick membership checks. */ | ||
| /** | ||
| * Set of lowercase helper names for quick membership checks. | ||
| */ | ||
| export const helperNames = new Set(HELPERS.map((helper) => helper.name.toLowerCase())); | ||
| /** Ordered list of canonical camelCase helper names. */ | ||
| /** | ||
| * Ordered list of canonical camelCase helper names. | ||
| */ | ||
| export const CANONICAL_HELPERS = HELPERS.map((helper) => helper.name); | ||
@@ -1077,3 +1085,5 @@ | ||
| /** Case-insensitive lookup: lowercase binding name -> binding definition. */ | ||
| /** | ||
| * Case-insensitive lookup: lowercase binding name -> binding definition. | ||
| */ | ||
| export const bindingLookup = new Map( | ||
@@ -1083,3 +1093,5 @@ BUILTIN_BINDINGS.map((binding) => [binding.name.toLowerCase(), binding]), | ||
| /** Set of lowercase binding names for quick membership checks. */ | ||
| /** | ||
| * Set of lowercase binding names for quick membership checks. | ||
| */ | ||
| export const bindingNames = new Set(BUILTIN_BINDINGS.map((binding) => binding.name.toLowerCase())); | ||
@@ -1154,3 +1166,5 @@ | ||
| /** Lookup of unsupported constructs by astNodeType -> entries sharing that node type. */ | ||
| /** | ||
| * Lookup of unsupported constructs by astNodeType -> entries sharing that node type. | ||
| */ | ||
| export const unsupportedByNodeType = new Map(); | ||
@@ -1157,0 +1171,0 @@ for (const entry of UNSUPPORTED_CONSTRUCTS) { |
44533
0.06%1149
1.23%