Skip to content

Commit d4351f7

Browse files
authored
fix: ignore ExperienceResource SourceMember entries (#621)
* fix: ignore ExperienceResource SourceMember entries * chore: bump core dep
1 parent 882242a commit d4351f7

File tree

3 files changed

+80
-4
lines changed

3 files changed

+80
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"dependencies": {
5252
"@oclif/core": "^4.0.6",
53-
"@salesforce/core": "^8.0.3",
53+
"@salesforce/core": "^8.0.5",
5454
"@salesforce/kit": "^3.1.6",
5555
"@salesforce/source-deploy-retrieve": "^12.0.2",
5656
"@salesforce/ts-types": "^2.0.10",

src/shared/metadataKeys.ts

+7
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ export const registrySupportsType = (type: string): boolean => {
9292
*/
9393
return false;
9494
}
95+
if (type === 'ExperienceResource') {
96+
/* ExperienceResource is a child of ExperienceBundle but fine-grained source tracking isn't supported for
97+
* ExperienceBundle since it's not defined that way in the SDR registry. Since ExperienceBundle is
98+
* essentially deprecated in favor of DigitalExperienceBundle this is not something we're going to support.
99+
*/
100+
return false;
101+
}
95102
try {
96103
// this must use getTypeByName because findType doesn't support addressable child types (ex: customField!)
97104
registry.getTypeByName(type);

yarn.lock

+72-3
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,26 @@
522522
strip-ansi "^6.0.0"
523523
xml2js "^0.6.2"
524524

525+
"@jsforce/jsforce-node@^3.2.1":
526+
version "3.2.1"
527+
resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.2.1.tgz#00fab05919e0cbe91ae4d873377e56cfbc087b98"
528+
integrity sha512-hjmZQbYVikm6ATmaErOp5NaKR2VofNZsrcGGHrdbGA+bAgpfg/+MA/HzRTb8BvYyPDq3RRc5A8Yk8gx9Vtcrxg==
529+
dependencies:
530+
"@sindresorhus/is" "^4"
531+
"@types/node" "^18.15.3"
532+
abort-controller "^3.0.0"
533+
base64url "^3.0.1"
534+
csv-parse "^5.5.2"
535+
csv-stringify "^6.4.4"
536+
faye "^1.4.0"
537+
form-data "^4.0.0"
538+
fs-extra "^8.1.0"
539+
https-proxy-agent "^5.0.0"
540+
multistream "^3.1.0"
541+
node-fetch "^2.6.1"
542+
strip-ansi "^6.0.0"
543+
xml2js "^0.6.2"
544+
525545
"@nodelib/fs.scandir@2.1.5":
526546
version "2.1.5"
527547
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -611,6 +631,30 @@
611631
semver "^7.6.2"
612632
ts-retry-promise "^0.8.1"
613633

634+
"@salesforce/core@^8.0.5":
635+
version "8.0.5"
636+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.0.5.tgz#f3d4af7052ff39bf06ec89af3734339b3fabe879"
637+
integrity sha512-+p1TYvKhXWlzah7qp+vnv5W63EZm6nn7zLRvivFsL6pza0B4siHWfx11ceJ4p7W8+kh/xeuygtkddwYoLS3KkA==
638+
dependencies:
639+
"@jsforce/jsforce-node" "^3.2.1"
640+
"@salesforce/kit" "^3.1.6"
641+
"@salesforce/schemas" "^1.9.0"
642+
"@salesforce/ts-types" "^2.0.10"
643+
ajv "^8.16.0"
644+
change-case "^4.1.2"
645+
fast-levenshtein "^3.0.0"
646+
faye "^1.4.0"
647+
form-data "^4.0.0"
648+
js2xmlparser "^4.0.1"
649+
jsonwebtoken "9.0.2"
650+
jszip "3.10.1"
651+
pino "^9.2.0"
652+
pino-abstract-transport "^1.2.0"
653+
pino-pretty "^11.2.1"
654+
proper-lockfile "^4.1.2"
655+
semver "^7.6.2"
656+
ts-retry-promise "^0.8.1"
657+
614658
"@salesforce/dev-config@^4.1.0":
615659
version "4.1.0"
616660
resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
@@ -5088,7 +5132,16 @@ srcset@^5.0.0:
50885132
resolved "https://registry.yarnpkg.com/srcset/-/srcset-5.0.0.tgz#9df6c3961b5b44a02532ce6ae4544832609e2e3f"
50895133
integrity sha512-SqEZaAEhe0A6ETEa9O1IhSPC7MdvehZtCnTR0AftXk3QhY2UNgb+NApFOUPZILXk/YTDfFxMTNJOBpzrJsEdIA==
50905134

5091-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
5135+
"string-width-cjs@npm:string-width@^4.2.0":
5136+
version "4.2.3"
5137+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
5138+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
5139+
dependencies:
5140+
emoji-regex "^8.0.0"
5141+
is-fullwidth-code-point "^3.0.0"
5142+
strip-ansi "^6.0.1"
5143+
5144+
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
50925145
version "4.2.3"
50935146
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
50945147
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -5147,7 +5200,14 @@ string_decoder@~1.1.1:
51475200
dependencies:
51485201
safe-buffer "~5.1.0"
51495202

5150-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
5203+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
5204+
version "6.0.1"
5205+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
5206+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
5207+
dependencies:
5208+
ansi-regex "^5.0.1"
5209+
5210+
strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
51515211
version "6.0.1"
51525212
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
51535213
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -5651,7 +5711,7 @@ workerpool@6.2.1:
56515711
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343"
56525712
integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
56535713

5654-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
5714+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
56555715
version "7.0.0"
56565716
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
56575717
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -5669,6 +5729,15 @@ wrap-ansi@^6.2.0:
56695729
string-width "^4.1.0"
56705730
strip-ansi "^6.0.0"
56715731

5732+
wrap-ansi@^7.0.0:
5733+
version "7.0.0"
5734+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
5735+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
5736+
dependencies:
5737+
ansi-styles "^4.0.0"
5738+
string-width "^4.1.0"
5739+
strip-ansi "^6.0.0"
5740+
56725741
wrap-ansi@^8.1.0:
56735742
version "8.1.0"
56745743
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)