@salesforce/pwa-kit-dev 3.16.0 → 3.17.0-nightly-20260217081023

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.
@@ -3,8 +3,8 @@
3
3
  "version": "2.8.0-dev",
4
4
  "license": "See license in LICENSE",
5
5
  "engines": {
6
- "node": "^16.11.0 || ^18.0.0 || ^20.0.0 || ^22.0.0",
7
- "npm": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
6
+ "node": "^18.0.0 || ^20.0.0 || ^22.0.0 || ^24.0.0",
7
+ "npm": "^9.0.0 || ^10.0.0 || ^11.0.0"
8
8
  },
9
9
  "ccExtensibility": {
10
10
  "extends": "retail-react-app",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/pwa-kit-dev",
3
- "version": "3.16.0",
3
+ "version": "3.17.0-nightly-20260217081023",
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.16.0",
61
+ "@salesforce/pwa-kit-runtime": "3.17.0-nightly-20260217081023",
62
62
  "@typescript-eslint/eslint-plugin": "^5.57.0",
63
63
  "@typescript-eslint/parser": "^5.57.0",
64
64
  "archiver": "1.3.0",
@@ -122,7 +122,7 @@
122
122
  "@types/node": "~16.0.3",
123
123
  "@types/node-fetch": "~2.6.3",
124
124
  "@types/validator": "~13.7.14",
125
- "internal-lib-build": "3.16.0",
125
+ "internal-lib-build": "3.17.0-nightly-20260217081023",
126
126
  "nock": "^13.3.0",
127
127
  "nodemon": "^2.0.22",
128
128
  "superagent": "^6.1.0",
@@ -142,11 +142,11 @@
142
142
  }
143
143
  },
144
144
  "engines": {
145
- "node": "^16.11.0 || ^18.0.0 || ^20.0.0 || ^22.0.0",
146
- "npm": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
145
+ "node": "^18.0.0 || ^20.0.0 || ^22.0.0 || ^24.0.0",
146
+ "npm": "^9.0.0 || ^10.0.0 || ^11.0.0"
147
147
  },
148
148
  "publishConfig": {
149
149
  "directory": "dist"
150
150
  },
151
- "gitHead": "6c5fadd745fbd4f666d0887f45d01719e86b3ead"
151
+ "gitHead": "e5934d1d14a90adf3438d383d60aac5ca57449ed"
152
152
  }
@@ -8,7 +8,6 @@ var _os = _interopRequireDefault(require("os"));
8
8
  var _path = _interopRequireDefault(require("path"));
9
9
  var _archiver = _interopRequireDefault(require("archiver"));
10
10
  var _nodeFetch = _interopRequireDefault(require("node-fetch"));
11
- var _url = require("url");
12
11
  var _fsExtra = require("fs-extra");
13
12
  var _minimatch = require("minimatch");
14
13
  var _gitRevSync = _interopRequireDefault(require("git-rev-sync"));
@@ -229,7 +228,7 @@ class CloudAPIClient {
229
228
  return _asyncToGenerator(function* () {
230
229
  const base = `api/projects/${projectSlug}/builds/`;
231
230
  const pathname = target ? base + `${target}/` : base;
232
- const url = new _url.URL(_this2.opts.origin);
231
+ const url = new URL(_this2.opts.origin);
233
232
  url.pathname = pathname;
234
233
  const body = Buffer.from(JSON.stringify(bundle));
235
234
  const headers = _objectSpread(_objectSpread({}, yield _this2.getHeaders()), {}, {
@@ -247,7 +246,7 @@ class CloudAPIClient {
247
246
  createLoggingToken(project, environment) {
248
247
  var _this3 = this;
249
248
  return _asyncToGenerator(function* () {
250
- const url = new _url.URL(_this3.opts.origin);
249
+ const url = new URL(_this3.opts.origin);
251
250
  url.pathname = `/api/projects/${project}/target/${environment}/jwt/`;
252
251
  const headers = _objectSpread(_objectSpread({}, yield _this3.getHeaders()), {}, {
253
252
  // Annoyingly, the new logging endpoint only accepts an
@@ -274,7 +273,7 @@ class CloudAPIClient {
274
273
  /** Check the deployment status to see whether it has finished. */
275
274
  const _check = /*#__PURE__*/function () {
276
275
  var _ref6 = _asyncToGenerator(function* () {
277
- const url = new _url.URL(`/api/projects/${project}/target/${environment}`, _this4.opts.origin);
276
+ const url = new URL(`/api/projects/${project}/target/${environment}`, _this4.opts.origin);
278
277
  const res = yield _this4.opts.fetch(url, {
279
278
  headers: yield _this4.getHeaders()
280
279
  });
@@ -445,7 +444,7 @@ const getCredentialsFile = (cloudOrigin, credentialsFile) => {
445
444
  if (credentialsFile) {
446
445
  return credentialsFile;
447
446
  } else {
448
- const url = new _url.URL(cloudOrigin);
447
+ const url = new URL(cloudOrigin);
449
448
  const host = url.host;
450
449
  const suffix = host === 'cloud.mobify.com' ? '' : `--${host}`;
451
450
  return _path.default.join(_os.default.homedir(), `.mobify${suffix}`);