mod-build 3.6.62 → 3.6.63

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.6.63
4
+
5
+ - Adding conditional to check for `siteData` to exist before checking for the `useAccessibleConfig`.
6
+
3
7
  ## 3.6.62
4
8
 
5
9
  - Adding the accessible components to the `grab-shared-components` task; As well as pulling the accessible `defaultFormFieldConfig` for the new template.js configuration (& merging to the new template stucture appropriately); As well as updating the `grab-shared-scripts` to pull in / edit the necessary accessible components (including the accessible abandonment JS file);
@@ -248,7 +248,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
248
248
  return async function() {
249
249
  if (Object.keys(siteData).length > 0) {
250
250
  if (!templatesData.doNotUseDefaultFieldConfig && !templatesData.defaultConfigCompleted) {
251
- if (templatesData.siteData.useAccessibleConfig) {
251
+ if (templatesData.siteData && templatesData.siteData.useAccessibleConfig) {
252
252
  await getDefaultFormFieldConfig('accessible-components');
253
253
  } else {
254
254
  await getDefaultFormFieldConfig('shared-components');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.62",
3
+ "version": "3.6.63",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",