@patternfly/documentation-framework 1.3.3 → 1.3.5

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/app.js +3 -0
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.3.5 (2022-12-20)
7
+
8
+ **Note:** Version bump only for package @patternfly/documentation-framework
9
+
10
+
11
+
12
+
13
+
14
+ ## 1.3.4 (2022-12-20)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **lodash:** add lodash.constant to global._ ([#3324](https://github.com/patternfly/patternfly-org/issues/3324)) ([a2d79a4](https://github.com/patternfly/patternfly-org/commit/a2d79a4b5b8776fbc81907a146dfa5a09626cb8f))
20
+
21
+
22
+
23
+
24
+
6
25
  ## 1.3.3 (2022-12-19)
7
26
 
8
27
  **Note:** Version bump only for package @patternfly/documentation-framework
package/app.js CHANGED
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import ReactDOM from 'react-dom';
3
3
  import { Router, useLocation } from '@reach/router';
4
4
  import 'client-styles'; // Webpack replaces this import: patternfly-docs.css.js
5
+ import { constant } from 'lodash';
5
6
  import { SideNavLayout } from '@patternfly/documentation-framework/layouts';
6
7
  import { Footer } from '@patternfly/documentation-framework/components';
7
8
  import { MDXTemplate } from '@patternfly/documentation-framework/templates/mdx';
@@ -16,6 +17,8 @@ import './components/sideNav/sideNav.css';
16
17
  import './components/topNav/topNav.css';
17
18
  import './layouts/sideNavLayout/sideNavLayout.css';
18
19
 
20
+ global._ = { ...global?._, constant } // temporary fix for '_.constant is not a function' bug in a topology dependency
21
+
19
22
  const AppRoute = ({ child, katacodaLayout, title, path }) => {
20
23
  const pathname = useLocation().pathname;
21
24
  if (typeof window !== 'undefined' && window.gtag) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/documentation-framework",
3
3
  "description": "A framework to build documentation for PatternFly.",
4
- "version": "1.3.3",
4
+ "version": "1.3.5",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -85,5 +85,5 @@
85
85
  "react": "^16.8.0 || ^17.0.0",
86
86
  "react-dom": "^16.8.0 || ^17.0.0"
87
87
  },
88
- "gitHead": "31f12aca3284b6eadb1d458990023a512ede352a"
88
+ "gitHead": "a5d5edae3aec49802c7d325d6245d599a12abb9d"
89
89
  }