keycloakify 11.8.37-rc.1 → 11.8.38-rc.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/bin/712.index.js CHANGED
@@ -13,18 +13,21 @@ exports.modules = {
13
13
  /* harmony import */ var _tools_crawl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73036);
14
14
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71017);
15
15
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_2__);
16
- /* harmony import */ var tsafe_symToStr__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(76030);
16
+ /* harmony import */ var tsafe_symToStr__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(76030);
17
17
  /* harmony import */ var recast__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48128);
18
18
  /* harmony import */ var _babel_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85026);
19
19
  /* harmony import */ var _babel_generator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92332);
20
20
  /* harmony import */ var _babel_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7912);
21
21
  /* harmony import */ var _babel_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_types__WEBPACK_IMPORTED_MODULE_6__);
22
- /* harmony import */ var _tools_escapeStringForPropertiesFile__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27190);
22
+ /* harmony import */ var _tools_escapeStringForPropertiesFile__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(27190);
23
23
  /* harmony import */ var _tools_getThisCodebaseRootDirPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58822);
24
24
  /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(57147);
25
25
  /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_8__);
26
26
  /* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(29041);
27
27
  /* harmony import */ var _tools_getAbsoluteAndInOsFormatPath__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84794);
28
+ /* harmony import */ var json5__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(86904);
29
+ /* harmony import */ var json5__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(json5__WEBPACK_IMPORTED_MODULE_11__);
30
+
28
31
 
29
32
 
30
33
 
@@ -65,7 +68,7 @@ function generateMessageProperties(params) {
65
68
  }
66
69
  messagesJson += line;
67
70
  }
68
- const messages = JSON.parse(messagesJson);
71
+ const messages = json5__WEBPACK_IMPORTED_MODULE_11___default().parse(messagesJson);
69
72
  return [languageTag, messages];
70
73
  }));
71
74
  const { i18nTsFilePath } = (() => {
@@ -208,7 +211,7 @@ function generateMessageProperties(params) {
208
211
  (0,tsafe_assert__WEBPACK_IMPORTED_MODULE_9__/* .assert */ .h)(declarationCode !== undefined, `${filePath} does not contain a 'messages' variable declaration`);
209
212
  let messages = {};
210
213
  try {
211
- eval(`${(0,tsafe_symToStr__WEBPACK_IMPORTED_MODULE_11__/* .symToStr */ .r)({ messages })} = ${declarationCode};`);
214
+ eval(`${(0,tsafe_symToStr__WEBPACK_IMPORTED_MODULE_12__/* .symToStr */ .r)({ messages })} = ${declarationCode};`);
212
215
  }
213
216
  catch (_a) {
214
217
  throw new Error(`The declaration of 'message' in ${filePath} cannot be statically evaluated: ${declarationCode}`);
@@ -241,7 +244,7 @@ function generateMessageProperties(params) {
241
244
  }
242
245
  let messages_themeDefined_by_languageTag = {};
243
246
  try {
244
- eval(`${(0,tsafe_symToStr__WEBPACK_IMPORTED_MODULE_11__/* .symToStr */ .r)({ messages_themeDefined_by_languageTag })} = ${firstArgumentCode}`);
247
+ eval(`${(0,tsafe_symToStr__WEBPACK_IMPORTED_MODULE_12__/* .symToStr */ .r)({ messages_themeDefined_by_languageTag })} = ${firstArgumentCode}`);
245
248
  }
246
249
  catch (_a) {
247
250
  console.warn([
@@ -289,7 +292,7 @@ function generateMessageProperties(params) {
289
292
  }
290
293
  const propertiesFileSource = [
291
294
  "",
292
- ...Object.entries(messages).map(([key, value]) => `${key}=${(0,_tools_escapeStringForPropertiesFile__WEBPACK_IMPORTED_MODULE_12__/* .escapeStringForPropertiesFile */ .y)(value)}`),
295
+ ...Object.entries(messages).map(([key, value]) => `${key}=${(0,_tools_escapeStringForPropertiesFile__WEBPACK_IMPORTED_MODULE_13__/* .escapeStringForPropertiesFile */ .y)(value)}`),
293
296
  ""
294
297
  ].join("\n");
295
298
  fs__WEBPACK_IMPORTED_MODULE_8__.mkdirSync(messageDirPath, { recursive: true });