auth0-deploy-cli 8.29.1 → 8.29.2

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
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [8.29.2] - 2026-03-17
11
+
12
+ ### Fixed
13
+
14
+ - Fix false-positive deprecation warning for `cross_origin_auth` when `cross_origin_authentication` is correctly used in config. [#1322]
15
+
10
16
  ## [8.29.1] - 2026-03-12
11
17
 
12
18
  ### Fixed
@@ -1678,7 +1684,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1678
1684
  [#1311]: https://github.com/auth0/auth0-deploy-cli/issues/1311
1679
1685
  [#1320]: https://github.com/auth0/auth0-deploy-cli/issues/1320
1680
1686
  [#1321]: https://github.com/auth0/auth0-deploy-cli/issues/1321
1681
- [Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.1...HEAD
1687
+ [#1322]: https://github.com/auth0/auth0-deploy-cli/issues/1322
1688
+ [Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.2...HEAD
1689
+ [8.29.2]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.1...v8.29.2
1682
1690
  [8.29.1]: https://github.com/auth0/auth0-deploy-cli/compare/v8.29.0...v8.29.1
1683
1691
  [8.29.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.28.0...v8.29.0
1684
1692
  [8.28.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.27.0...v8.28.0
@@ -324,7 +324,7 @@ exports.schema = {
324
324
  const createClientSanitizer = (clients) => {
325
325
  let sanitized = clients;
326
326
  return {
327
- sanitizeCrossOriginAuth() {
327
+ sanitizeCrossOriginAuth(warn = true) {
328
328
  const deprecatedClients = [];
329
329
  sanitized = sanitized.map((client) => {
330
330
  let updated = { ...client };
@@ -338,9 +338,8 @@ const createClientSanitizer = (clients) => {
338
338
  }
339
339
  return updated;
340
340
  });
341
- if (deprecatedClients.length > 0) {
342
- logger_1.default.warn("The 'cross_origin_auth' parameter is deprecated in clients and scheduled for removal in future releases.\n" +
343
- `Use 'cross_origin_authentication' going forward. Clients using the deprecated setting: [${deprecatedClients.join(', ')}]`);
341
+ if (warn && deprecatedClients.length > 0) {
342
+ logger_1.default.warn("The 'cross_origin_auth' parameter is deprecated. Use 'cross_origin_authentication' going forward.");
344
343
  }
345
344
  return this;
346
345
  },
@@ -451,7 +450,7 @@ class ClientHandler extends default_1.default {
451
450
  is_global: false,
452
451
  ...((0, utils_1.shouldExcludeThirdPartyClients)(this.config) && { is_first_party: true }),
453
452
  });
454
- this.existing = createClientSanitizer(clients).sanitizeCrossOriginAuth().get();
453
+ this.existing = createClientSanitizer(clients).sanitizeCrossOriginAuth(false).get();
455
454
  return this.existing;
456
455
  }
457
456
  // convert names back to IDs for express configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auth0-deploy-cli",
3
- "version": "8.29.1",
3
+ "version": "8.29.2",
4
4
  "description": "A command line tool for deploying updates to your Auth0 tenant",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -42,7 +42,7 @@
42
42
  "nconf": "^0.13.0",
43
43
  "promise-pool-executor": "^1.1.1",
44
44
  "sanitize-filename": "^1.6.3",
45
- "undici": "^7.22.0",
45
+ "undici": "^7.24.3",
46
46
  "winston": "^3.19.0",
47
47
  "yargs": "^15.4.1"
48
48
  },
@@ -52,8 +52,8 @@
52
52
  "@types/lodash": "^4.17.24",
53
53
  "@types/mocha": "^10.0.10",
54
54
  "@types/nconf": "^0.10.7",
55
- "@typescript-eslint/eslint-plugin": "^8.56.1",
56
- "@typescript-eslint/parser": "^8.56.1",
55
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
56
+ "@typescript-eslint/parser": "^8.57.0",
57
57
  "chai": "^4.5.0",
58
58
  "chai-as-promised": "^7.1.2",
59
59
  "eslint": "^9.39.2",