@eeacms/volto-eea-website-theme 1.5.0 → 1.6.0

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
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.6.0](https://github.com/eea/volto-eea-website-theme/compare/1.5.1...1.6.0) - 17 January 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Update dependency to design-system [Alin Voinea - [`f0c0b63`](https://github.com/eea/volto-eea-website-theme/commit/f0c0b6363da190b6512961560341077933195e86)]
12
+ ### [1.5.1](https://github.com/eea/volto-eea-website-theme/compare/1.5.0...1.5.1) - 13 January 2023
13
+
14
+ #### :bug: Bug Fixes
15
+
16
+ - fix(++api++): o.filter - refs #157627 [Alin Voinea - [`bd5a3ac`](https://github.com/eea/volto-eea-website-theme/commit/bd5a3ac3fcfef3cdbc36cedc896bd33696521df4)]
17
+ - fix(++api++): TypeError: o.filter is not a function - refs #157627 [Alin Voinea - [`f955115`](https://github.com/eea/volto-eea-website-theme/commit/f955115e9ffcc09a0f68d20ec854309e8770cf0a)]
18
+
19
+ #### :hammer_and_wrench: Others
20
+
21
+ - For some reasons types is a string [Alin Voinea - [`3769a09`](https://github.com/eea/volto-eea-website-theme/commit/3769a0981181d5b633f3498daebbe96be8b4b833)]
22
+ - Fix(redirect): o.filter - refs #157627 [Alin Voinea - [`deb23da`](https://github.com/eea/volto-eea-website-theme/commit/deb23da846444cc96539697fd798429ae0abe89e)]
7
23
  ### [1.5.0](https://github.com/eea/volto-eea-website-theme/compare/1.4.2...1.5.0) - 9 January 2023
8
24
 
9
25
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -22,7 +22,7 @@
22
22
  "url": "git@github.com:eea/volto-eea-website-theme.git"
23
23
  },
24
24
  "dependencies": {
25
- "@eeacms/volto-eea-design-system": "^1.0.0-alpha.8",
25
+ "@eeacms/volto-eea-design-system": "^1.0.0-alpha.11",
26
26
  "volto-subsites": "*"
27
27
  },
28
28
  "devDependencies": {
@@ -118,7 +118,7 @@ const View = (props) => {
118
118
  // Get type
119
119
  const type = useMemo(() => {
120
120
  return (
121
- types.filter(
121
+ types?.filter?.(
122
122
  (type) =>
123
123
  flattenToAppURL(type['@id']) ===
124
124
  `/@types/${metadata['@type'] || parameters.type}`,