@adobe/helix-config 3.4.1 → 3.4.3

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,17 @@
1
+ ## [3.4.3](https://github.com/adobe/helix-config/compare/v3.4.2...v3.4.3) (2024-07-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * avoid NPE if org config is missing ([#124](https://github.com/adobe/helix-config/issues/124)) ([a9efaab](https://github.com/adobe/helix-config/commit/a9efaab5e6557b0d73406a0f78b6d2a2e0ba7b23))
7
+
8
+ ## [3.4.2](https://github.com/adobe/helix-config/compare/v3.4.1...v3.4.2) (2024-07-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-config to v10.6.3 ([c26b938](https://github.com/adobe/helix-config/commit/c26b938d1524521dc596c277189ed3a9e420f452))
14
+
1
15
  ## [3.4.1](https://github.com/adobe/helix-config/compare/v3.4.0...v3.4.1) (2024-07-06)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@adobe/fetch": "4.1.8",
63
- "@adobe/helix-shared-config": "10.6.2",
63
+ "@adobe/helix-shared-config": "10.6.3",
64
64
  "@adobe/helix-shared-git": "3.0.12",
65
65
  "@adobe/helix-shared-storage": "1.0.2",
66
66
  "@adobe/helix-shared-utils": "3.0.2",
@@ -387,7 +387,7 @@ export async function getConfigResponse(ctx, opts) {
387
387
  // access.require.repository ?
388
388
  };
389
389
  if (opts.scope === SCOPE_ADMIN || opts.scope === SCOPE_RAW) {
390
- config.access.admin = computeSiteAdminRoles(admin, config.groups, orgConfig.groups);
390
+ config.access.admin = computeSiteAdminRoles(admin, config.groups, orgConfig?.groups);
391
391
  }
392
392
  }
393
393