mod-build 3.6.92 → 3.6.93-beta.1

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.93
4
+
5
+ - updated grab-cdn task to pull geolocation script
6
+
3
7
  ## 3.6.92
4
8
 
5
9
  - Updating `.eslintrc.yml` with our new lint rules; This configuration will also live on `quote.modernize.com`
@@ -284,7 +288,7 @@
284
288
 
285
289
  ## 3.6.5
286
290
 
287
- - Updating `settings_tolerance` & `library_tolerance` parameters default values in the VWO script to help reduce Heap-VWO undefined properties (for more information on these parameters you can read here -> https://help.vwo.com/hc/en-us/articles/900001789546-Why-Does-VWO-SmartCode-Time-out-and-How-to-Resolve-It-)
291
+ - Updating `settings_tolerance` & `library_tolerance` parameters default values in the VWO script to help reduce Heap-VWO undefined properties (for more information on these parameters you can read here -> <https://help.vwo.com/hc/en-us/articles/900001789546-Why-Does-VWO-SmartCode-Time-out-and-How-to-Resolve-It->)
288
292
 
289
293
  ## 3.6.3
290
294
 
@@ -18,11 +18,11 @@ function streamToDestination(gulp, siteSettings, inputPath, destPath, fileName)
18
18
  });
19
19
  }
20
20
 
21
- module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
21
+ module.exports = function(gulp, _gulpPlugins, siteSettings, siteData) {
22
22
  return function() {
23
23
  const { nodeEnv, isLocal } = siteSettings;
24
24
  const { isQSPage, isWhiteLabel, domain } = siteData;
25
- const isModWhiteLabel = isWhiteLabel && !isQSPage
25
+ const isModWhiteLabel = isWhiteLabel && !isQSPage;
26
26
  const domainHasModernize = domain.indexOf('modernize') > -1;
27
27
 
28
28
  let externalResources;
@@ -40,7 +40,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
40
40
  '/quote/resources/shared-resources/templates/modals/terms/': ['/resources/templates/modals/terms/', 'index.html'],
41
41
  '/quote/resources/shared-resources/templates/modals/contact-us/': ['/resources/templates/modals/contact-us/', 'index.html'],
42
42
  '/quote/resources/shared-resources/templates/modals/faq/': ['/resources/templates/modals/faq/', 'index.html']
43
- })
43
+ });
44
44
 
45
45
  if (isModWhiteLabel || domainHasModernize) {
46
46
  Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/recaptcha.html': ['/templates/scripts/', 'recaptcha.html']});
@@ -60,6 +60,13 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
60
60
  externalResources = { ...externalResources, ...remoteFilesForLocalDev };
61
61
  }
62
62
 
63
+ // Geolocation js
64
+ Object.assign(externalResources, {
65
+ '/quote/resources/shared-resources/scripts/geolocation/geolocation.min.js': [
66
+ 'resources/scripts/geolocation/', 'geolocation.min.js'
67
+ ]
68
+ });
69
+
63
70
  const filesPromiseMap = Object.keys(externalResources).map(key => {
64
71
  const destinationPath = externalResources[key][0];
65
72
  const fileName = externalResources[key][1];
package/package.json CHANGED
@@ -1,83 +1,83 @@
1
1
  {
2
- "name": "mod-build",
3
- "version": "3.6.92",
4
- "description": "Share components for S3 sites.",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1",
7
- "serve": "node --max-old-space-size=4096 gulp grab-shared-scripts"
8
- },
9
- "author": "",
10
- "license": "ISC",
11
- "dependencies": {
12
- "@babel/core": "^7.0.0",
13
- "@babel/preset-env": "^7.0.0",
14
- "@babel/register": "^7.0.0",
15
- "bootstrap-sass": "^3.4.3",
16
- "browser-sync": "^2.18.6",
17
- "del": "^3.0.0",
18
- "eslint": "^8.57.0",
19
- "gulp": "^3.9.1",
20
- "gulp-autoprefixer": "^3.1.1",
21
- "gulp-babel": "^8.0.0",
22
- "gulp-buffer": "0.0.2",
23
- "gulp-clean-css": "^3.0.4",
24
- "gulp-concat": "^2.6.1",
25
- "gulp-cssmin": "^0.1.7",
26
- "gulp-csso": "^3.0.0",
27
- "gulp-eslint": "^5.0.0",
28
- "gulp-eslint-new": "^2.1.0",
29
- "gulp-eslint-threshold": "^0.1.1",
30
- "gulp-filter": "^5.0.0",
31
- "gulp-handlebars-file-include": "^1.0.0",
32
- "gulp-hash": "^4.2.2",
33
- "gulp-htmlmin": "^3.0.0",
34
- "gulp-if": "^2.0.2",
35
- "gulp-imagemin": "^3.2.0",
36
- "gulp-insert": "^0.5.0",
37
- "gulp-load-plugins": "^0.10.0",
38
- "gulp-minify": "0.0.14",
39
- "gulp-mocha-phantomjs": "^0.12.1",
40
- "gulp-plumber": "^1.1.0",
41
- "gulp-rename": "^1.2.2",
42
- "gulp-replace": "^0.5.4",
43
- "gulp-rev": "^7.1.2",
44
- "gulp-rev-all": "^0.9.7",
45
- "gulp-rev-delete-original": "^0.2.3",
46
- "gulp-rev-replace": "^0.4.3",
47
- "gulp-sass": "^5.1.0",
48
- "gulp-sass-lint": "^1.3.2",
49
- "gulp-sass-variables": "^1.2.0",
50
- "gulp-size": "^2.1.0",
51
- "gulp-sourcemaps": "^2.6.0",
52
- "gulp-tap": "^2.0.0",
53
- "gulp-uglify": "^2.1.2",
54
- "gulp-useref": "^5.0.0",
55
- "husky": "^1.3.1",
56
- "imagemin-mozjpeg": "^7.0.0",
57
- "imagemin-webp": "^5.1.0",
58
- "jquery": "^3.2.1",
59
- "lodash": "^4.17.15",
60
- "lodash.merge": "^4.6.2",
61
- "nouislider": "^10.1.0",
62
- "path": "^0.12.7",
63
- "request": "^2.88.0",
64
- "run-sequence": "^2.2.1",
65
- "sass": "^1.49.9",
66
- "should": "^11.2.1",
67
- "vinyl-source-stream": "^2.0.0",
68
- "webpack-stream": "^5.2.1"
69
- },
70
- "resolutions": {
71
- "graceful-fs": "4.2.3",
72
- "eslint": "8.57.0"
73
- },
74
- "husky": {
75
- "hooks": {
76
- "pre-push": "gulp sass-lint && gulp js-lint-husky"
77
- }
78
- },
79
- "overrides": {
80
- "graceful-fs": "^4.2.9",
81
- "eslint": "8.57.0"
82
- }
2
+ "name": "mod-build",
3
+ "version": "3.6.93-beta.1",
4
+ "description": "Share components for S3 sites.",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "serve": "node --max-old-space-size=4096 gulp grab-shared-scripts"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "@babel/core": "^7.0.0",
13
+ "@babel/preset-env": "^7.0.0",
14
+ "@babel/register": "^7.0.0",
15
+ "bootstrap-sass": "^3.4.3",
16
+ "browser-sync": "^2.18.6",
17
+ "del": "^3.0.0",
18
+ "eslint": "^8.57.0",
19
+ "gulp": "^3.9.1",
20
+ "gulp-autoprefixer": "^3.1.1",
21
+ "gulp-babel": "^8.0.0",
22
+ "gulp-buffer": "0.0.2",
23
+ "gulp-clean-css": "^3.0.4",
24
+ "gulp-concat": "^2.6.1",
25
+ "gulp-cssmin": "^0.1.7",
26
+ "gulp-csso": "^3.0.0",
27
+ "gulp-eslint": "^5.0.0",
28
+ "gulp-eslint-new": "^2.1.0",
29
+ "gulp-eslint-threshold": "^0.1.1",
30
+ "gulp-filter": "^5.0.0",
31
+ "gulp-handlebars-file-include": "^1.0.0",
32
+ "gulp-hash": "^4.2.2",
33
+ "gulp-htmlmin": "^3.0.0",
34
+ "gulp-if": "^2.0.2",
35
+ "gulp-imagemin": "^3.2.0",
36
+ "gulp-insert": "^0.5.0",
37
+ "gulp-load-plugins": "^0.10.0",
38
+ "gulp-minify": "0.0.14",
39
+ "gulp-mocha-phantomjs": "^0.12.1",
40
+ "gulp-plumber": "^1.1.0",
41
+ "gulp-rename": "^1.2.2",
42
+ "gulp-replace": "^0.5.4",
43
+ "gulp-rev": "^7.1.2",
44
+ "gulp-rev-all": "^0.9.7",
45
+ "gulp-rev-delete-original": "^0.2.3",
46
+ "gulp-rev-replace": "^0.4.3",
47
+ "gulp-sass": "^5.1.0",
48
+ "gulp-sass-lint": "^1.3.2",
49
+ "gulp-sass-variables": "^1.2.0",
50
+ "gulp-size": "^2.1.0",
51
+ "gulp-sourcemaps": "^2.6.0",
52
+ "gulp-tap": "^2.0.0",
53
+ "gulp-uglify": "^2.1.2",
54
+ "gulp-useref": "^5.0.0",
55
+ "husky": "^1.3.1",
56
+ "imagemin-mozjpeg": "^7.0.0",
57
+ "imagemin-webp": "^5.1.0",
58
+ "jquery": "^3.2.1",
59
+ "lodash": "^4.17.15",
60
+ "lodash.merge": "^4.6.2",
61
+ "nouislider": "^10.1.0",
62
+ "path": "^0.12.7",
63
+ "request": "^2.88.0",
64
+ "run-sequence": "^2.2.1",
65
+ "sass": "^1.49.9",
66
+ "should": "^11.2.1",
67
+ "vinyl-source-stream": "^2.0.0",
68
+ "webpack-stream": "^5.2.1"
69
+ },
70
+ "resolutions": {
71
+ "graceful-fs": "4.2.3",
72
+ "eslint": "8.57.0"
73
+ },
74
+ "husky": {
75
+ "hooks": {
76
+ "pre-push": "gulp sass-lint && gulp js-lint-husky"
77
+ }
78
+ },
79
+ "overrides": {
80
+ "graceful-fs": "^4.2.9",
81
+ "eslint": "8.57.0"
82
+ }
83
83
  }
@@ -1,4 +1,5 @@
1
1
  var _vwo_clicks=25;
2
+ var _vis_opt_cookieDays=1;
2
3
  var _vwo_code=(function(){
3
4
  var account_id=37264,
4
5
  settings_tolerance=4000,