@zohodesk/react-cli 1.1.27 → 1.1.28-exp.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.
Files changed (355) hide show
  1. package/README.md +18 -0
  2. package/lib/configs/jest.config.js +1 -1
  3. package/lib/configs/libAlias.js +2 -2
  4. package/lib/configs/resolvers.js +2 -2
  5. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +2 -5
  6. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +4 -1
  7. package/lib/plugins/I18nSplitPlugin/utils/unicodeConversion.js +6 -8
  8. package/lib/schemas/index.js +1 -0
  9. package/lib/utils/copyTimezones.js +1 -0
  10. package/npm-shrinkwrap.json +330 -24
  11. package/package.json +2 -2
  12. package/packages/client_build_tool/lib/allCommandsConfigs.js +25 -0
  13. package/packages/client_build_tool/lib/commands/build/commandExecutor.js +17 -0
  14. package/packages/client_build_tool/lib/commands/build/config.js +12 -0
  15. package/packages/client_build_tool/lib/commands/build/optionsProcessor.js +35 -0
  16. package/packages/client_build_tool/lib/commands/build/preProcessor.js +12 -0
  17. package/packages/client_build_tool/lib/commands/buildEs/commandExecutor.js +33 -0
  18. package/packages/client_build_tool/lib/commands/buildEs/config.js +12 -0
  19. package/packages/client_build_tool/lib/commands/buildEs/preProcessor.js +17 -0
  20. package/packages/client_build_tool/lib/commands/buildLib/commandExecutor.js +33 -0
  21. package/packages/client_build_tool/lib/commands/buildLib/config.js +12 -0
  22. package/packages/client_build_tool/lib/commands/buildLib/preProcessor.js +17 -0
  23. package/packages/client_build_tool/lib/commands/mockserver/commandExecutor.js +43 -0
  24. package/packages/client_build_tool/lib/commands/mockserver/config.js +12 -0
  25. package/packages/client_build_tool/lib/commands/pre_process/commandExecutor.js +18 -0
  26. package/packages/client_build_tool/lib/commands/pre_process/config.js +12 -0
  27. package/packages/client_build_tool/lib/commands/start/commandExecutor.js +12 -0
  28. package/packages/client_build_tool/lib/commands/start/config.js +12 -0
  29. package/packages/client_build_tool/lib/commands/start/optionsProcessor.js +30 -0
  30. package/packages/client_build_tool/lib/commands/start/preProcessor.js +12 -0
  31. package/packages/client_build_tool/lib/commands/template/commandExecutor.js +28 -0
  32. package/packages/client_build_tool/lib/commands/template/config.js +12 -0
  33. package/packages/client_build_tool/lib/commands/version/commandExecutor.js +14 -0
  34. package/packages/client_build_tool/lib/commands/version/config.js +12 -0
  35. package/packages/client_build_tool/lib/commandsRouter.js +74 -0
  36. package/packages/client_build_tool/lib/index.js +12 -0
  37. package/packages/client_build_tool/lib/logger.js +34 -0
  38. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/otherTestCases.test.js +234 -0
  39. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingDifferentDataTypesToSchema.test.js +103 -0
  40. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingEmptyObjects.test.js +41 -0
  41. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertArray.test.js +68 -0
  42. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertNumber.test.js +68 -0
  43. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertObject.test.js +141 -0
  44. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertString.test.js +68 -0
  45. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertUndefinedAndNull.test.js +132 -0
  46. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertArray.test.js +71 -0
  47. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertNumber.test.js +71 -0
  48. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertObject.test.js +73 -0
  49. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertString.test.js +71 -0
  50. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertUndefinedAndNull.test.js +138 -0
  51. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/index.js +34 -0
  52. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isObject.js +10 -0
  53. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isValid.js +14 -0
  54. package/packages/client_build_tool/lib/schemas/cliArgsToObject.js +39 -0
  55. package/packages/client_build_tool/lib/schemas/defaultConfigValues.js +349 -0
  56. package/packages/client_build_tool/lib/schemas/defaultConfigValuesOnly.js +187 -0
  57. package/packages/client_build_tool/lib/schemas/deprecatedOptionsHandler.js +67 -0
  58. package/packages/client_build_tool/lib/schemas/getNpmVersion.js +22 -0
  59. package/packages/client_build_tool/lib/schemas/giveDefaultValue.js +18 -0
  60. package/packages/client_build_tool/lib/schemas/npmConfigToObject.js +35 -0
  61. package/packages/client_build_tool/lib/schemas/readOptions.js +54 -0
  62. package/packages/client_build_tool/lib/schemas/readOptionsForConfigFile.js +42 -0
  63. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Map.test.js +15 -0
  64. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/MathAndNumberMethod.test.js +30 -0
  65. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/ObjectAndModules.test.js +47 -0
  66. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Sets.test.js +18 -0
  67. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Symbol.test.js +25 -0
  68. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/arrowFunction.test.js +34 -0
  69. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/block-scoping.test.js +18 -0
  70. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/classes.test.js +55 -0
  71. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/defaultParameterValues.test.js +18 -0
  72. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/extraFeatures.test.js +82 -0
  73. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/forOf.test.js +20 -0
  74. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/promise.test.js +22 -0
  75. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadOperator.test.js +20 -0
  76. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadParams.test.js +24 -0
  77. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/stringAndArrayMethods.test.js +67 -0
  78. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/variables.test.js +21 -0
  79. package/packages/client_build_tool/lib/shared/babel/__test__/es2016/array-includes.test.js +13 -0
  80. package/packages/client_build_tool/lib/shared/babel/__test__/es2016/exponentationOperator.test.js +20 -0
  81. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/asyncAndawait.test.js +23 -0
  82. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-entries.test.js +24 -0
  83. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-getOwnproperties.test.js +24 -0
  84. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-values.test.js +24 -0
  85. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/stringMethods.test.js +20 -0
  86. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/asynchronous-iterator.test.js +19 -0
  87. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/object-rest-spread.test.js +24 -0
  88. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/promise-finally.test.js +26 -0
  89. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/regularExpressions.test.js +35 -0
  90. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/Json.stringify.test.js +21 -0
  91. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/arrayMethods.test.js +31 -0
  92. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/object-fromEntriesMethod.test.js +13 -0
  93. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/optionalCatchBinding.test.js +23 -0
  94. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/revisedFunctionToString.test.js +17 -0
  95. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/trim-startAndend-method.test.js +20 -0
  96. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/AssignmentOperator.test.js +27 -0
  97. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/Dynamic-Import.test.js +19 -0
  98. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/NullishOperator.test.js +15 -0
  99. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/bigInt.test.js +13 -0
  100. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/chainOperator.test.js +17 -0
  101. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/export-namespace-from.test.js +12 -0
  102. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/promiseAllSettledMathod.test.js +17 -0
  103. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/stringMatchMethod.test.js +13 -0
  104. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/NumericSeparator.test.js +23 -0
  105. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/logicalOperatorAssignments.test.js +25 -0
  106. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/promiseAny.test.js +16 -0
  107. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/stringReplaceMethod.test.js +16 -0
  108. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/Array-atMethod.test.js +13 -0
  109. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjectKeyCheck.test.js +27 -0
  110. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjecthasOwnMethod.test.js +19 -0
  111. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/RegexMatchIndices.test.js +20 -0
  112. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/String-atMethod.test.js +15 -0
  113. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/error.Cause.test.js +23 -0
  114. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/keysCheckinPrivateFields.test.js +27 -0
  115. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/privateMethodsAndFields.test.js +23 -0
  116. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/staticFieldsAndMethod.test.js +54 -0
  117. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/topLevelAwait.test.js +11 -0
  118. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/weakRef.test.js +17 -0
  119. package/packages/client_build_tool/lib/shared/babel/__test__/utilities.js +28 -0
  120. package/packages/client_build_tool/lib/shared/babel/addDefaultPlugins.js +15 -0
  121. package/packages/client_build_tool/lib/shared/babel/babelWebConfig.js +54 -0
  122. package/packages/client_build_tool/lib/shared/babel/babel_plugins/removeAttributesPlugin.js +23 -0
  123. package/packages/client_build_tool/lib/shared/babel/getBabelPlugin.js +37 -0
  124. package/packages/client_build_tool/lib/shared/babel/runBabelForJSFile.js +24 -0
  125. package/packages/client_build_tool/lib/shared/babel/runBabelForTsFile.js +30 -0
  126. package/packages/client_build_tool/lib/shared/bundler/webpack/common/decidePublicPath.js +57 -0
  127. package/packages/client_build_tool/lib/shared/bundler/webpack/common/libAlias.js +31 -0
  128. package/packages/client_build_tool/lib/shared/bundler/webpack/common/modeUtils.js +39 -0
  129. package/packages/client_build_tool/lib/shared/bundler/webpack/common/nameTemplates.js +105 -0
  130. package/packages/client_build_tool/lib/shared/bundler/webpack/common/resourceBasedPublicPath.js +21 -0
  131. package/packages/client_build_tool/lib/shared/bundler/webpack/configCustomLoaders.js +10 -0
  132. package/packages/client_build_tool/lib/shared/bundler/webpack/cssLoaders.js +16 -0
  133. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/BundleIntegrityReport/index.js +83 -0
  134. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/index.js +119 -0
  135. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/webpackCustomJsUrlLoader.js +46 -0
  136. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CustomScriptLoadingPlugin.js +109 -0
  137. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/EFCTemplatePlugin.js +112 -0
  138. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ContributionGuide.md +11 -0
  139. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nFilesEmitPlugin.js +174 -0
  140. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nKeysIdentifer.js +76 -0
  141. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nRuntimeDealerPlugin.js +223 -0
  142. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nSplit.md +95 -0
  143. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/LocaleChunkAssetsStore.js +73 -0
  144. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ModulesI18nKeysStore.js +88 -0
  145. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/README.md +25 -0
  146. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/constants.js +29 -0
  147. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/createHash.js +24 -0
  148. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +76 -0
  149. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/index.js +39 -0
  150. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/iterateModulesInChunk.js +50 -0
  151. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/optionsHandler.js +68 -0
  152. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/pathCreator.js +23 -0
  153. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/readI18nValues.js +29 -0
  154. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateFileName.js +43 -0
  155. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateHashHelpers.js +77 -0
  156. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/classesAndObject.test.js +56 -0
  157. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/conditionalOperation.test.js +154 -0
  158. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function.test.js +89 -0
  159. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function2.test.js +71 -0
  160. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/loop.test.js +112 -0
  161. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minifyBooleanValues.test.js +43 -0
  162. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minimizeVariableNames.test.js +45 -0
  163. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/promise.test.js +53 -0
  164. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
  165. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeUnusedStrings.test.js +14 -0
  166. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/variableDeclaration.test.js +30 -0
  167. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/collectI18nKeys.js +66 -0
  168. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/getChunkModules.js +13 -0
  169. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/hashUtils.js +19 -0
  170. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/index.js +31 -0
  171. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/propertiesUtils.js +129 -0
  172. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +60 -0
  173. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/addFilesNamesToManifestJson.test.js +51 -0
  174. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/createInitialEntries.test.js +95 -0
  175. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/removeHashFromFileName.test.js +91 -0
  176. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +30 -0
  177. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +23 -0
  178. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +35 -0
  179. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/findInitialFileNames.js +18 -0
  180. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/index.js +46 -0
  181. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/removeHashFromFileName.js +18 -0
  182. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RTLSplitPlugin.js +1 -0
  183. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +193 -0
  184. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +62 -0
  185. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtlCssPlugin.js +84 -0
  186. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtrSplit.md +34 -0
  187. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/replaceCssDirTemplate.js +27 -0
  188. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RuntimeResourceCleanup/index.js +73 -0
  189. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/classHandling.js +20 -0
  190. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/index.js +78 -0
  191. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/selectorWeightPrefixAdder.js +51 -0
  192. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/windowsModification.js +16 -0
  193. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +114 -0
  194. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPluginUtils.js +13 -0
  195. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +68 -0
  196. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/addHashToFilePath.js +22 -0
  197. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/index.js +55 -0
  198. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifyCss1.test.js +74 -0
  199. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifycss.test.js +64 -0
  200. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/utilities.js +28 -0
  201. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/index.js.js +49 -0
  202. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js +62 -0
  203. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/index.js +362 -0
  204. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/custom_attribute_plugin/index.js +80 -0
  205. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/emitAsset.js +14 -0
  206. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +57 -0
  207. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +87 -0
  208. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/classesAndObject.test.js +56 -0
  209. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/conditionalOperation.test.js +154 -0
  210. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function.test.js +89 -0
  211. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function2.test.js +71 -0
  212. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/loop.test.js +112 -0
  213. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minifyBooleanValues.test.js +43 -0
  214. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minimizeVariableNames.test.js +45 -0
  215. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/promise.test.js +53 -0
  216. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
  217. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeUnusedStrings.test.js +14 -0
  218. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/variableDeclaration.test.js +30 -0
  219. package/packages/client_build_tool/lib/shared/bundler/webpack/defaultVendorPatternList.js +13 -0
  220. package/packages/client_build_tool/lib/shared/bundler/webpack/devtoolConfig.js +13 -0
  221. package/packages/client_build_tool/lib/shared/bundler/webpack/entryConfig.js +28 -0
  222. package/packages/client_build_tool/lib/shared/bundler/webpack/externals.js +17 -0
  223. package/packages/client_build_tool/lib/shared/bundler/webpack/getCSSLoaders.js +29 -0
  224. package/packages/client_build_tool/lib/shared/bundler/webpack/getFilenameFromModule.js +24 -0
  225. package/packages/client_build_tool/lib/shared/bundler/webpack/jsLoaders.js +17 -0
  226. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/assetLoaders.js +12 -0
  227. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/babelLoaderConfig.js +18 -0
  228. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/checkIsPatternsMatchFilename.js +56 -0
  229. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configHtmlTemplateLoader.js +18 -0
  230. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configPostCssLoader.js +37 -0
  231. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configWebWorkerLoader.js +21 -0
  232. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +86 -0
  233. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +65 -0
  234. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +21 -0
  235. package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/miniCssFallBackLoader.js +7 -0
  236. package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/workerLoader.js +133 -0
  237. package/packages/client_build_tool/lib/shared/bundler/webpack/optimizationConfig.js +56 -0
  238. package/packages/client_build_tool/lib/shared/bundler/webpack/outputConfig.js +38 -0
  239. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleAnalyzer.js +40 -0
  240. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleIntegrityReport.js +36 -0
  241. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +28 -0
  242. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCdnChangePlugin.js +27 -0
  243. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCopyPublicFolders.js +63 -0
  244. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCustomAttributesPlugin.js +20 -0
  245. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCustomScriptLoadingStrategyPlugin.js +76 -0
  246. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEFCTemplatePlugin.js +46 -0
  247. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEnvVariables.js +51 -0
  248. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configHtmlWebpackPlugin.js +56 -0
  249. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +41 -0
  250. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configIgnorePlugin.js +16 -0
  251. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +44 -0
  252. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +24 -0
  253. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configProgressPlugin.js +24 -0
  254. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configResourceHintsPlugin.js +21 -0
  255. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configRtlCssPlugin.js +27 -0
  256. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configRuntimeResourceCleanup.js +31 -0
  257. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSelectorWeightPlugin.js +28 -0
  258. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configServiceWorkerPlugin.js +40 -0
  259. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSourceMapPlugin.js +20 -0
  260. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configTPHashMappingPlugin.js +32 -0
  261. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configVariableConversionPlugin.js +25 -0
  262. package/packages/client_build_tool/lib/shared/bundler/webpack/plugins.js +58 -0
  263. package/packages/client_build_tool/lib/shared/bundler/webpack/resolvers.js +82 -0
  264. package/packages/client_build_tool/lib/shared/bundler/webpack/splitChunksConfig.js +116 -0
  265. package/packages/client_build_tool/lib/shared/bundler/webpack/statsConfig.js +30 -0
  266. package/packages/client_build_tool/lib/shared/bundler/webpack/tsLoaders.js +17 -0
  267. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/__test__/getArrayWithDefaultWithCustomEqual.test.js +54 -0
  268. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/__test__/updateArrayWithDefault.test.js +47 -0
  269. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/index.js +31 -0
  270. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/object-manipulation.js +87 -0
  271. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/updateArrayWithDefault.js +34 -0
  272. package/packages/client_build_tool/lib/shared/bundler/webpack/webpackBuild.js +27 -0
  273. package/packages/client_build_tool/lib/shared/bundler/webpack/webpackConfig.js +58 -0
  274. package/packages/client_build_tool/lib/shared/commands-utils/doBasicRequirementCheck.js +17 -0
  275. package/packages/client_build_tool/lib/shared/commands-utils/getCliPath.js +39 -0
  276. package/packages/client_build_tool/lib/shared/commands-utils/index.js +29 -0
  277. package/packages/client_build_tool/lib/shared/commands-utils/log.js +13 -0
  278. package/packages/client_build_tool/lib/shared/commands-utils/readArgsFormCommandLine.js +11 -0
  279. package/packages/client_build_tool/lib/shared/commands-utils/readOptionFormCommandLine.js +11 -0
  280. package/packages/client_build_tool/lib/shared/commands-utils/spawnSyncIO.js +38 -0
  281. package/packages/client_build_tool/lib/shared/constants.js +48 -0
  282. package/packages/client_build_tool/lib/shared/fileUtils/copyFile.js +38 -0
  283. package/packages/client_build_tool/lib/shared/fileUtils/directoryIterator.js +21 -0
  284. package/packages/client_build_tool/lib/shared/fileUtils/watchRun.js +112 -0
  285. package/packages/client_build_tool/lib/shared/postcss/__test__/ignoreTestCases.test.js +80 -0
  286. package/packages/client_build_tool/lib/shared/postcss/__test__/postcss-rtl-all-cases.test.js +119 -0
  287. package/packages/client_build_tool/lib/shared/postcss/__test__/postcssRtl.spec.js +34 -0
  288. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/EmptyPlugin.js +21 -0
  289. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/constants.js +10 -0
  290. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js +66 -0
  291. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/index.js +136 -0
  292. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/insertBefore.js +32 -0
  293. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js +20 -0
  294. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js +20 -0
  295. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js +24 -0
  296. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/specialCases.js +43 -0
  297. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js +52 -0
  298. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/RTLSplitPlugin.js +139 -0
  299. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/SelectorReplace.js +90 -0
  300. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +57 -0
  301. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +347 -0
  302. package/packages/client_build_tool/lib/shared/postcss/filterPluginsAllowedForSpecficFile.js +55 -0
  303. package/packages/client_build_tool/lib/shared/postcss/getAllowedPostCssPlugins.js +30 -0
  304. package/packages/client_build_tool/lib/shared/postcss/getSpecificPostCssPlugin.js +58 -0
  305. package/packages/client_build_tool/lib/shared/postcss/runPostCssForCssFile.js +37 -0
  306. package/packages/client_build_tool/lib/shared/pre_process/runPreProcess.js +58 -0
  307. package/packages/client_build_tool/lib/shared/server/configWebpackDevMiddleware.js +41 -0
  308. package/packages/client_build_tool/lib/shared/server/corsHandling.js +30 -0
  309. package/packages/client_build_tool/lib/shared/server/getIp.js +30 -0
  310. package/packages/client_build_tool/lib/shared/server/getServerURL.js +36 -0
  311. package/packages/client_build_tool/lib/shared/server/httpsOptions.js +46 -0
  312. package/packages/client_build_tool/lib/shared/server/initExpressApp.js +19 -0
  313. package/packages/client_build_tool/lib/shared/server/initialHTMLHandling.js +99 -0
  314. package/packages/client_build_tool/lib/shared/server/mockApiHandler.js +60 -0
  315. package/packages/client_build_tool/lib/shared/server/mockServer.js +41 -0
  316. package/packages/client_build_tool/lib/shared/server/serveContextFiles.js +27 -0
  317. package/packages/client_build_tool/lib/shared/server/serverBywebpackDevMiddleware.js +35 -0
  318. package/packages/client_build_tool/lib/shared/server/startHttpServer.js +26 -0
  319. package/packages/client_build_tool/lib/shared/server/startHttpsServer.js +38 -0
  320. package/packages/client_build_tool/lib/shared/server/unwanted/addHttp2Server.js +41 -0
  321. package/packages/client_build_tool/lib/shared/server/unwanted/configWebpackDevMiddleware.js +44 -0
  322. package/packages/client_build_tool/lib/shared/server/unwanted/mockApiSupport.js +19 -0
  323. package/packages/client_build_tool/lib/shared/server/unwanted/websocketMockSetup.js +48 -0
  324. package/packages/client_build_tool/lib/shared/server/urlConcat.js +32 -0
  325. package/packages/client_build_tool/lib/shared/utils/requireLocalOrGlobal.js +81 -0
  326. package/packages/client_build_tool/lib/shared/utils/utils.js +1 -0
  327. package/packages/client_build_tool/lib/shared/utils/versionPrint.js +20 -0
  328. package/packages/client_build_tool/node_modules/history/CHANGES.md +395 -0
  329. package/packages/client_build_tool/node_modules/history/DOMUtils.js +3 -0
  330. package/packages/client_build_tool/node_modules/history/ExecutionEnvironment.js +3 -0
  331. package/packages/client_build_tool/node_modules/history/LICENSE +21 -0
  332. package/packages/client_build_tool/node_modules/history/LocationUtils.js +3 -0
  333. package/packages/client_build_tool/node_modules/history/PathUtils.js +3 -0
  334. package/packages/client_build_tool/node_modules/history/README.md +282 -0
  335. package/packages/client_build_tool/node_modules/history/cjs/history.js +933 -0
  336. package/packages/client_build_tool/node_modules/history/cjs/history.min.js +1 -0
  337. package/packages/client_build_tool/node_modules/history/createBrowserHistory.js +3 -0
  338. package/packages/client_build_tool/node_modules/history/createHashHistory.js +3 -0
  339. package/packages/client_build_tool/node_modules/history/createMemoryHistory.js +3 -0
  340. package/packages/client_build_tool/node_modules/history/createTransitionManager.js +3 -0
  341. package/packages/client_build_tool/node_modules/history/es/DOMUtils.js +7 -0
  342. package/packages/client_build_tool/node_modules/history/es/ExecutionEnvironment.js +7 -0
  343. package/packages/client_build_tool/node_modules/history/es/LocationUtils.js +7 -0
  344. package/packages/client_build_tool/node_modules/history/es/PathUtils.js +7 -0
  345. package/packages/client_build_tool/node_modules/history/es/createBrowserHistory.js +7 -0
  346. package/packages/client_build_tool/node_modules/history/es/createHashHistory.js +7 -0
  347. package/packages/client_build_tool/node_modules/history/es/createMemoryHistory.js +7 -0
  348. package/packages/client_build_tool/node_modules/history/es/createTransitionManager.js +7 -0
  349. package/packages/client_build_tool/node_modules/history/es/warnAboutDeprecatedESMImport.js +35 -0
  350. package/packages/client_build_tool/node_modules/history/esm/history.js +904 -0
  351. package/packages/client_build_tool/node_modules/history/index.js +7 -0
  352. package/packages/client_build_tool/node_modules/history/package.json +120 -0
  353. package/packages/client_build_tool/node_modules/history/umd/history.js +1059 -0
  354. package/packages/client_build_tool/node_modules/history/umd/history.min.js +1 -0
  355. package/packages/client_build_tool/node_modules/history/warnAboutDeprecatedCJSRequire.js +35 -0
package/README.md CHANGED
@@ -44,6 +44,24 @@ Now to run app
44
44
 
45
45
  # Change Logs
46
46
 
47
+ # 1.1.28 (29-01-2025)
48
+
49
+ **Fixes**
50
+
51
+ - We've changed the i18n Unicode conversion process. Instead of converting the Unicode at runtime, we now convert it to the corresponding language during the build process and emit the final build
52
+ - Added @zohodesk-private in transformIgnorePatterns in jest.config.js file , fix in jest
53
+
54
+ **changes**
55
+
56
+ - separate the disableES5Transpile flag as two flags disableES5Transpile and disableES5Import
57
+ - disableES5Import flag handles the alias part
58
+ - disableES5Transpile flag handles the esmodules or common modules conversion part
59
+
60
+
61
+ # 1.1.27 (16-12-2024)
62
+
63
+ - While rendering i18n keys at runtime, we convert any keys containing Unicode to their corresponding language characters before rendering. This enhances performance and reduces file size.
64
+
47
65
  # 1.1.26 (06-09-2024)
48
66
 
49
67
  **Features**
@@ -26,7 +26,7 @@ const commonConfig = {
26
26
  // ...moduleNameMapper,
27
27
  // '\\.(css|less)$': 'identity-obj-proxy'
28
28
  // },
29
- transformIgnorePatterns: ['/node_modules/(?!(@zohodesk)/)'],
29
+ transformIgnorePatterns: ['/node_modules/(?!(@zohodesk|@zohodesk-private)/)'],
30
30
  // transformIgnorePatterns: ['/node_modules.*?.js$'],
31
31
  moduleFileExtensions: ['js', 'ts', 'tsx'],
32
32
  setupFiles: [(0, _fs.existsSync)(appGlobals) && appGlobals, _path.default.resolve(__dirname, '..', 'jest', 'setup.js')].filter(Boolean),
@@ -23,7 +23,7 @@ const {
23
23
  app
24
24
  } = (0, _utils.getOptions)();
25
25
  const {
26
- disableES5Transpile
26
+ disableES5Import
27
27
  } = app;
28
28
 
29
29
  function aliasPathCreation(customAlias) {
@@ -64,7 +64,7 @@ const libAlias = {
64
64
  // '^@components(.*)$': '<rootDir>/src/components$1',
65
65
 
66
66
  exports.libAlias = libAlias;
67
- const totalAlias = disableES5Transpile ? Object.assign({}, libAlias, aliasPathCreation(alias)) : aliasPathCreation(alias);
67
+ const totalAlias = disableES5Import ? Object.assign({}, libAlias, aliasPathCreation(alias)) : aliasPathCreation(alias);
68
68
  const jestModuleNameMapper = Object.keys(totalAlias).reduce((previousValue, key) => {
69
69
  previousValue[`^${key}(.*)$`] = `${totalAlias[key]}$1`;
70
70
  return previousValue;
@@ -19,7 +19,7 @@ var _client_packages_group = require("@zohodesk/client_packages_group");
19
19
  function moduleResolver(options) {
20
20
  const {
21
21
  moduleResolvePath,
22
- disableES5Transpile
22
+ disableES5Import
23
23
  } = options.app;
24
24
  const customAlias = options.alias;
25
25
  let required = moduleResolvePath && (0, _requireLocalOrGlobal.requireLocal)(moduleResolvePath);
@@ -33,7 +33,7 @@ function moduleResolver(options) {
33
33
  }
34
34
 
35
35
  const nodeModulesPath = required ? required.nodeModulesPath : _client_packages_group.nodeModulesPath;
36
- const totalAlias = disableES5Transpile ? Object.assign({}, _libAlias.libAlias, (0, _libAlias.aliasPathCreation)(customAlias)) : (0, _libAlias.aliasPathCreation)(customAlias);
36
+ const totalAlias = disableES5Import ? Object.assign({}, _libAlias.libAlias, (0, _libAlias.aliasPathCreation)(customAlias)) : (0, _libAlias.aliasPathCreation)(customAlias);
37
37
  return {
38
38
  extensions: ['.js', '.jsx', '.ts', '.tsx'],
39
39
  modules: [nodeModulesPath, _constants.cliNodeModulesPath, 'node_modules'].filter(Boolean),
@@ -11,8 +11,6 @@ var _utils = require("./utils");
11
11
 
12
12
  var _getI18nKeysFormModules = _interopRequireDefault(require("./utils/getI18nKeysFormModules"));
13
13
 
14
- var _unicodeConversion = require("./utils/unicodeConversion");
15
-
16
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
15
 
18
16
  /**
@@ -60,9 +58,8 @@ class I18nFilesEmitter {
60
58
  }
61
59
 
62
60
  getTemplateString(i18nKeys, locale) {
63
- const i18nObject = this.getI18nObjectByLocale(i18nKeys, locale);
64
- const convertedI18nObject = (0, _unicodeConversion.convertUnicode)(JSON.stringify(i18nObject, null, 0));
65
- return `${this.jsonpFunc}(${convertedI18nObject});`; // return `${this.jsonpFunc}(JSON.parse(${JSON.stringify(jsonToString(i18nObject))}));`;
61
+ let i18nObject = this.getI18nObjectByLocale(i18nKeys, locale);
62
+ return `${this.jsonpFunc}(${(0, _utils.jsonToString)(i18nObject)});`; // return `${this.jsonpFunc}(JSON.parse(${JSON.stringify(jsonToString(i18nObject))}));`;
66
63
  }
67
64
 
68
65
  renderI18nLocaleChunk(chunk, locale, i18nKeys) {
@@ -13,6 +13,8 @@ var _path = require("path");
13
13
 
14
14
  var _logger = require("../../../logger");
15
15
 
16
+ var _unicodeConversion = require("./unicodeConversion");
17
+
16
18
  function isComment(line) {
17
19
  return line[0] === '#';
18
20
  }
@@ -31,7 +33,8 @@ function getPropertiesAsJSON(filePath) {
31
33
 
32
34
  const ind = line.indexOf('=');
33
35
  const key = line.slice(0, ind).replace(/\\ /g, ' ');
34
- const value = line.slice(ind + 1);
36
+ let value = line.slice(ind + 1);
37
+ value = (0, _unicodeConversion.convertUnicode)(value);
35
38
 
36
39
  if (key && value) {
37
40
  i18nObj[key] = value;
@@ -4,13 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.convertUnicode = convertUnicode;
7
- const UNICODE_PATTERN = /\\+u([0-9a-fA-F]{4})/g;
8
7
 
9
- function convertUnicode(jsonStr) {
10
- if (!jsonStr.includes('\\u')) {
11
- return jsonStr;
12
- }
13
-
14
- UNICODE_PATTERN.lastIndex = 0;
15
- return jsonStr.replace(UNICODE_PATTERN, (_, hex) => String.fromCharCode(Number.parseInt(hex, 16)));
8
+ function convertUnicode(str) {
9
+ const unicodeRegex = /\\u([a-fA-F0-9]{4})/g;
10
+ const converted = str.replace(unicodeRegex, (match, hex) => {
11
+ return String.fromCharCode(parseInt(hex, 16));
12
+ });
13
+ return converted;
16
14
  }
@@ -232,6 +232,7 @@ var _default = {
232
232
  none: '(hover: none)'
233
233
  },
234
234
  disableES5Transpile: false,
235
+ disableES5Import: false,
235
236
  isReactMig: false,
236
237
  hasWidget: false,
237
238
  hasEFC: {
@@ -18,4 +18,5 @@ targetPath = _path.default.join(appPath, targetPath);
18
18
 
19
19
  let srcPath = _path.default.resolve(_path.default.dirname(require.resolve('@zohodesk/datetimejs')), '../data/timezones/');
20
20
 
21
+ console.log(srcPath);
21
22
  (0, _fileUtils.copy)(srcPath, targetPath, true, null, 'flatten');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "1.1.23",
3
+ "version": "1.1.28-exp.1",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -1357,6 +1357,64 @@
1357
1357
  "minimist": "^1.2.0"
1358
1358
  }
1359
1359
  },
1360
+ "@isaacs/cliui": {
1361
+ "version": "8.0.2",
1362
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
1363
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
1364
+ "requires": {
1365
+ "string-width": "^5.1.2",
1366
+ "string-width-cjs": "npm:string-width@^4.2.0",
1367
+ "strip-ansi": "^7.0.1",
1368
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
1369
+ "wrap-ansi": "^8.1.0",
1370
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
1371
+ },
1372
+ "dependencies": {
1373
+ "ansi-regex": {
1374
+ "version": "6.1.0",
1375
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
1376
+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA=="
1377
+ },
1378
+ "ansi-styles": {
1379
+ "version": "6.2.1",
1380
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
1381
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug=="
1382
+ },
1383
+ "emoji-regex": {
1384
+ "version": "9.2.2",
1385
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
1386
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
1387
+ },
1388
+ "string-width": {
1389
+ "version": "5.1.2",
1390
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
1391
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
1392
+ "requires": {
1393
+ "eastasianwidth": "^0.2.0",
1394
+ "emoji-regex": "^9.2.2",
1395
+ "strip-ansi": "^7.0.1"
1396
+ }
1397
+ },
1398
+ "strip-ansi": {
1399
+ "version": "7.1.0",
1400
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
1401
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
1402
+ "requires": {
1403
+ "ansi-regex": "^6.0.1"
1404
+ }
1405
+ },
1406
+ "wrap-ansi": {
1407
+ "version": "8.1.0",
1408
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
1409
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
1410
+ "requires": {
1411
+ "ansi-styles": "^6.1.0",
1412
+ "string-width": "^5.0.1",
1413
+ "strip-ansi": "^7.0.1"
1414
+ }
1415
+ }
1416
+ }
1417
+ },
1360
1418
  "@istanbuljs/load-nyc-config": {
1361
1419
  "version": "1.1.0",
1362
1420
  "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
@@ -2395,11 +2453,11 @@
2395
2453
  "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
2396
2454
  },
2397
2455
  "@zohodesk/client_packages_group": {
2398
- "version": "1.0.2",
2399
- "resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2.tgz",
2400
- "integrity": "sha512-4fVRD/lICzLY1yI+s4dCGayCLlhe81GPjalQIFqSvW8P9Zn8pwX9ThH6eclFI3OPzFDWMb8GKu2Yg9fJyzNsfA==",
2456
+ "version": "1.0.2-exp.6",
2457
+ "resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2-exp.6.tgz",
2458
+ "integrity": "sha512-0y2J3FouO35PMqe/qS0fKVMsp+ucB0ZaabxtqRTQZe9pxTVuzAS/a2RfBwW6FsxOfCyYwUMOv8S+JMLlTPW5uw==",
2401
2459
  "requires": {
2402
- "@zohodesk/datetimejs": "1.0.0-beta.9",
2460
+ "@zohodesk/datetimejs": "1.0.1-exp.1",
2403
2461
  "@zohodesk/normalizer": "1.0.2",
2404
2462
  "core-js": "3.6.5",
2405
2463
  "debug": "4.3.3",
@@ -2429,9 +2487,71 @@
2429
2487
  }
2430
2488
  },
2431
2489
  "@zohodesk/datetimejs": {
2432
- "version": "1.0.0-beta.9",
2433
- "resolved": "https://registry.npmjs.org/@zohodesk/datetimejs/-/datetimejs-1.0.0-beta.9.tgz",
2434
- "integrity": "sha512-qQiAysYOtLCyJf/epXqJG8oTFWxucEK18VsKuz30UqDnawHp5DMHagKuHmIgyUbr0pzO3BaibKkiRcSWs77fdw=="
2490
+ "version": "1.0.1-exp.1",
2491
+ "resolved": "https://registry.npmjs.org/@zohodesk/datetimejs/-/datetimejs-1.0.1-exp.1.tgz",
2492
+ "integrity": "sha512-HHqrVMIUs9XKnpDOYpuDufnglzip7W8dqbJWKAtLrO8mp2Sfkl2qgtoFu4EVgGgRqylnBF4pKbOyOU1OI7KJFw==",
2493
+ "requires": {
2494
+ "rimraf": "^6.0.1"
2495
+ },
2496
+ "dependencies": {
2497
+ "brace-expansion": {
2498
+ "version": "2.0.1",
2499
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
2500
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
2501
+ "requires": {
2502
+ "balanced-match": "^1.0.0"
2503
+ }
2504
+ },
2505
+ "glob": {
2506
+ "version": "11.0.1",
2507
+ "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz",
2508
+ "integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==",
2509
+ "requires": {
2510
+ "foreground-child": "^3.1.0",
2511
+ "jackspeak": "^4.0.1",
2512
+ "minimatch": "^10.0.0",
2513
+ "minipass": "^7.1.2",
2514
+ "package-json-from-dist": "^1.0.0",
2515
+ "path-scurry": "^2.0.0"
2516
+ }
2517
+ },
2518
+ "lru-cache": {
2519
+ "version": "11.0.2",
2520
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz",
2521
+ "integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA=="
2522
+ },
2523
+ "minimatch": {
2524
+ "version": "10.0.1",
2525
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
2526
+ "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
2527
+ "requires": {
2528
+ "brace-expansion": "^2.0.1"
2529
+ }
2530
+ },
2531
+ "minipass": {
2532
+ "version": "7.1.2",
2533
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
2534
+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw=="
2535
+ },
2536
+ "path-scurry": {
2537
+ "version": "2.0.0",
2538
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
2539
+ "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
2540
+ "requires": {
2541
+ "lru-cache": "^11.0.0",
2542
+ "minipass": "^7.1.2"
2543
+ }
2544
+ },
2545
+ "rimraf": {
2546
+ "version": "6.0.1",
2547
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz",
2548
+ "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==",
2549
+ "requires": {
2550
+ "glob": "^11.0.0",
2551
+ "package-json-from-dist": "^1.0.0"
2552
+ }
2553
+ }
2554
+ }
2435
2555
  },
2436
2556
  "@zohodesk/eslint-plugin-react-performance": {
2437
2557
  "version": "1.0.3",
@@ -4981,6 +5101,11 @@
4981
5101
  "stream-shift": "^1.0.0"
4982
5102
  }
4983
5103
  },
5104
+ "eastasianwidth": {
5105
+ "version": "0.2.0",
5106
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
5107
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
5108
+ },
4984
5109
  "ecc-jsbn": {
4985
5110
  "version": "0.1.2",
4986
5111
  "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
@@ -6118,6 +6243,58 @@
6118
6243
  "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
6119
6244
  "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ=="
6120
6245
  },
6246
+ "foreground-child": {
6247
+ "version": "3.3.0",
6248
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz",
6249
+ "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==",
6250
+ "requires": {
6251
+ "cross-spawn": "^7.0.0",
6252
+ "signal-exit": "^4.0.1"
6253
+ },
6254
+ "dependencies": {
6255
+ "cross-spawn": {
6256
+ "version": "7.0.6",
6257
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
6258
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
6259
+ "requires": {
6260
+ "path-key": "^3.1.0",
6261
+ "shebang-command": "^2.0.0",
6262
+ "which": "^2.0.1"
6263
+ }
6264
+ },
6265
+ "path-key": {
6266
+ "version": "3.1.1",
6267
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
6268
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="
6269
+ },
6270
+ "shebang-command": {
6271
+ "version": "2.0.0",
6272
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
6273
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
6274
+ "requires": {
6275
+ "shebang-regex": "^3.0.0"
6276
+ }
6277
+ },
6278
+ "shebang-regex": {
6279
+ "version": "3.0.0",
6280
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
6281
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="
6282
+ },
6283
+ "signal-exit": {
6284
+ "version": "4.1.0",
6285
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
6286
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="
6287
+ },
6288
+ "which": {
6289
+ "version": "2.0.2",
6290
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
6291
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
6292
+ "requires": {
6293
+ "isexe": "^2.0.0"
6294
+ }
6295
+ }
6296
+ }
6297
+ },
6121
6298
  "forever-agent": {
6122
6299
  "version": "0.6.1",
6123
6300
  "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
@@ -7768,6 +7945,14 @@
7768
7945
  "istanbul-lib-report": "^3.0.0"
7769
7946
  }
7770
7947
  },
7948
+ "jackspeak": {
7949
+ "version": "4.0.2",
7950
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz",
7951
+ "integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==",
7952
+ "requires": {
7953
+ "@isaacs/cliui": "^8.0.2"
7954
+ }
7955
+ },
7771
7956
  "jest": {
7772
7957
  "version": "26.4.0",
7773
7958
  "resolved": "https://registry.npmjs.org/jest/-/jest-26.4.0.tgz",
@@ -9775,17 +9960,17 @@
9775
9960
  },
9776
9961
  "dependencies": {
9777
9962
  "@babel/runtime": {
9778
- "version": "7.21.0",
9779
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz",
9780
- "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==",
9963
+ "version": "7.26.7",
9964
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz",
9965
+ "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==",
9781
9966
  "requires": {
9782
- "regenerator-runtime": "^0.13.11"
9967
+ "regenerator-runtime": "^0.14.0"
9783
9968
  }
9784
9969
  },
9785
9970
  "regenerator-runtime": {
9786
- "version": "0.13.11",
9787
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
9788
- "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
9971
+ "version": "0.14.1",
9972
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
9973
+ "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
9789
9974
  }
9790
9975
  }
9791
9976
  },
@@ -10883,6 +11068,11 @@
10883
11068
  }
10884
11069
  }
10885
11070
  },
11071
+ "package-json-from-dist": {
11072
+ "version": "1.0.1",
11073
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
11074
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="
11075
+ },
10886
11076
  "pako": {
10887
11077
  "version": "1.0.11",
10888
11078
  "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
@@ -11802,9 +11992,9 @@
11802
11992
  "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ=="
11803
11993
  },
11804
11994
  "path-to-regexp": {
11805
- "version": "1.8.0",
11806
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz",
11807
- "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==",
11995
+ "version": "1.9.0",
11996
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz",
11997
+ "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==",
11808
11998
  "requires": {
11809
11999
  "isarray": "0.0.1"
11810
12000
  }
@@ -12874,7 +13064,7 @@
12874
13064
  "sprintf-js": {
12875
13065
  "version": "1.0.3",
12876
13066
  "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
12877
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
13067
+ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
12878
13068
  },
12879
13069
  "sshpk": {
12880
13070
  "version": "1.17.0",
@@ -13032,6 +13222,41 @@
13032
13222
  }
13033
13223
  }
13034
13224
  },
13225
+ "string-width-cjs": {
13226
+ "version": "npm:string-width@4.2.3",
13227
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
13228
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
13229
+ "requires": {
13230
+ "emoji-regex": "^8.0.0",
13231
+ "is-fullwidth-code-point": "^3.0.0",
13232
+ "strip-ansi": "^6.0.1"
13233
+ },
13234
+ "dependencies": {
13235
+ "ansi-regex": {
13236
+ "version": "5.0.1",
13237
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
13238
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
13239
+ },
13240
+ "emoji-regex": {
13241
+ "version": "8.0.0",
13242
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
13243
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
13244
+ },
13245
+ "is-fullwidth-code-point": {
13246
+ "version": "3.0.0",
13247
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
13248
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
13249
+ },
13250
+ "strip-ansi": {
13251
+ "version": "6.0.1",
13252
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
13253
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
13254
+ "requires": {
13255
+ "ansi-regex": "^5.0.1"
13256
+ }
13257
+ }
13258
+ }
13259
+ },
13035
13260
  "string.prototype.matchall": {
13036
13261
  "version": "4.0.7",
13037
13262
  "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz",
@@ -13083,6 +13308,21 @@
13083
13308
  "ansi-regex": "^2.0.0"
13084
13309
  }
13085
13310
  },
13311
+ "strip-ansi-cjs": {
13312
+ "version": "npm:strip-ansi@6.0.1",
13313
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
13314
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
13315
+ "requires": {
13316
+ "ansi-regex": "^5.0.1"
13317
+ },
13318
+ "dependencies": {
13319
+ "ansi-regex": {
13320
+ "version": "5.0.1",
13321
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
13322
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
13323
+ }
13324
+ }
13325
+ },
13086
13326
  "strip-bom": {
13087
13327
  "version": "4.0.0",
13088
13328
  "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
@@ -13312,7 +13552,7 @@
13312
13552
  "text-table": {
13313
13553
  "version": "0.2.0",
13314
13554
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
13315
- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
13555
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
13316
13556
  },
13317
13557
  "throat": {
13318
13558
  "version": "5.0.0",
@@ -13342,9 +13582,9 @@
13342
13582
  }
13343
13583
  },
13344
13584
  "tiny-invariant": {
13345
- "version": "1.3.1",
13346
- "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
13347
- "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw=="
13585
+ "version": "1.3.3",
13586
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
13587
+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg=="
13348
13588
  },
13349
13589
  "tiny-warning": {
13350
13590
  "version": "1.0.3",
@@ -14831,10 +15071,76 @@
14831
15071
  }
14832
15072
  }
14833
15073
  },
15074
+ "wrap-ansi-cjs": {
15075
+ "version": "npm:wrap-ansi@7.0.0",
15076
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
15077
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
15078
+ "requires": {
15079
+ "ansi-styles": "^4.0.0",
15080
+ "string-width": "^4.1.0",
15081
+ "strip-ansi": "^6.0.0"
15082
+ },
15083
+ "dependencies": {
15084
+ "ansi-regex": {
15085
+ "version": "5.0.1",
15086
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
15087
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
15088
+ },
15089
+ "ansi-styles": {
15090
+ "version": "4.3.0",
15091
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
15092
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
15093
+ "requires": {
15094
+ "color-convert": "^2.0.1"
15095
+ }
15096
+ },
15097
+ "color-convert": {
15098
+ "version": "2.0.1",
15099
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
15100
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
15101
+ "requires": {
15102
+ "color-name": "~1.1.4"
15103
+ }
15104
+ },
15105
+ "color-name": {
15106
+ "version": "1.1.4",
15107
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
15108
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
15109
+ },
15110
+ "emoji-regex": {
15111
+ "version": "8.0.0",
15112
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
15113
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
15114
+ },
15115
+ "is-fullwidth-code-point": {
15116
+ "version": "3.0.0",
15117
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
15118
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
15119
+ },
15120
+ "string-width": {
15121
+ "version": "4.2.3",
15122
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
15123
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
15124
+ "requires": {
15125
+ "emoji-regex": "^8.0.0",
15126
+ "is-fullwidth-code-point": "^3.0.0",
15127
+ "strip-ansi": "^6.0.1"
15128
+ }
15129
+ },
15130
+ "strip-ansi": {
15131
+ "version": "6.0.1",
15132
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
15133
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
15134
+ "requires": {
15135
+ "ansi-regex": "^5.0.1"
15136
+ }
15137
+ }
15138
+ }
15139
+ },
14834
15140
  "wrappy": {
14835
15141
  "version": "1.0.2",
14836
15142
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
14837
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
15143
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
14838
15144
  },
14839
15145
  "write": {
14840
15146
  "version": "1.0.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "1.1.27",
3
+ "version": "1.1.28-exp.2",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",
@@ -41,7 +41,7 @@
41
41
  "@babel/preset-env": "7.11.0",
42
42
  "@babel/preset-react": "7.10.4",
43
43
  "@babel/runtime": "7.11.2",
44
- "@zohodesk/client_packages_group": "1.0.2",
44
+ "@zohodesk/client_packages_group": "1.0.2-exp.6",
45
45
  "@zohodesk/eslint-plugin-react-performance": "1.0.3",
46
46
  "@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
47
47
  "@zohodesk/postcss-rtl": "1.5.2",