title: Cordova-build error: Use of const in strict mode
body: <p>I've created a new Cordova project in VS 2015. When I'm try to run the code I'm getting the following errors in my build output:</p>
  
  <pre><code>1&gt;------ Build started: Project: TestProject, Configuration: Debug Android ------
  1&gt;  ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac
  1&gt;  ------ Name from source package.json: vs-tac
  1&gt;  ------ Version from source package.json: 1.0.42
  1&gt;  ------ Package already installed globally at correct version.
  1&gt;  ------ Cordova tools 6.1.1 already installed.
  1&gt;  ------ Build Settings:
  1&gt;  ------ Build Settings:
  1&gt;  ------    platformConfigurationBldDir: C:\Users\safan.allauddin\documents\visual studio 2015\Projects\TestProject\TestProject\bld\Android\Debug
  1&gt;  ------    platformConfigurationBinDir: C:\Users\safan.allauddin\documents\visual studio 2015\Projects\TestProject\TestProject\bin\Android\Debug
  1&gt;  ------    buildCommand: prepare
  1&gt;  ------    platform: Android
  1&gt;  ------    cordovaPlatform: android
  1&gt;  ------    configuration: Debug
  1&gt;  ------    cordovaConfiguration: Debug
  1&gt;  ------    projectName: TestProject
  1&gt;  ------    projectSourceDir: C:\Users\safan.allauddin\documents\visual studio 2015\Projects\TestProject\TestProject
  1&gt;  ------    npmInstallDir: C:\Users\safan.allauddin\AppData\Roaming\npm
  1&gt;  ------    language: en-US
  1&gt;  ------ Adding platform: android
  1&gt;MSBUILD : cordova-build error : SyntaxError: C:\Users\safan.allauddin\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\6.1.1\node_modules\cordova\node_modules\cordova-lib\node_modules\request\node_modules\tough-cookie\node_modules\ip-regex\index.js:3
  1&gt;  SyntaxError C:\Users\safan.allauddin\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\6.1.1\node_modules\cordova\node_modules\cordova-lib\node_modules\request\node_modules\tough-cookie\node_modules\ip-regex\index.js:3
  1&gt;MSBUILD : cordova-build error : const v4 = '(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-
  1&gt;  const v4 = '(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-
  1&gt;MSBUILD : cordova-build error : ^^^^^
  1&gt;  ^^^^^
  1&gt;MSBUILD : cordova-build error : Use of const in strict mode.
  1&gt;  Use of const in strict mode.
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
  </code></pre>
  
  <p>My node version is v11.10.0 and my npm version is 6.7.0.</p>