@salesforce/pwa-kit-dev 3.1.0-preview.2 → 3.1.0-preview.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/pwa-kit-dev",
3
- "version": "3.1.0-preview.2",
3
+ "version": "3.1.0-preview.3",
4
4
  "description": "Build tools for pwa-kit",
5
5
  "homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/pwa-kit-dev#readme",
6
6
  "bugs": {
@@ -58,7 +58,7 @@
58
58
  "@loadable/server": "^5.15.3",
59
59
  "@loadable/webpack-plugin": "^5.15.2",
60
60
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
61
- "@salesforce/pwa-kit-runtime": "3.1.0-preview.2",
61
+ "@salesforce/pwa-kit-runtime": "3.1.0-preview.3",
62
62
  "@typescript-eslint/eslint-plugin": "^5.57.0",
63
63
  "@typescript-eslint/parser": "^5.57.0",
64
64
  "archiver": "1.3.0",
@@ -119,7 +119,7 @@
119
119
  "@types/node-fetch": "^2.6.3",
120
120
  "@types/validator": "^13.7.14",
121
121
  "eslint-plugin-no-relative-import-paths": "^1.5.2",
122
- "internal-lib-build": "3.1.0-preview.2",
122
+ "internal-lib-build": "3.1.0-preview.3",
123
123
  "nock": "^13.3.0",
124
124
  "nodemon": "^2.0.22",
125
125
  "superagent": "^6.1.0",
@@ -148,5 +148,5 @@
148
148
  "publishConfig": {
149
149
  "directory": "dist"
150
150
  },
151
- "gitHead": "3492171017c426688e11ae4c0d725d272e71ed0d"
151
+ "gitHead": "3840c85ad3a5526ff6a54eb0bf65327d3aa72797"
152
152
  }
@@ -43,6 +43,12 @@ const DevServerMixin = {
43
43
  _logStartupMessage(options) {
44
44
  console.log(`Starting the DevServer on ${_chalk.default.cyan(this._getDevServerURL(options))}`);
45
45
  },
46
+ /**
47
+ * @private
48
+ */
49
+ _getAllowCookies(options) {
50
+ return 'MRT_ALLOW_COOKIES' in process.env ? process.env.MRT_ALLOW_COOKIES === 'true' : options.localAllowCookies;
51
+ },
46
52
  /**
47
53
  * @private
48
54
  */