sku 11.2.6 → 11.2.7

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,11 @@
1
1
  # sku
2
2
 
3
+ ## 11.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Support static rendering for routes using ':language' ([#670](https://github.com/seek-oss/sku/pull/670))
8
+
3
9
  ## 11.2.6
4
10
 
5
11
  ### Patch Changes
@@ -88,7 +88,7 @@ function getLanguageFromRoute(req, route) {
88
88
  }
89
89
 
90
90
  function getRouteWithLanguage(routePath, language) {
91
- return routePath.replace(/\$language/g, language);
91
+ return routePath.replace(/(\$|\:)language/g, language);
92
92
  }
93
93
 
94
94
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sku",
3
- "version": "11.2.6",
3
+ "version": "11.2.7",
4
4
  "description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
5
5
  "main": "index.js",
6
6
  "bin": {