From 20098c4e67135682164197d5e9748349749f0b8c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:45:55 +0000 Subject: [PATCH 1/2] Bump beauty-amp-core2 from 0.4.5 to 0.4.6 Bumps [beauty-amp-core2](https://github.com/FiB3/beautyAmpCore2) from 0.4.5 to 0.4.6. - [Changelog](https://github.com/FiB3/beautyAmpCore2/blob/master/CHANGELOG.md) - [Commits](https://github.com/FiB3/beautyAmpCore2/commits) --- updated-dependencies: - dependency-name: beauty-amp-core2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf8d42581..1f24a665d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "6.0.2", "license": "MIT", "dependencies": { - "beauty-amp-core2": "0.4.5", + "beauty-amp-core2": "0.4.6", "cli-progress": "3.12.0", "command-exists": "1.2.9", "conf": "12.0.0", @@ -1068,9 +1068,9 @@ ] }, "node_modules/beauty-amp-core2": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/beauty-amp-core2/-/beauty-amp-core2-0.4.5.tgz", - "integrity": "sha512-mhmHf8/6qf1yCdqkL66j9T3C5Z0Q+jP+XWK6ajnA+L/cG3bEjnN6ywRy97eSzij5JVSRNxs8w2857whB6+o5jw==", + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/beauty-amp-core2/-/beauty-amp-core2-0.4.6.tgz", + "integrity": "sha512-kEyX5uhmRU28Zy0uAcceHOoU7PZXXMuKUuuP0y7iMMSwluZrsRxhMcy23EEXJ+iASP9jQ/ffXavlfHc36yPvMg==", "dependencies": { "lodash": "^4.17.21", "prettier": "^2.8.8" diff --git a/package.json b/package.json index ac79363ec..6af2e9d6b 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "version:patch": "npm version --no-commit-hooks patch" }, "dependencies": { - "beauty-amp-core2": "0.4.5", + "beauty-amp-core2": "0.4.6", "cli-progress": "3.12.0", "command-exists": "1.2.9", "conf": "12.0.0", From 9b6ed154a3853238a55147b8525443c45d3be5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Tue, 13 Feb 2024 14:12:40 +0100 Subject: [PATCH 2/2] #0: fix variable capitalization for beauty-amp-core2 0.4.6 --- test/resources/9999999/transactionalSMS/build-expected.amp | 2 +- test/resources/9999999/transactionalSMS/get-expected.amp | 2 +- test/resources/9999999/transactionalSMS/patch-expected.amp | 2 +- test/resources/9999999/transactionalSMS/post-expected.amp | 2 +- test/resources/9999999/transactionalSMS/template-expected.amp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/resources/9999999/transactionalSMS/build-expected.amp b/test/resources/9999999/transactionalSMS/build-expected.amp index 90327ec0e..cdf0c6b39 100644 --- a/test/resources/9999999/transactionalSMS/build-expected.amp +++ b/test/resources/9999999/transactionalSMS/build-expected.amp @@ -24,7 +24,7 @@ line3 SET @rx = '^\+((?:9[679]\d8[035789]\d|6[789]\d|5[90]\d|42\d|3[578]\d|2[1-689]\d)|9[0-58]|8[1246]|6[0-6]|5[1-8]|4[013-9]|3[0-469]|2[70]|7|1)' SET @prefix = concat('+', RegExMatch(@num, @rx, 1)) IF @count>0 THEN - FOR @I = 1 TO @COUNT DO + FOR @i = 1 TO @count DO SET @sk = Field(Row(@rs, @i), 'Id') IF Field(Row(@rs, 1), 'et4ae5__HasOptedOutOfMobile__c') == 'false' THEN SET @result = UpdateSingleSalesforceObject('Contact', @sk, 'et4ae5__HasOptedOutOfMobile__c', 'true') diff --git a/test/resources/9999999/transactionalSMS/get-expected.amp b/test/resources/9999999/transactionalSMS/get-expected.amp index 550ecfdd8..47307e6c5 100644 --- a/test/resources/9999999/transactionalSMS/get-expected.amp +++ b/test/resources/9999999/transactionalSMS/get-expected.amp @@ -24,7 +24,7 @@ line3 SET @rx = '^\+((?:9[679]\d8[035789]\d|6[789]\d|5[90]\d|42\d|3[578]\d|2[1-689]\d)|9[0-58]|8[1246]|6[0-6]|5[1-8]|4[013-9]|3[0-469]|2[70]|7|1)' SET @prefix = concat('+', RegExMatch(@num, @rx, 1)) IF @count>0 THEN - FOR @I = 1 TO @COUNT DO + FOR @i = 1 TO @count DO SET @sk = Field(Row(@rs, @i), 'Id') IF Field(Row(@rs, 1), 'et4ae5__HasOptedOutOfMobile__c') == 'false' THEN SET @result = UpdateSingleSalesforceObject('Contact', @sk, 'et4ae5__HasOptedOutOfMobile__c', 'true') diff --git a/test/resources/9999999/transactionalSMS/patch-expected.amp b/test/resources/9999999/transactionalSMS/patch-expected.amp index e1ef91076..9c94b4199 100644 --- a/test/resources/9999999/transactionalSMS/patch-expected.amp +++ b/test/resources/9999999/transactionalSMS/patch-expected.amp @@ -18,7 +18,7 @@ SET @rx = '^\+((?:9[679]\d8[035789]\d|6[789]\d|5[90]\d|42\d|3[578]\d|2[1-689]\d)|9[0-58]|8[1246]|6[0-6]|5[1-8]|4[013-9]|3[0-469]|2[70]|7|1)' SET @prefix = concat('+', RegExMatch(@num, @rx, 1)) IF @count>0 THEN - FOR @I = 1 TO @COUNT DO + FOR @i = 1 TO @count DO SET @sk = Field(Row(@rs, @i), 'Id') IF Field(Row(@rs, 1), 'et4ae5__HasOptedOutOfMobile__c') == 'false' THEN SET @result = UpdateSingleSalesforceObject('Contact', @sk, 'et4ae5__HasOptedOutOfMobile__c', 'true') diff --git a/test/resources/9999999/transactionalSMS/post-expected.amp b/test/resources/9999999/transactionalSMS/post-expected.amp index b11a84731..a211011bd 100644 --- a/test/resources/9999999/transactionalSMS/post-expected.amp +++ b/test/resources/9999999/transactionalSMS/post-expected.amp @@ -18,7 +18,7 @@ SET @rx = '^\+((?:9[679]\d8[035789]\d|6[789]\d|5[90]\d|42\d|3[578]\d|2[1-689]\d)|9[0-58]|8[1246]|6[0-6]|5[1-8]|4[013-9]|3[0-469]|2[70]|7|1)' SET @prefix = concat('+', RegExMatch(@num, @rx, 1)) IF @count>0 THEN - FOR @I = 1 TO @COUNT DO + FOR @i = 1 TO @count DO SET @sk = Field(Row(@rs, @i), 'Id') IF Field(Row(@rs, 1), 'et4ae5__HasOptedOutOfMobile__c') == 'false' THEN SET @result = UpdateSingleSalesforceObject('Contact', @sk, 'et4ae5__HasOptedOutOfMobile__c', 'true') diff --git a/test/resources/9999999/transactionalSMS/template-expected.amp b/test/resources/9999999/transactionalSMS/template-expected.amp index 26bc6dc2f..d5aa49c01 100644 --- a/test/resources/9999999/transactionalSMS/template-expected.amp +++ b/test/resources/9999999/transactionalSMS/template-expected.amp @@ -24,7 +24,7 @@ line3 SET @rx = '^\+((?:9[679]\d8[035789]\d|6[789]\d|5[90]\d|42\d|3[578]\d|2[1-689]\d)|9[0-58]|8[1246]|6[0-6]|5[1-8]|4[013-9]|3[0-469]|2[70]|7|1)' SET @prefix = concat('+', RegExMatch(@num, @rx, 1)) IF @count>0 THEN - FOR @I = 1 TO @COUNT DO + FOR @i = 1 TO @count DO SET @sk = Field(Row(@rs, @i), 'Id') IF Field(Row(@rs, 1), 'et4ae5__HasOptedOutOfMobile__c') == 'false' THEN SET @result = UpdateSingleSalesforceObject('Contact', @sk, 'et4ae5__HasOptedOutOfMobile__c', 'true')