Skip to content

Commit 60bf412

Browse files
authored
fix: add support for UiPreviewMessageTabDef - W-19327351 (#1603)
* fix: add support for UiPreviewMessageTabDef * fix: test fix for strip only mode and node 22.18.0 * fix: bump core dependency
1 parent 2525995 commit 60bf412

File tree

4 files changed

+130
-3
lines changed

4 files changed

+130
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"node": ">=18.0.0"
2626
},
2727
"dependencies": {
28-
"@salesforce/core": "^8.18.7",
28+
"@salesforce/core": "^8.19.1",
2929
"@salesforce/kit": "^3.2.3",
3030
"@salesforce/ts-types": "^2.0.12",
3131
"@salesforce/types": "^1.3.0",

src/registry/metadataRegistry.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@
497497
"type": "integrationhubsettingstype",
498498
"uiFormatSpecificationSet": "uiformatspecificationset",
499499
"uiObjectRelationConfig": "uiobjectrelationconfig",
500+
"uiPreviewMessageTabDef": "uipreviewmessagetabdef",
500501
"uiplugin": "uiplugin",
501502
"uiview": "uiviewdefinition",
502503
"userAuthCertificate": "userauthcertificate",
@@ -4372,6 +4373,13 @@
43724373
"name": "UIObjectRelationConfig",
43734374
"suffix": "uiObjectRelationConfig"
43744375
},
4376+
"uipreviewmessagetabdef": {
4377+
"directoryName": "uiPreviewMessageTabDefs",
4378+
"id": "uipreviewmessagetabdef",
4379+
"inFolder": false,
4380+
"name": "UiPreviewMessageTabDef",
4381+
"suffix": "uiPreviewMessageTabDef"
4382+
},
43754383
"uiplugin": {
43764384
"directoryName": "uiplugins",
43774385
"id": "uiplugin",

test/convert/replacements.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,15 @@ describe('executes replacements on a string', () => {
454454
// Readable that splits the input string into smaller chunks. This allows us to test chunk boundary behavior.
455455
class ChunkedReadable extends Readable {
456456
private pos = 0;
457+
private text: string;
458+
private chunkLen: number;
457459

458-
public constructor(private text: string, private chunkLen: number) {
460+
public constructor(text: string, chunkLen: number) {
459461
super();
462+
this.text = text;
463+
this.chunkLen = chunkLen;
460464
}
465+
461466
public _read() {
462467
if (this.pos >= this.text.length) {
463468
this.push(null);

yarn.lock

Lines changed: 115 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,65 @@
609609
node-fetch "^2.6.1"
610610
xml2js "^0.6.2"
611611

612+
"@jsforce/jsforce-node@^3.10.1":
613+
version "3.10.3"
614+
resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.10.3.tgz#76ac09cfc9565ccc953928c86733c787e4908928"
615+
integrity sha512-Q6kgPNP/xiP8gzZLwquTLFKNUC9AbDIxrC9bhRsK1YgyDF4V64V/muxHVeCHR4rtXre658eLOgz6kRgoeBHTVg==
616+
dependencies:
617+
"@sindresorhus/is" "^4"
618+
base64url "^3.0.1"
619+
csv-parse "^5.5.2"
620+
csv-stringify "^6.4.4"
621+
faye "^1.4.0"
622+
form-data "^4.0.4"
623+
https-proxy-agent "^5.0.0"
624+
multistream "^3.1.0"
625+
node-fetch "^2.6.1"
626+
xml2js "^0.6.2"
627+
628+
"@jsonjoy.com/base64@^1.1.2":
629+
version "1.1.2"
630+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-1.1.2.tgz#cf8ea9dcb849b81c95f14fc0aaa151c6b54d2578"
631+
integrity sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==
632+
633+
"@jsonjoy.com/buffers@^1.0.0":
634+
version "1.0.0"
635+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/buffers/-/buffers-1.0.0.tgz#ade6895b7d3883d70f87b5743efaa12c71dfef7a"
636+
integrity sha512-NDigYR3PHqCnQLXYyoLbnEdzMMvzeiCWo1KOut7Q0CoIqg9tUAPKJ1iq/2nFhc5kZtexzutNY0LFjdwWL3Dw3Q==
637+
638+
"@jsonjoy.com/codegen@^1.0.0":
639+
version "1.0.0"
640+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/codegen/-/codegen-1.0.0.tgz#5c23f796c47675f166d23b948cdb889184b93207"
641+
integrity sha512-E8Oy+08cmCf0EK/NMxpaJZmOxPqM+6iSe2S4nlSBrPZOORoDJILxtbSUEDKQyTamm/BVAhIGllOBNU79/dwf0g==
642+
643+
"@jsonjoy.com/json-pack@^1.0.3":
644+
version "1.10.0"
645+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-1.10.0.tgz#d098b0164512889f18269e373407c4b5a46f3ee2"
646+
integrity sha512-PMOU9Sh0baiLZEDewwR/YAHJBV2D8pPIzcFQSU7HQl/k/HNCDyVfO1OvkyDwBGp4dPtvZc7Hl9FFYWwTP1CbZw==
647+
dependencies:
648+
"@jsonjoy.com/base64" "^1.1.2"
649+
"@jsonjoy.com/buffers" "^1.0.0"
650+
"@jsonjoy.com/codegen" "^1.0.0"
651+
"@jsonjoy.com/json-pointer" "^1.0.1"
652+
"@jsonjoy.com/util" "^1.9.0"
653+
hyperdyperid "^1.2.0"
654+
thingies "^2.5.0"
655+
656+
"@jsonjoy.com/json-pointer@^1.0.1":
657+
version "1.0.1"
658+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pointer/-/json-pointer-1.0.1.tgz#3b710158e8a212708a2886ea5e38d92e2ea4f4a0"
659+
integrity sha512-tJpwQfuBuxqZlyoJOSZcqf7OUmiYQ6MiPNmOv4KbZdXE/DdvBSSAwhos0zIlJU/AXxC8XpuO8p08bh2fIl+RKA==
660+
dependencies:
661+
"@jsonjoy.com/util" "^1.3.0"
662+
663+
"@jsonjoy.com/util@^1.3.0", "@jsonjoy.com/util@^1.9.0":
664+
version "1.9.0"
665+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-1.9.0.tgz#7ee95586aed0a766b746cd8d8363e336c3c47c46"
666+
integrity sha512-pLuQo+VPRnN8hfPqUTLTHk126wuYdXVxE6aDmjSeV4NCAgyxWbiOIeNJVtID3h1Vzpoi9m4jXezf73I6LgabgQ==
667+
dependencies:
668+
"@jsonjoy.com/buffers" "^1.0.0"
669+
"@jsonjoy.com/codegen" "^1.0.0"
670+
612671
"@nodelib/[email protected]":
613672
version "2.1.5"
614673
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -651,7 +710,7 @@
651710
strip-ansi "6.0.1"
652711
ts-retry-promise "^0.8.1"
653712

654-
"@salesforce/core@^8.18.5", "@salesforce/core@^8.18.7", "@salesforce/core@^8.8.0":
713+
"@salesforce/core@^8.18.5", "@salesforce/core@^8.8.0":
655714
version "8.18.7"
656715
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.18.7.tgz#1eb16b69b3a2120f5e39917a9e78d0c32eaa0943"
657716
integrity sha512-TP0AwS52+4ijIqVkNrKesVtK/osGsW7KvHrUiPcARI73ZKnW5z/CCpGdDH8nwGHSxj9rYlWC//g3EkTZJkparw==
@@ -675,6 +734,31 @@
675734
semver "^7.6.3"
676735
ts-retry-promise "^0.8.1"
677736

737+
"@salesforce/core@^8.19.1":
738+
version "8.19.1"
739+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.19.1.tgz#300b37db32e29a7b1055091cc13d04a6ccc4d8c1"
740+
integrity sha512-HPJxus0W4S1aoT4Qn6mG2s9Ik/mZ59rXNUFc2c+BgEAs28khbZOLR2uiZYexNpXIIZnCrSbb+v1t8IW/idIyCA==
741+
dependencies:
742+
"@jsforce/jsforce-node" "^3.10.1"
743+
"@salesforce/kit" "^3.2.2"
744+
"@salesforce/schemas" "^1.9.1"
745+
"@salesforce/ts-types" "^2.0.11"
746+
ajv "^8.17.1"
747+
change-case "^4.1.2"
748+
fast-levenshtein "^3.0.0"
749+
faye "^1.4.0"
750+
form-data "^4.0.4"
751+
js2xmlparser "^4.0.1"
752+
jsonwebtoken "9.0.2"
753+
jszip "3.10.1"
754+
memfs "^4.30.1"
755+
pino "^9.7.0"
756+
pino-abstract-transport "^1.2.0"
757+
pino-pretty "^11.3.0"
758+
proper-lockfile "^4.1.2"
759+
semver "^7.6.3"
760+
ts-retry-promise "^0.8.1"
761+
678762
"@salesforce/dev-config@^4.3.1":
679763
version "4.3.1"
680764
resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.3.1.tgz#4dac8245df79d675258b50e1d24e8c636eaa5e10"
@@ -3185,6 +3269,11 @@ husky@^7.0.4:
31853269
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
31863270
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
31873271

3272+
hyperdyperid@^1.2.0:
3273+
version "1.2.0"
3274+
resolved "https://registry.yarnpkg.com/hyperdyperid/-/hyperdyperid-1.2.0.tgz#59668d323ada92228d2a869d3e474d5a33b69e6b"
3275+
integrity sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==
3276+
31883277
ieee754@^1.2.1:
31893278
version "1.2.1"
31903279
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
@@ -4002,6 +4091,16 @@ mdurl@^2.0.0:
40024091
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0"
40034092
integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==
40044093

4094+
memfs@^4.30.1:
4095+
version "4.36.0"
4096+
resolved "https://registry.yarnpkg.com/memfs/-/memfs-4.36.0.tgz#b9fa8d97ddda3cb8c06908bceec956560c33d979"
4097+
integrity sha512-mfBfzGUdoEw5AZwG8E965ej3BbvW2F9LxEWj4uLxF6BEh1dO2N9eS3AGu9S6vfenuQYrVjsbUOOZK7y3vz4vyQ==
4098+
dependencies:
4099+
"@jsonjoy.com/json-pack" "^1.0.3"
4100+
"@jsonjoy.com/util" "^1.3.0"
4101+
tree-dump "^1.0.1"
4102+
tslib "^2.0.0"
4103+
40054104
meow@^13.0.0:
40064105
version "13.1.0"
40074106
resolved "https://registry.yarnpkg.com/meow/-/meow-13.1.0.tgz#62995b0e8c3951739fe6e0a4becdd4d0df23eb37"
@@ -5484,6 +5583,11 @@ text-table@^0.2.0:
54845583
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
54855584
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==
54865585

5586+
thingies@^2.5.0:
5587+
version "2.5.0"
5588+
resolved "https://registry.yarnpkg.com/thingies/-/thingies-2.5.0.tgz#5f7b882c933b85989f8466b528a6247a6881e04f"
5589+
integrity sha512-s+2Bwztg6PhWUD7XMfeYm5qliDdSiZm7M7n8KjTkIsm3l/2lgVRc2/Gx/v+ZX8lT4FMA+i8aQvhcWylldc+ZNw==
5590+
54875591
thread-stream@^3.0.0:
54885592
version "3.1.0"
54895593
resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-3.1.0.tgz#4b2ef252a7c215064507d4ef70c05a5e2d34c4f1"
@@ -5547,6 +5651,11 @@ tr46@~0.0.3:
55475651
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
55485652
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
55495653

5654+
tree-dump@^1.0.1:
5655+
version "1.0.3"
5656+
resolved "https://registry.yarnpkg.com/tree-dump/-/tree-dump-1.0.3.tgz#2f0e42e77354714418ed7ab44291e435ccdb0f80"
5657+
integrity sha512-il+Cv80yVHFBwokQSfd4bldvr1Md951DpgAGfmhydt04L+YzHgubm2tQ7zueWDcGENKHq0ZvGFR/hjvNXilHEg==
5658+
55505659
trim-newlines@^3.0.0:
55515660
version "3.0.1"
55525661
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
@@ -5611,6 +5720,11 @@ tsconfig-paths@^3.15.0:
56115720
minimist "^1.2.6"
56125721
strip-bom "^3.0.0"
56135722

5723+
tslib@^2.0.0:
5724+
version "2.8.1"
5725+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
5726+
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
5727+
56145728
tslib@^2.0.1, tslib@^2.0.3, tslib@^2.6.2:
56155729
version "2.6.2"
56165730
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"

0 commit comments

Comments
 (0)