ampscript-data 3.4.0 → 3.5.0
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.
- package/package.json +1 -1
- package/src/index.js +11 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -6408,6 +6408,17 @@ export const deprecatedFunctionLookup = new Map(
|
|
|
6408
6408
|
FUNCTIONS.filter((f) => f.deprecated).map((f) => [f.name.toLowerCase(), f]),
|
|
6409
6409
|
);
|
|
6410
6410
|
|
|
6411
|
+
/**
|
|
6412
|
+
* Case-insensitive lookup of functions that resolve at runtime but have no known
|
|
6413
|
+
* working invocation (`nonFunctionalAtRuntime`): lowercase name -> function entry.
|
|
6414
|
+
* Every reached call aborts the page (e.g. a retired Classic feature), so callers
|
|
6415
|
+
* can flag the call site. Kept separate from deprecation because these functions
|
|
6416
|
+
* were never formally deprecated by Salesforce.
|
|
6417
|
+
*/
|
|
6418
|
+
export const nonFunctionalFunctionLookup = new Map(
|
|
6419
|
+
FUNCTIONS.filter((f) => f.nonFunctionalAtRuntime).map((f) => [f.name.toLowerCase(), f]),
|
|
6420
|
+
);
|
|
6421
|
+
|
|
6411
6422
|
// ── Keywords ─────────────────────────────────────────────────────────────────
|
|
6412
6423
|
|
|
6413
6424
|
/**
|