@adobe/spacecat-shared-utils 1.116.0 → 1.116.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [@adobe/spacecat-shared-utils-v1.116.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.116.1...@adobe/spacecat-shared-utils-v1.116.2) (2026-05-23)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **deps:** update external fixes ([#1623](https://github.com/adobe/spacecat-shared/issues/1623)) ([19cb2a4](https://github.com/adobe/spacecat-shared/commit/19cb2a4fec00735ad4eead3030f9ea6b2573fdc3))
6
+
7
+ ## [@adobe/spacecat-shared-utils-v1.116.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.116.0...@adobe/spacecat-shared-utils-v1.116.1) (2026-05-22)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **utils:** normalize $LATEST function version in resolveSecretsName ([#1614](https://github.com/adobe/spacecat-shared/issues/1614)) ([86c55b9](https://github.com/adobe/spacecat-shared/commit/86c55b9c53faf9a3ca5cb98b7181d3ca269af238)), closes [adobe/spacecat-scrape-job-manager#177](https://github.com/adobe/spacecat-scrape-job-manager/issues/177) [adobe/spacecat-content-scraper#886](https://github.com/adobe/spacecat-content-scraper/issues/886)
12
+
1
13
  ## [@adobe/spacecat-shared-utils-v1.116.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.115.4...@adobe/spacecat-shared-utils-v1.116.0) (2026-05-21)
2
14
 
3
15
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.116.0",
3
+ "version": "1.116.2",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
@@ -84,12 +84,12 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@adobe/fetch": "4.3.0",
87
- "@aws-sdk/client-s3": "3.1045.0",
88
- "@aws-sdk/client-sqs": "3.1045.0",
87
+ "@aws-sdk/client-s3": "3.1053.0",
88
+ "@aws-sdk/client-sqs": "3.1053.0",
89
89
  "@json2csv/plainjs": "7.0.6",
90
90
  "aws-xray-sdk": "3.12.0",
91
91
  "cheerio": "1.2.0",
92
- "date-fns": "4.1.0",
92
+ "date-fns": "4.3.0",
93
93
  "franc-min": "6.2.0",
94
94
  "ipaddr.js": "^2.2.0",
95
95
  "iso-639-3": "3.0.1",
package/src/helpers.js CHANGED
@@ -33,6 +33,12 @@ export function resolveSecretsName(opts, ctx, defaultPath) {
33
33
 
34
34
  // if funcVersion is something like ci123, then use ci directly
35
35
  funcVersion = /^ci\d+$/i.test(funcVersion) ? 'ci' : funcVersion;
36
+ // when a Lambda is invoked via an unqualified ARN (e.g. SQS event source
37
+ // mappings without an alias), helix-universal sets ctx.func.version to
38
+ // '$LATEST'. '$' is not a valid character in AWS Secrets Manager secret
39
+ // names, which causes ValidationException downstream. Normalize to
40
+ // 'latest' so the resolved secret path matches the :latest alias path.
41
+ funcVersion = funcVersion === '$LATEST' ? 'latest' : funcVersion;
36
42
 
37
43
  return `${defaultPath}/${funcVersion}`;
38
44
  }