auth0-deploy-cli 7.13.0 → 7.13.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/.circleci/config.yml
CHANGED
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
|
+
## [7.13.1] - 2022-06-13
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Removing single usage of `flatMap` array method to prevent crashes with Node v10 [#577]
|
|
15
|
+
|
|
10
16
|
## [7.13.0] - 2022-06-06
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -769,7 +775,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
769
775
|
[#553]: https://github.com/auth0/auth0-deploy-cli/issues/553
|
|
770
776
|
[#554]: https://github.com/auth0/auth0-deploy-cli/issues/554
|
|
771
777
|
[#563]: https://github.com/auth0/auth0-deploy-cli/issues/563
|
|
772
|
-
[
|
|
778
|
+
[#577]: https://github.com/auth0/auth0-deploy-cli/issues/577
|
|
779
|
+
[unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.13.1...HEAD
|
|
780
|
+
[7.13.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.13.0...v7.13.1
|
|
773
781
|
[7.13.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.12.3...v7.13.0
|
|
774
782
|
[7.12.3]: https://github.com/auth0/auth0-deploy-cli/compare/v7.12.2...v7.12.3
|
|
775
783
|
[7.12.2]: https://github.com/auth0/auth0-deploy-cli/compare/v7.12.1...v7.12.2
|
|
@@ -164,7 +164,8 @@ class PromptsHandler extends default_1.default {
|
|
|
164
164
|
const supportedLanguages = yield this.client.tenant
|
|
165
165
|
.getSettings()
|
|
166
166
|
.then(({ enabled_locales }) => enabled_locales);
|
|
167
|
-
const data = yield Promise.all(supportedLanguages
|
|
167
|
+
const data = yield Promise.all(supportedLanguages
|
|
168
|
+
.map((language) => {
|
|
168
169
|
return promptTypes.map((promptType) => {
|
|
169
170
|
return this.client.prompts
|
|
170
171
|
.getCustomTextByLanguage({
|
|
@@ -180,7 +181,9 @@ class PromptsHandler extends default_1.default {
|
|
|
180
181
|
};
|
|
181
182
|
});
|
|
182
183
|
});
|
|
183
|
-
})
|
|
184
|
+
})
|
|
185
|
+
.reduce((acc, val) => acc.concat(val), []) // TODO: replace .map().reduce() with .flatMap() once we officially eliminate Node v10 support
|
|
186
|
+
).then((customTextData) => {
|
|
184
187
|
return customTextData
|
|
185
188
|
.filter((customTextData) => {
|
|
186
189
|
return customTextData !== null;
|