@salesforce/packaging 4.21.2 → 4.21.4

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.
@@ -829,6 +829,11 @@ const packageXmlStringToPackageXmlJson = (rawXml) => {
829
829
  cdataPropName: '__cdata',
830
830
  ignoreDeclaration: true,
831
831
  numberParseOptions: { leadingZeros: false, hex: false },
832
+ // Max entity expansion limit (1000) was enforced in fast-xml-parser 5.5.6.
833
+ processEntities: {
834
+ enabled: true,
835
+ maxTotalExpansions: 50_000,
836
+ },
832
837
  // make sure types and members is always an array
833
838
  isArray: (name) => ['types', 'members'].includes(name),
834
839
  });
@@ -76,6 +76,11 @@ const profileStringToProfile = (profileString) => {
76
76
  cdataPropName: '__cdata',
77
77
  ignoreDeclaration: true,
78
78
  numberParseOptions: { leadingZeros: false, hex: false },
79
+ // Max entity expansion limit (1000) was enforced in fast-xml-parser 5.5.6.
80
+ processEntities: {
81
+ enabled: true,
82
+ maxTotalExpansions: 50_000,
83
+ },
79
84
  isArray: (name) => rewriteProps.includes(name),
80
85
  });
81
86
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/packaging",
3
- "version": "4.21.2",
3
+ "version": "4.21.4",
4
4
  "description": "Packaging library for the Salesforce packaging platform",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -46,7 +46,7 @@
46
46
  "@salesforce/core": "^8.27.1",
47
47
  "@salesforce/kit": "^3.2.4",
48
48
  "@salesforce/schemas": "^1.10.3",
49
- "@salesforce/source-deploy-retrieve": "^12.31.11",
49
+ "@salesforce/source-deploy-retrieve": "^12.31.23",
50
50
  "@salesforce/ts-types": "^2.0.12",
51
51
  "@salesforce/types": "^1.6.0",
52
52
  "fast-xml-parser": "^5.5.7",