ampscript-data 4.1.0 → 4.2.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
CHANGED
package/src/functions/content.js
CHANGED
|
@@ -182,7 +182,7 @@ export const CONTENT_FUNCTIONS = [
|
|
|
182
182
|
name: 'BeginImpressionRegion',
|
|
183
183
|
supportedInCloudPage: true,
|
|
184
184
|
supportedInEmail: true,
|
|
185
|
-
mcnSince:
|
|
185
|
+
mcnSince: 68,
|
|
186
186
|
handlebarsEquivalent: null,
|
|
187
187
|
mcnNotes: null,
|
|
188
188
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html',
|
|
@@ -315,7 +315,7 @@ export const CONTENT_FUNCTIONS = [
|
|
|
315
315
|
name: 'BuildRowSetFromString',
|
|
316
316
|
supportedInCloudPage: true,
|
|
317
317
|
supportedInEmail: true,
|
|
318
|
-
mcnSince:
|
|
318
|
+
mcnSince: 68,
|
|
319
319
|
handlebarsEquivalent: null,
|
|
320
320
|
mcnNotes: null,
|
|
321
321
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-string.html',
|
|
@@ -350,7 +350,7 @@ export const CONTENT_FUNCTIONS = [
|
|
|
350
350
|
name: 'BuildRowSetFromXML',
|
|
351
351
|
supportedInCloudPage: true,
|
|
352
352
|
supportedInEmail: true,
|
|
353
|
-
mcnSince:
|
|
353
|
+
mcnSince: 68,
|
|
354
354
|
handlebarsEquivalent: null,
|
|
355
355
|
mcnNotes: null,
|
|
356
356
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-xml.html',
|
|
@@ -808,7 +808,7 @@ export const CONTENT_FUNCTIONS = [
|
|
|
808
808
|
name: 'EndImpressionRegion',
|
|
809
809
|
supportedInCloudPage: true,
|
|
810
810
|
supportedInEmail: true,
|
|
811
|
-
mcnSince:
|
|
811
|
+
mcnSince: 68,
|
|
812
812
|
handlebarsEquivalent: null,
|
|
813
813
|
mcnNotes: null,
|
|
814
814
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-end-impression-region.html',
|
|
@@ -8,7 +8,7 @@ export const DATA_EXTENSION_FUNCTIONS = [
|
|
|
8
8
|
name: 'ClaimRow',
|
|
9
9
|
supportedInCloudPage: true,
|
|
10
10
|
supportedInEmail: true,
|
|
11
|
-
mcnSince:
|
|
11
|
+
mcnSince: 68,
|
|
12
12
|
handlebarsEquivalent: null,
|
|
13
13
|
mcnNotes: null,
|
|
14
14
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row.html',
|
|
@@ -79,7 +79,7 @@ export const DATA_EXTENSION_FUNCTIONS = [
|
|
|
79
79
|
name: 'ClaimRowValue',
|
|
80
80
|
supportedInCloudPage: true,
|
|
81
81
|
supportedInEmail: true,
|
|
82
|
-
mcnSince:
|
|
82
|
+
mcnSince: 68,
|
|
83
83
|
handlebarsEquivalent: null,
|
|
84
84
|
mcnNotes: null,
|
|
85
85
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row-value.html',
|
|
@@ -556,7 +556,7 @@ export const DATA_EXTENSION_FUNCTIONS = [
|
|
|
556
556
|
name: 'LookupOrderedRows',
|
|
557
557
|
supportedInCloudPage: true,
|
|
558
558
|
supportedInEmail: true,
|
|
559
|
-
mcnSince:
|
|
559
|
+
mcnSince: 68,
|
|
560
560
|
handlebarsEquivalent: 'query',
|
|
561
561
|
handlebarsExact: false,
|
|
562
562
|
mcnNotes: null,
|
|
@@ -675,7 +675,7 @@ export const DATA_EXTENSION_FUNCTIONS = [
|
|
|
675
675
|
name: 'LookupRows',
|
|
676
676
|
supportedInCloudPage: true,
|
|
677
677
|
supportedInEmail: true,
|
|
678
|
-
mcnSince:
|
|
678
|
+
mcnSince: 68,
|
|
679
679
|
handlebarsEquivalent: 'query',
|
|
680
680
|
handlebarsExact: false,
|
|
681
681
|
mcnNotes: null,
|
|
@@ -139,7 +139,7 @@ export const DATE_TIME_FUNCTIONS = [
|
|
|
139
139
|
name: 'DatePart',
|
|
140
140
|
supportedInCloudPage: true,
|
|
141
141
|
supportedInEmail: true,
|
|
142
|
-
mcnSince:
|
|
142
|
+
mcnSince: 68,
|
|
143
143
|
handlebarsEquivalent: null,
|
|
144
144
|
mcnNotes: null,
|
|
145
145
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-part.html',
|
|
@@ -8,7 +8,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
8
8
|
name: 'Base64Decode',
|
|
9
9
|
supportedInCloudPage: true,
|
|
10
10
|
supportedInEmail: true,
|
|
11
|
-
mcnSince:
|
|
11
|
+
mcnSince: 68,
|
|
12
12
|
handlebarsEquivalent: null,
|
|
13
13
|
mcnNotes: null,
|
|
14
14
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-decode.html',
|
|
@@ -56,7 +56,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
56
56
|
name: 'Base64Encode',
|
|
57
57
|
supportedInCloudPage: true,
|
|
58
58
|
supportedInEmail: true,
|
|
59
|
-
mcnSince:
|
|
59
|
+
mcnSince: 68,
|
|
60
60
|
handlebarsEquivalent: null,
|
|
61
61
|
mcnNotes: null,
|
|
62
62
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-encode.html',
|
|
@@ -299,7 +299,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
299
299
|
name: 'MD5',
|
|
300
300
|
supportedInCloudPage: true,
|
|
301
301
|
supportedInEmail: true,
|
|
302
|
-
mcnSince:
|
|
302
|
+
mcnSince: 68,
|
|
303
303
|
handlebarsEquivalent: null,
|
|
304
304
|
mcnNotes: null,
|
|
305
305
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-md5.html',
|
|
@@ -340,7 +340,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
340
340
|
name: 'SHA1',
|
|
341
341
|
supportedInCloudPage: true,
|
|
342
342
|
supportedInEmail: true,
|
|
343
|
-
mcnSince:
|
|
343
|
+
mcnSince: 68,
|
|
344
344
|
handlebarsEquivalent: null,
|
|
345
345
|
mcnNotes: null,
|
|
346
346
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha1.html',
|
|
@@ -381,7 +381,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
381
381
|
name: 'SHA256',
|
|
382
382
|
supportedInCloudPage: true,
|
|
383
383
|
supportedInEmail: true,
|
|
384
|
-
mcnSince:
|
|
384
|
+
mcnSince: 68,
|
|
385
385
|
handlebarsEquivalent: null,
|
|
386
386
|
mcnNotes: null,
|
|
387
387
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha256.html',
|
|
@@ -422,7 +422,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
422
422
|
name: 'SHA512',
|
|
423
423
|
supportedInCloudPage: true,
|
|
424
424
|
supportedInEmail: true,
|
|
425
|
-
mcnSince:
|
|
425
|
+
mcnSince: 68,
|
|
426
426
|
handlebarsEquivalent: null,
|
|
427
427
|
mcnNotes: null,
|
|
428
428
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha512.html',
|
|
@@ -463,7 +463,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
463
463
|
name: 'StringToHex',
|
|
464
464
|
supportedInCloudPage: true,
|
|
465
465
|
supportedInEmail: true,
|
|
466
|
-
mcnSince:
|
|
466
|
+
mcnSince: 68,
|
|
467
467
|
handlebarsEquivalent: null,
|
|
468
468
|
mcnNotes: null,
|
|
469
469
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-to-hex.html',
|
|
@@ -503,7 +503,7 @@ export const ENCRYPTION_ENCODING_FUNCTIONS = [
|
|
|
503
503
|
name: 'URLEncode',
|
|
504
504
|
supportedInCloudPage: true,
|
|
505
505
|
supportedInEmail: true,
|
|
506
|
-
mcnSince:
|
|
506
|
+
mcnSince: 68,
|
|
507
507
|
handlebarsEquivalent: null,
|
|
508
508
|
mcnNotes: null,
|
|
509
509
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-url-encode.html',
|
package/src/functions/string.js
CHANGED
|
@@ -8,7 +8,7 @@ export const STRING_FUNCTIONS = [
|
|
|
8
8
|
name: 'Char',
|
|
9
9
|
supportedInCloudPage: true,
|
|
10
10
|
supportedInEmail: true,
|
|
11
|
-
mcnSince:
|
|
11
|
+
mcnSince: 68,
|
|
12
12
|
handlebarsEquivalent: 'char',
|
|
13
13
|
handlebarsExact: true,
|
|
14
14
|
mcnNotes: null,
|
|
@@ -208,9 +208,10 @@ export const STRING_FUNCTIONS = [
|
|
|
208
208
|
name: 'RegExMatch',
|
|
209
209
|
supportedInCloudPage: true,
|
|
210
210
|
supportedInEmail: true,
|
|
211
|
-
mcnSince:
|
|
211
|
+
mcnSince: 68,
|
|
212
212
|
handlebarsEquivalent: null,
|
|
213
|
-
mcnNotes:
|
|
213
|
+
mcnNotes:
|
|
214
|
+
'MC Next uses a different regex engine that excludes .NET-only constructs. Options must be literal comma-separated text and can only be IgnoreCase, Multiline, Singleline, IgnorePatternWhitespace, or ExplicitCapture.',
|
|
214
215
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-regex-match.html',
|
|
215
216
|
guideUrl: 'https://ampscript.guide/regexmatch/',
|
|
216
217
|
sfmcGuideUrl: 'https://sfmc.guide/engagement/ampscript/functions/regexmatch/',
|
package/src/functions/utility.js
CHANGED
|
@@ -244,7 +244,7 @@ export const UTILITY_FUNCTIONS = [
|
|
|
244
244
|
name: 'Domain',
|
|
245
245
|
supportedInCloudPage: true,
|
|
246
246
|
supportedInEmail: true,
|
|
247
|
-
mcnSince:
|
|
247
|
+
mcnSince: 68,
|
|
248
248
|
handlebarsEquivalent: null,
|
|
249
249
|
mcnNotes: null,
|
|
250
250
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-domain.html',
|
|
@@ -461,7 +461,7 @@ export const UTILITY_FUNCTIONS = [
|
|
|
461
461
|
name: 'GUID',
|
|
462
462
|
supportedInCloudPage: true,
|
|
463
463
|
supportedInEmail: true,
|
|
464
|
-
mcnSince:
|
|
464
|
+
mcnSince: 68,
|
|
465
465
|
handlebarsEquivalent: null,
|
|
466
466
|
mcnNotes: null,
|
|
467
467
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-guid.html',
|
|
@@ -559,7 +559,7 @@ export const UTILITY_FUNCTIONS = [
|
|
|
559
559
|
name: 'IsEmailAddress',
|
|
560
560
|
supportedInCloudPage: true,
|
|
561
561
|
supportedInEmail: true,
|
|
562
|
-
mcnSince:
|
|
562
|
+
mcnSince: 68,
|
|
563
563
|
handlebarsEquivalent: null,
|
|
564
564
|
mcnNotes: null,
|
|
565
565
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-email-address.html',
|
|
@@ -627,7 +627,7 @@ export const UTILITY_FUNCTIONS = [
|
|
|
627
627
|
name: 'IsNullDefault',
|
|
628
628
|
supportedInCloudPage: true,
|
|
629
629
|
supportedInEmail: true,
|
|
630
|
-
mcnSince:
|
|
630
|
+
mcnSince: 68,
|
|
631
631
|
handlebarsEquivalent: 'fallback',
|
|
632
632
|
handlebarsExact: false,
|
|
633
633
|
mcnNotes: null,
|