mod-build 3.6.94-beta.5 → 3.6.94-beta.6

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.
@@ -26,9 +26,9 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
26
26
  if (activeSeason.length !== 0) {
27
27
  if (activeSeason.includes(SEASON)) {
28
28
  const data = JSON.stringify(siteData, null, 4);
29
- const heating = '(Heating|calentadores)';
30
- const and = '(&|and|y)';
31
- const ac = '(AC|Cooling|aires.*?acondicionados)';
29
+ const heating = '(Heating|heating|calentadores|Calentadores|calefactores|Calefactores)';
30
+ const and = '(\s&\s|\sand\s|and|\sy\s)'; // eslint-disable-line no-useless-escape
31
+ const ac = '(AC|Cooling|cooling|aires.*?acondicionados|Aires.*?Acondicionados)';
32
32
  const spaces = '.*?';
33
33
 
34
34
  const regex = new RegExp(`${heating}${spaces}${and}${spaces}${ac}`, 'gm');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.94-beta.5",
3
+ "version": "3.6.94-beta.6",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",