@salesforcedevs/dw-components 0.64.5 → 0.66.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "0.64.5",
3
+ "version": "0.66.4",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -23,5 +23,5 @@
23
23
  "@types/lodash.orderby": "^4.6.7",
24
24
  "@types/lodash.uniqby": "^4.7.7"
25
25
  },
26
- "gitHead": "8540b5a441e6b34529a1b40693e712a88f4a8a3a"
26
+ "gitHead": "14d718be69bd8599b9ce3520a65dc8f0cb5f17de"
27
27
  }
@@ -503,8 +503,9 @@ export default abstract class DocsGrid extends LightningElement {
503
503
  const searchParams = qs.stringify(params);
504
504
 
505
505
  if (window.history.pushState) {
506
- const newurl = `${window.location.protocol}//${window.location.host}${window.location.pathname}?${searchParams}`;
507
- window.history.pushState({ path: newurl }, "", newurl);
506
+ const { protocol, host, pathname, hash } = window.location;
507
+ const path = `${protocol}//${host}${pathname}?${searchParams}${hash}`;
508
+ window.history.pushState({ path }, "", path);
508
509
  }
509
510
  }
510
511