@graphcommerce/magento-category 4.2.0 → 4.2.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,5 +1,36 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`bfbcd59d8`](https://github.com/graphcommerce-org/graphcommerce/commit/bfbcd59d8f7652d7a7c028f79cc994216e8dbe3a), [`49370878a`](https://github.com/graphcommerce-org/graphcommerce/commit/49370878a48b90a4579026a7c56c54f97840cebb), [`b6ce5548c`](https://github.com/graphcommerce-org/graphcommerce/commit/b6ce5548c66a8ca62d3aee29467045f7f07f30c8)]:
8
+ - @graphcommerce/magento-product@4.4.21
9
+ - @graphcommerce/graphql@3.4.4
10
+ - @graphcommerce/next-ui@4.17.0
11
+ - @graphcommerce/magento-store@4.2.23
12
+ - @graphcommerce/framer-scroller@2.1.28
13
+
14
+ ## 4.2.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`87a188d6f`](https://github.com/graphcommerce-org/graphcommerce/commit/87a188d6f216b7f7b9ec95afbe74f1146cb07ce4), [`2014f10e9`](https://github.com/graphcommerce-org/graphcommerce/commit/2014f10e935fd112ac98eca69f030d30982ba18e), [`1eb131766`](https://github.com/graphcommerce-org/graphcommerce/commit/1eb131766c32db6fcb0a8e83dba2c3d241658595)]:
19
+ - @graphcommerce/framer-scroller@2.1.27
20
+ - @graphcommerce/next-ui@4.16.0
21
+ - @graphcommerce/magento-product@4.4.20
22
+ - @graphcommerce/magento-store@4.2.22
23
+
24
+ ## 4.2.1
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`a88f166f0`](https://github.com/graphcommerce-org/graphcommerce/commit/a88f166f0115c58254fe47171da51a5850658a32)]:
29
+ - @graphcommerce/next-ui@4.15.1
30
+ - @graphcommerce/framer-scroller@2.1.26
31
+ - @graphcommerce/magento-product@4.4.19
32
+ - @graphcommerce/magento-store@4.2.21
33
+
3
34
  ## 4.2.0
4
35
 
5
36
  ### Minor Changes
@@ -1,11 +1,12 @@
1
- import { NavigationNode, NavigationNodeButton, NavigationNodeHref } from '@graphcommerce/next-ui'
1
+ import {
2
+ NavigationNode,
3
+ NavigationNodeButton,
4
+ NavigationNodeHref,
5
+ nonNullable,
6
+ } from '@graphcommerce/next-ui'
2
7
  import { i18n } from '@lingui/core'
3
8
  import { MenuQueryFragment } from '../queries/MenuQueryFragment.gql'
4
9
 
5
- function nonNullable<T>(value: T): value is NonNullable<T> {
6
- return value !== null && value !== undefined
7
- }
8
-
9
10
  export type Item = NonNullable<NonNullable<MenuQueryFragment['menu']>['items']>[0]
10
11
 
11
12
  export function categoryToNav(props: Item | null | undefined): NavigationNode | undefined {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-category",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.2.0",
5
+ "version": "4.2.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,12 +19,12 @@
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/framer-scroller": "2.1.25",
23
- "@graphcommerce/graphql": "3.4.3",
22
+ "@graphcommerce/framer-scroller": "2.1.28",
23
+ "@graphcommerce/graphql": "3.4.4",
24
24
  "@graphcommerce/image": "3.1.7",
25
- "@graphcommerce/magento-product": "4.4.18",
26
- "@graphcommerce/magento-store": "4.2.20",
27
- "@graphcommerce/next-ui": "4.15.0"
25
+ "@graphcommerce/magento-product": "4.4.21",
26
+ "@graphcommerce/magento-store": "4.2.23",
27
+ "@graphcommerce/next-ui": "4.17.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@lingui/react": "^3.13.2",