@zohodesk/react-cli 1.1.19-exp.7 → 1.1.19-exp.9
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/cli.js +4 -0
- package/lib/babel/cmjs-plugins-presets.js +11 -6
- package/lib/babel/es-plugins-presets.js +12 -6
- package/lib/configs/jest.config.js +2 -2
- package/lib/configs/webpack.dev.config.js +4 -0
- package/lib/configs/webpack.prod.config.js +5 -1
- package/lib/loaderUtils/getDevJsLoaders.js +1 -1
- package/lib/loaders/docsLoader.js +2 -2
- package/lib/schemas/index.js +3 -0
- package/npm-shrinkwrap.json +432 -19059
- package/package.json +6 -1
- package/lib/loaders/enhancedReactLiveConverter.js +0 -143
- package/packages/client_build_tool/lib/allCommandsConfigs.js +0 -25
- package/packages/client_build_tool/lib/commands/build/commandExecutor.js +0 -17
- package/packages/client_build_tool/lib/commands/build/config.js +0 -12
- package/packages/client_build_tool/lib/commands/build/optionsProcessor.js +0 -35
- package/packages/client_build_tool/lib/commands/build/preProcessor.js +0 -12
- package/packages/client_build_tool/lib/commands/buildEs/commandExecutor.js +0 -33
- package/packages/client_build_tool/lib/commands/buildEs/config.js +0 -12
- package/packages/client_build_tool/lib/commands/buildEs/preProcessor.js +0 -17
- package/packages/client_build_tool/lib/commands/buildLib/commandExecutor.js +0 -33
- package/packages/client_build_tool/lib/commands/buildLib/config.js +0 -12
- package/packages/client_build_tool/lib/commands/buildLib/preProcessor.js +0 -17
- package/packages/client_build_tool/lib/commands/mockserver/commandExecutor.js +0 -43
- package/packages/client_build_tool/lib/commands/mockserver/config.js +0 -12
- package/packages/client_build_tool/lib/commands/pre_process/commandExecutor.js +0 -18
- package/packages/client_build_tool/lib/commands/pre_process/config.js +0 -12
- package/packages/client_build_tool/lib/commands/start/commandExecutor.js +0 -12
- package/packages/client_build_tool/lib/commands/start/config.js +0 -12
- package/packages/client_build_tool/lib/commands/start/optionsProcessor.js +0 -30
- package/packages/client_build_tool/lib/commands/start/preProcessor.js +0 -12
- package/packages/client_build_tool/lib/commands/template/commandExecutor.js +0 -28
- package/packages/client_build_tool/lib/commands/template/config.js +0 -12
- package/packages/client_build_tool/lib/commands/version/commandExecutor.js +0 -14
- package/packages/client_build_tool/lib/commands/version/config.js +0 -12
- package/packages/client_build_tool/lib/commandsRouter.js +0 -74
- package/packages/client_build_tool/lib/index.js +0 -12
- package/packages/client_build_tool/lib/logger.js +0 -34
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/otherTestCases.test.js +0 -234
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingDifferentDataTypesToSchema.test.js +0 -103
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingEmptyObjects.test.js +0 -41
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertArray.test.js +0 -68
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertNumber.test.js +0 -68
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertObject.test.js +0 -141
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertString.test.js +0 -68
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertUndefinedAndNull.test.js +0 -132
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertArray.test.js +0 -71
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertNumber.test.js +0 -71
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertObject.test.js +0 -73
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertString.test.js +0 -71
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertUndefinedAndNull.test.js +0 -138
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/index.js +0 -34
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isObject.js +0 -10
- package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isValid.js +0 -14
- package/packages/client_build_tool/lib/schemas/cliArgsToObject.js +0 -39
- package/packages/client_build_tool/lib/schemas/defaultConfigValues.js +0 -334
- package/packages/client_build_tool/lib/schemas/defaultConfigValuesOnly.js +0 -187
- package/packages/client_build_tool/lib/schemas/deprecatedOptionsHandler.js +0 -67
- package/packages/client_build_tool/lib/schemas/getNpmVersion.js +0 -22
- package/packages/client_build_tool/lib/schemas/giveDefaultValue.js +0 -18
- package/packages/client_build_tool/lib/schemas/npmConfigToObject.js +0 -35
- package/packages/client_build_tool/lib/schemas/readOptions.js +0 -54
- package/packages/client_build_tool/lib/schemas/readOptionsForConfigFile.js +0 -42
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Map.test.js +0 -15
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/MathAndNumberMethod.test.js +0 -30
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/ObjectAndModules.test.js +0 -47
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Sets.test.js +0 -18
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Symbol.test.js +0 -25
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/arrowFunction.test.js +0 -34
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/block-scoping.test.js +0 -18
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/classes.test.js +0 -55
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/defaultParameterValues.test.js +0 -18
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/extraFeatures.test.js +0 -82
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/forOf.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/promise.test.js +0 -22
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadOperator.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadParams.test.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/stringAndArrayMethods.test.js +0 -67
- package/packages/client_build_tool/lib/shared/babel/__test__/es2015/variables.test.js +0 -21
- package/packages/client_build_tool/lib/shared/babel/__test__/es2016/array-includes.test.js +0 -13
- package/packages/client_build_tool/lib/shared/babel/__test__/es2016/exponentationOperator.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/asyncAndawait.test.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-entries.test.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-getOwnproperties.test.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-values.test.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/__test__/es2017/stringMethods.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/asynchronous-iterator.test.js +0 -19
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/object-rest-spread.test.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/promise-finally.test.js +0 -26
- package/packages/client_build_tool/lib/shared/babel/__test__/es2018/regularExpressions.test.js +0 -35
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/Json.stringify.test.js +0 -21
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/arrayMethods.test.js +0 -31
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/object-fromEntriesMethod.test.js +0 -13
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/optionalCatchBinding.test.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/revisedFunctionToString.test.js +0 -17
- package/packages/client_build_tool/lib/shared/babel/__test__/es2019/trim-startAndend-method.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/AssignmentOperator.test.js +0 -27
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/Dynamic-Import.test.js +0 -19
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/NullishOperator.test.js +0 -15
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/bigInt.test.js +0 -13
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/chainOperator.test.js +0 -17
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/export-namespace-from.test.js +0 -12
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/promiseAllSettledMathod.test.js +0 -17
- package/packages/client_build_tool/lib/shared/babel/__test__/es2020/stringMatchMethod.test.js +0 -13
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/NumericSeparator.test.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/logicalOperatorAssignments.test.js +0 -25
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/promiseAny.test.js +0 -16
- package/packages/client_build_tool/lib/shared/babel/__test__/es2021/stringReplaceMethod.test.js +0 -16
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/Array-atMethod.test.js +0 -13
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjectKeyCheck.test.js +0 -27
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjecthasOwnMethod.test.js +0 -19
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/RegexMatchIndices.test.js +0 -20
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/String-atMethod.test.js +0 -15
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/error.Cause.test.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/keysCheckinPrivateFields.test.js +0 -27
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/privateMethodsAndFields.test.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/staticFieldsAndMethod.test.js +0 -54
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/topLevelAwait.test.js +0 -11
- package/packages/client_build_tool/lib/shared/babel/__test__/es2022/weakRef.test.js +0 -17
- package/packages/client_build_tool/lib/shared/babel/__test__/utilities.js +0 -28
- package/packages/client_build_tool/lib/shared/babel/addDefaultPlugins.js +0 -15
- package/packages/client_build_tool/lib/shared/babel/babelWebConfig.js +0 -54
- package/packages/client_build_tool/lib/shared/babel/babel_plugins/removeAttributesPlugin.js +0 -23
- package/packages/client_build_tool/lib/shared/babel/getBabelPlugin.js +0 -37
- package/packages/client_build_tool/lib/shared/babel/runBabelForJSFile.js +0 -24
- package/packages/client_build_tool/lib/shared/babel/runBabelForTsFile.js +0 -30
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/decidePublicPath.js +0 -52
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/libAlias.js +0 -31
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/modeUtils.js +0 -39
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/nameTemplates.js +0 -101
- package/packages/client_build_tool/lib/shared/bundler/webpack/common/resourceBasedPublicPath.js +0 -21
- package/packages/client_build_tool/lib/shared/bundler/webpack/configCustomLoaders.js +0 -10
- package/packages/client_build_tool/lib/shared/bundler/webpack/cssLoaders.js +0 -16
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/BundleIntegrityReport/index.js +0 -83
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/index.js +0 -119
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/webpackCustomJsUrlLoader.js +0 -46
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/EFCTemplatePlugin.js +0 -112
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ContributionGuide.md +0 -11
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nFilesEmitPlugin.js +0 -174
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nKeysIdentifer.js +0 -76
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nRuntimeDealerPlugin.js +0 -223
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nSplit.md +0 -95
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/LocaleChunkAssetsStore.js +0 -73
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ModulesI18nKeysStore.js +0 -88
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/README.md +0 -25
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/constants.js +0 -29
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/createHash.js +0 -24
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +0 -76
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/index.js +0 -39
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/iterateModulesInChunk.js +0 -50
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/optionsHandler.js +0 -68
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/pathCreator.js +0 -23
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/readI18nValues.js +0 -29
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateFileName.js +0 -43
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateHashHelpers.js +0 -77
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/classesAndObject.test.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/conditionalOperation.test.js +0 -154
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function.test.js +0 -89
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function2.test.js +0 -71
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/loop.test.js +0 -112
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minifyBooleanValues.test.js +0 -43
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minimizeVariableNames.test.js +0 -45
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/promise.test.js +0 -53
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeCommentsAndEmptySpace.test.js +0 -13
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeUnusedStrings.test.js +0 -14
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/variableDeclaration.test.js +0 -30
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/collectI18nKeys.js +0 -66
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/getChunkModules.js +0 -13
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/hashUtils.js +0 -19
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/index.js +0 -31
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/propertiesUtils.js +0 -129
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/addFilesNamesToManifestJson.test.js +0 -51
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/createInitialEntries.test.js +0 -95
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/removeHashFromFileName.test.js +0 -91
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +0 -24
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +0 -17
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +0 -35
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/findInitialFileNames.js +0 -18
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/index.js +0 -46
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/removeHashFromFileName.js +0 -18
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RTLSplitPlugin.js +0 -1
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +0 -192
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +0 -62
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtlCssPlugin.js +0 -84
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtrSplit.md +0 -34
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/replaceCssDirTemplate.js +0 -27
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RuntimeResourceCleanup/index.js +0 -73
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/classHandling.js +0 -20
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/index.js +0 -78
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/selectorWeightPrefixAdder.js +0 -51
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/windowsModification.js +0 -16
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +0 -110
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +0 -68
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/addHashToFilePath.js +0 -22
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/index.js +0 -55
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifyCss1.test.js +0 -74
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifycss.test.js +0 -64
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/utilities.js +0 -28
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/index.js.js +0 -49
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js +0 -62
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/index.js +0 -362
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/custom_attribute_plugin/index.js +0 -80
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/emitAsset.js +0 -14
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +0 -57
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +0 -87
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/classesAndObject.test.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/conditionalOperation.test.js +0 -154
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function.test.js +0 -89
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function2.test.js +0 -71
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/loop.test.js +0 -112
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minifyBooleanValues.test.js +0 -43
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minimizeVariableNames.test.js +0 -45
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/promise.test.js +0 -53
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeCommentsAndEmptySpace.test.js +0 -13
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeUnusedStrings.test.js +0 -14
- package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/variableDeclaration.test.js +0 -30
- package/packages/client_build_tool/lib/shared/bundler/webpack/defaultVendorPatternList.js +0 -13
- package/packages/client_build_tool/lib/shared/bundler/webpack/devtoolConfig.js +0 -13
- package/packages/client_build_tool/lib/shared/bundler/webpack/entryConfig.js +0 -28
- package/packages/client_build_tool/lib/shared/bundler/webpack/externals.js +0 -17
- package/packages/client_build_tool/lib/shared/bundler/webpack/getCSSLoaders.js +0 -29
- package/packages/client_build_tool/lib/shared/bundler/webpack/getFilenameFromModule.js +0 -24
- package/packages/client_build_tool/lib/shared/bundler/webpack/jsLoaders.js +0 -17
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/assetLoaders.js +0 -12
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/babelLoaderConfig.js +0 -18
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/checkIsPatternsMatchFilename.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configHtmlTemplateLoader.js +0 -18
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configPostCssLoader.js +0 -37
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configWebWorkerLoader.js +0 -21
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +0 -86
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +0 -60
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +0 -21
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/miniCssFallBackLoader.js +0 -7
- package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/workerLoader.js +0 -133
- package/packages/client_build_tool/lib/shared/bundler/webpack/optimizationConfig.js +0 -43
- package/packages/client_build_tool/lib/shared/bundler/webpack/outputConfig.js +0 -38
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleAnalyzer.js +0 -40
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleIntegrityReport.js +0 -36
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +0 -24
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCdnChangePlugin.js +0 -27
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCopyPublicFolders.js +0 -63
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCustomAttributesPlugin.js +0 -20
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEFCTemplatePlugin.js +0 -46
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEnvVariables.js +0 -51
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configHtmlWebpackPlugin.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +0 -41
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configIgnorePlugin.js +0 -16
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +0 -32
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +0 -23
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configProgressPlugin.js +0 -24
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configResourceHintsPlugin.js +0 -21
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configRtlCssPlugin.js +0 -27
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configRuntimeResourceCleanup.js +0 -31
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSelectorWeightPlugin.js +0 -28
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configServiceWorkerPlugin.js +0 -40
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSourceMapPlugin.js +0 -20
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configTPHashMappingPlugin.js +0 -32
- package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configVariableConversionPlugin.js +0 -25
- package/packages/client_build_tool/lib/shared/bundler/webpack/plugins.js +0 -56
- package/packages/client_build_tool/lib/shared/bundler/webpack/resolvers.js +0 -82
- package/packages/client_build_tool/lib/shared/bundler/webpack/splitChunksConfig.js +0 -116
- package/packages/client_build_tool/lib/shared/bundler/webpack/statsConfig.js +0 -30
- package/packages/client_build_tool/lib/shared/bundler/webpack/tsLoaders.js +0 -17
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/__test__/getArrayWithDefaultWithCustomEqual.test.js +0 -54
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/__test__/updateArrayWithDefault.test.js +0 -47
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/index.js +0 -26
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/object-manipulation.js +0 -87
- package/packages/client_build_tool/lib/shared/bundler/webpack/utils/updateArrayWithDefault.js +0 -34
- package/packages/client_build_tool/lib/shared/bundler/webpack/webpackBuild.js +0 -27
- package/packages/client_build_tool/lib/shared/bundler/webpack/webpackConfig.js +0 -58
- package/packages/client_build_tool/lib/shared/commands-utils/doBasicRequirementCheck.js +0 -17
- package/packages/client_build_tool/lib/shared/commands-utils/getCliPath.js +0 -39
- package/packages/client_build_tool/lib/shared/commands-utils/index.js +0 -29
- package/packages/client_build_tool/lib/shared/commands-utils/log.js +0 -13
- package/packages/client_build_tool/lib/shared/commands-utils/readArgsFormCommandLine.js +0 -11
- package/packages/client_build_tool/lib/shared/commands-utils/readOptionFormCommandLine.js +0 -11
- package/packages/client_build_tool/lib/shared/commands-utils/spawnSyncIO.js +0 -38
- package/packages/client_build_tool/lib/shared/constants.js +0 -48
- package/packages/client_build_tool/lib/shared/fileUtils/copyFile.js +0 -38
- package/packages/client_build_tool/lib/shared/fileUtils/directoryIterator.js +0 -21
- package/packages/client_build_tool/lib/shared/fileUtils/watchRun.js +0 -112
- package/packages/client_build_tool/lib/shared/postcss/__test__/ignoreTestCases.test.js +0 -80
- package/packages/client_build_tool/lib/shared/postcss/__test__/postcss-rtl-all-cases.test.js +0 -119
- package/packages/client_build_tool/lib/shared/postcss/__test__/postcssRtl.spec.js +0 -34
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/EmptyPlugin.js +0 -21
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/constants.js +0 -10
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js +0 -66
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/index.js +0 -136
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/insertBefore.js +0 -32
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js +0 -20
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js +0 -20
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js +0 -24
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/specialCases.js +0 -43
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js +0 -52
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/RTLSplitPlugin.js +0 -139
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/SelectorReplace.js +0 -90
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +0 -57
- package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +0 -343
- package/packages/client_build_tool/lib/shared/postcss/filterPluginsAllowedForSpecficFile.js +0 -55
- package/packages/client_build_tool/lib/shared/postcss/getAllowedPostCssPlugins.js +0 -30
- package/packages/client_build_tool/lib/shared/postcss/getSpecificPostCssPlugin.js +0 -58
- package/packages/client_build_tool/lib/shared/postcss/runPostCssForCssFile.js +0 -37
- package/packages/client_build_tool/lib/shared/pre_process/runPreProcess.js +0 -58
- package/packages/client_build_tool/lib/shared/server/configWebpackDevMiddleware.js +0 -41
- package/packages/client_build_tool/lib/shared/server/corsHandling.js +0 -30
- package/packages/client_build_tool/lib/shared/server/getIp.js +0 -30
- package/packages/client_build_tool/lib/shared/server/getServerURL.js +0 -29
- package/packages/client_build_tool/lib/shared/server/httpsOptions.js +0 -46
- package/packages/client_build_tool/lib/shared/server/initExpressApp.js +0 -19
- package/packages/client_build_tool/lib/shared/server/initialHTMLHandling.js +0 -99
- package/packages/client_build_tool/lib/shared/server/mockApiHandler.js +0 -60
- package/packages/client_build_tool/lib/shared/server/mockServer.js +0 -41
- package/packages/client_build_tool/lib/shared/server/serveContextFiles.js +0 -27
- package/packages/client_build_tool/lib/shared/server/serverBywebpackDevMiddleware.js +0 -35
- package/packages/client_build_tool/lib/shared/server/startHttpServer.js +0 -26
- package/packages/client_build_tool/lib/shared/server/startHttpsServer.js +0 -38
- package/packages/client_build_tool/lib/shared/server/unwanted/addHttp2Server.js +0 -41
- package/packages/client_build_tool/lib/shared/server/unwanted/configWebpackDevMiddleware.js +0 -44
- package/packages/client_build_tool/lib/shared/server/unwanted/mockApiSupport.js +0 -19
- package/packages/client_build_tool/lib/shared/server/unwanted/websocketMockSetup.js +0 -48
- package/packages/client_build_tool/lib/shared/server/urlConcat.js +0 -32
- package/packages/client_build_tool/lib/shared/utils/requireLocalOrGlobal.js +0 -81
- package/packages/client_build_tool/lib/shared/utils/utils.js +0 -1
- package/packages/client_build_tool/lib/shared/utils/versionPrint.js +0 -20
- package/packages/client_build_tool/node_modules/history/CHANGES.md +0 -395
- package/packages/client_build_tool/node_modules/history/DOMUtils.js +0 -3
- package/packages/client_build_tool/node_modules/history/ExecutionEnvironment.js +0 -3
- package/packages/client_build_tool/node_modules/history/LICENSE +0 -21
- package/packages/client_build_tool/node_modules/history/LocationUtils.js +0 -3
- package/packages/client_build_tool/node_modules/history/PathUtils.js +0 -3
- package/packages/client_build_tool/node_modules/history/README.md +0 -282
- package/packages/client_build_tool/node_modules/history/cjs/history.js +0 -933
- package/packages/client_build_tool/node_modules/history/cjs/history.min.js +0 -1
- package/packages/client_build_tool/node_modules/history/createBrowserHistory.js +0 -3
- package/packages/client_build_tool/node_modules/history/createHashHistory.js +0 -3
- package/packages/client_build_tool/node_modules/history/createMemoryHistory.js +0 -3
- package/packages/client_build_tool/node_modules/history/createTransitionManager.js +0 -3
- package/packages/client_build_tool/node_modules/history/es/DOMUtils.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/ExecutionEnvironment.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/LocationUtils.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/PathUtils.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/createBrowserHistory.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/createHashHistory.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/createMemoryHistory.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/createTransitionManager.js +0 -7
- package/packages/client_build_tool/node_modules/history/es/warnAboutDeprecatedESMImport.js +0 -35
- package/packages/client_build_tool/node_modules/history/esm/history.js +0 -904
- package/packages/client_build_tool/node_modules/history/index.js +0 -7
- package/packages/client_build_tool/node_modules/history/package.json +0 -120
- package/packages/client_build_tool/node_modules/history/umd/history.js +0 -1059
- package/packages/client_build_tool/node_modules/history/umd/history.min.js +0 -1
- package/packages/client_build_tool/node_modules/history/warnAboutDeprecatedCJSRequire.js +0 -35
- package/templates/docs/highlight.js/lib/common.d.ts +0 -3
- package/templates/docs/highlight.js/lib/common.js +0 -42
- package/templates/docs/highlight.js/lib/core.d.ts +0 -3
- package/templates/docs/highlight.js/lib/core.js +0 -2600
- package/templates/docs/highlight.js/lib/index.js +0 -198
- package/templates/docs/highlight.js/lib/languages/1c.js +0 -537
- package/templates/docs/highlight.js/lib/languages/1c.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/abnf.js +0 -82
- package/templates/docs/highlight.js/lib/languages/abnf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/accesslog.js +0 -92
- package/templates/docs/highlight.js/lib/languages/accesslog.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/actionscript.js +0 -153
- package/templates/docs/highlight.js/lib/languages/actionscript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ada.js +0 -265
- package/templates/docs/highlight.js/lib/languages/ada.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/angelscript.js +0 -178
- package/templates/docs/highlight.js/lib/languages/angelscript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/apache.js +0 -101
- package/templates/docs/highlight.js/lib/languages/apache.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/applescript.js +0 -149
- package/templates/docs/highlight.js/lib/languages/applescript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/arcade.js +0 -361
- package/templates/docs/highlight.js/lib/languages/arcade.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/arduino.js +0 -969
- package/templates/docs/highlight.js/lib/languages/arduino.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/armasm.js +0 -120
- package/templates/docs/highlight.js/lib/languages/armasm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/asciidoc.js +0 -261
- package/templates/docs/highlight.js/lib/languages/asciidoc.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/aspectj.js +0 -230
- package/templates/docs/highlight.js/lib/languages/aspectj.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/autohotkey.js +0 -75
- package/templates/docs/highlight.js/lib/languages/autohotkey.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/autoit.js +0 -178
- package/templates/docs/highlight.js/lib/languages/autoit.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/avrasm.js +0 -78
- package/templates/docs/highlight.js/lib/languages/avrasm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/awk.js +0 -67
- package/templates/docs/highlight.js/lib/languages/awk.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/axapta.js +0 -188
- package/templates/docs/highlight.js/lib/languages/axapta.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/bash.js +0 -389
- package/templates/docs/highlight.js/lib/languages/bash.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/basic.js +0 -229
- package/templates/docs/highlight.js/lib/languages/basic.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/bnf.js +0 -38
- package/templates/docs/highlight.js/lib/languages/bnf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/brainfuck.js +0 -54
- package/templates/docs/highlight.js/lib/languages/brainfuck.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/c.js +0 -318
- package/templates/docs/highlight.js/lib/languages/c.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/cal.js +0 -159
- package/templates/docs/highlight.js/lib/languages/cal.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/capnproto.js +0 -99
- package/templates/docs/highlight.js/lib/languages/capnproto.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ceylon.js +0 -139
- package/templates/docs/highlight.js/lib/languages/ceylon.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/clean.js +0 -67
- package/templates/docs/highlight.js/lib/languages/clean.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/clojure-repl.js +0 -27
- package/templates/docs/highlight.js/lib/languages/clojure-repl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/clojure.js +0 -184
- package/templates/docs/highlight.js/lib/languages/clojure.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/cmake.js +0 -63
- package/templates/docs/highlight.js/lib/languages/cmake.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/coffeescript.js +0 -365
- package/templates/docs/highlight.js/lib/languages/coffeescript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/coq.js +0 -445
- package/templates/docs/highlight.js/lib/languages/coq.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/cos.js +0 -140
- package/templates/docs/highlight.js/lib/languages/cos.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/cpp.js +0 -568
- package/templates/docs/highlight.js/lib/languages/cpp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/crmsh.js +0 -100
- package/templates/docs/highlight.js/lib/languages/crmsh.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/crystal.js +0 -311
- package/templates/docs/highlight.js/lib/languages/crystal.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/csharp.js +0 -400
- package/templates/docs/highlight.js/lib/languages/csharp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/csp.js +0 -57
- package/templates/docs/highlight.js/lib/languages/csp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/css.js +0 -737
- package/templates/docs/highlight.js/lib/languages/css.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/d.js +0 -271
- package/templates/docs/highlight.js/lib/languages/d.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dart.js +0 -262
- package/templates/docs/highlight.js/lib/languages/dart.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/delphi.js +0 -230
- package/templates/docs/highlight.js/lib/languages/delphi.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/diff.js +0 -62
- package/templates/docs/highlight.js/lib/languages/diff.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/django.js +0 -75
- package/templates/docs/highlight.js/lib/languages/django.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dns.js +0 -78
- package/templates/docs/highlight.js/lib/languages/dns.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dockerfile.js +0 -44
- package/templates/docs/highlight.js/lib/languages/dockerfile.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dos.js +0 -166
- package/templates/docs/highlight.js/lib/languages/dos.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dsconfig.js +0 -66
- package/templates/docs/highlight.js/lib/languages/dsconfig.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dts.js +0 -157
- package/templates/docs/highlight.js/lib/languages/dts.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/dust.js +0 -47
- package/templates/docs/highlight.js/lib/languages/dust.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ebnf.js +0 -53
- package/templates/docs/highlight.js/lib/languages/ebnf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/elixir.js +0 -279
- package/templates/docs/highlight.js/lib/languages/elixir.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/elm.js +0 -143
- package/templates/docs/highlight.js/lib/languages/elm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/erb.js +0 -29
- package/templates/docs/highlight.js/lib/languages/erb.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/erlang-repl.js +0 -54
- package/templates/docs/highlight.js/lib/languages/erlang-repl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/erlang.js +0 -191
- package/templates/docs/highlight.js/lib/languages/erlang.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/excel.js +0 -544
- package/templates/docs/highlight.js/lib/languages/excel.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/fix.js +0 -39
- package/templates/docs/highlight.js/lib/languages/fix.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/flix.js +0 -79
- package/templates/docs/highlight.js/lib/languages/flix.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/fortran.js +0 -573
- package/templates/docs/highlight.js/lib/languages/fortran.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/fsharp.js +0 -626
- package/templates/docs/highlight.js/lib/languages/fsharp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gams.js +0 -181
- package/templates/docs/highlight.js/lib/languages/gams.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gauss.js +0 -306
- package/templates/docs/highlight.js/lib/languages/gauss.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gcode.js +0 -80
- package/templates/docs/highlight.js/lib/languages/gcode.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gherkin.js +0 -49
- package/templates/docs/highlight.js/lib/languages/gherkin.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/glsl.js +0 -128
- package/templates/docs/highlight.js/lib/languages/glsl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gml.js +0 -2816
- package/templates/docs/highlight.js/lib/languages/gml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/go.js +0 -141
- package/templates/docs/highlight.js/lib/languages/go.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/golo.js +0 -80
- package/templates/docs/highlight.js/lib/languages/golo.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/gradle.js +0 -189
- package/templates/docs/highlight.js/lib/languages/gradle.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/graphql.js +0 -78
- package/templates/docs/highlight.js/lib/languages/graphql.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/groovy.js +0 -188
- package/templates/docs/highlight.js/lib/languages/groovy.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/haml.js +0 -113
- package/templates/docs/highlight.js/lib/languages/haml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/handlebars.js +0 -258
- package/templates/docs/highlight.js/lib/languages/handlebars.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/haskell.js +0 -203
- package/templates/docs/highlight.js/lib/languages/haskell.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/haxe.js +0 -153
- package/templates/docs/highlight.js/lib/languages/haxe.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/hsp.js +0 -59
- package/templates/docs/highlight.js/lib/languages/hsp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/http.js +0 -97
- package/templates/docs/highlight.js/lib/languages/http.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/hy.js +0 -137
- package/templates/docs/highlight.js/lib/languages/hy.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/inform7.js +0 -69
- package/templates/docs/highlight.js/lib/languages/inform7.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ini.js +0 -121
- package/templates/docs/highlight.js/lib/languages/ini.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/irpf90.js +0 -107
- package/templates/docs/highlight.js/lib/languages/irpf90.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/isbl.js +0 -3205
- package/templates/docs/highlight.js/lib/languages/isbl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/java.js +0 -288
- package/templates/docs/highlight.js/lib/languages/java.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/javascript.js +0 -765
- package/templates/docs/highlight.js/lib/languages/javascript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/jboss-cli.js +0 -63
- package/templates/docs/highlight.js/lib/languages/jboss-cli.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/json.js +0 -53
- package/templates/docs/highlight.js/lib/languages/json.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/julia-repl.js +0 -50
- package/templates/docs/highlight.js/lib/languages/julia-repl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/julia.js +0 -441
- package/templates/docs/highlight.js/lib/languages/julia.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/kotlin.js +0 -285
- package/templates/docs/highlight.js/lib/languages/kotlin.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/lasso.js +0 -170
- package/templates/docs/highlight.js/lib/languages/lasso.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/latex.js +0 -278
- package/templates/docs/highlight.js/lib/languages/latex.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ldif.js +0 -31
- package/templates/docs/highlight.js/lib/languages/ldif.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/leaf.js +0 -49
- package/templates/docs/highlight.js/lib/languages/leaf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/less.js +0 -838
- package/templates/docs/highlight.js/lib/languages/less.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/lisp.js +0 -139
- package/templates/docs/highlight.js/lib/languages/lisp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/livecodeserver.js +0 -173
- package/templates/docs/highlight.js/lib/languages/livecodeserver.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/livescript.js +0 -377
- package/templates/docs/highlight.js/lib/languages/livescript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/llvm.js +0 -132
- package/templates/docs/highlight.js/lib/languages/llvm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/lsl.js +0 -76
- package/templates/docs/highlight.js/lib/languages/lsl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/lua.js +0 -80
- package/templates/docs/highlight.js/lib/languages/lua.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/makefile.js +0 -86
- package/templates/docs/highlight.js/lib/languages/makefile.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/markdown.js +0 -241
- package/templates/docs/highlight.js/lib/languages/markdown.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mathematica.js +0 -7358
- package/templates/docs/highlight.js/lib/languages/mathematica.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/matlab.js +0 -107
- package/templates/docs/highlight.js/lib/languages/matlab.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/maxima.js +0 -414
- package/templates/docs/highlight.js/lib/languages/maxima.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mel.js +0 -235
- package/templates/docs/highlight.js/lib/languages/mel.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mercury.js +0 -107
- package/templates/docs/highlight.js/lib/languages/mercury.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mipsasm.js +0 -104
- package/templates/docs/highlight.js/lib/languages/mipsasm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mizar.js +0 -27
- package/templates/docs/highlight.js/lib/languages/mizar.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/mojolicious.js +0 -36
- package/templates/docs/highlight.js/lib/languages/mojolicious.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/monkey.js +0 -183
- package/templates/docs/highlight.js/lib/languages/monkey.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/moonscript.js +0 -141
- package/templates/docs/highlight.js/lib/languages/moonscript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/n1ql.js +0 -364
- package/templates/docs/highlight.js/lib/languages/n1ql.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/nestedtext.js +0 -83
- package/templates/docs/highlight.js/lib/languages/nestedtext.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/nginx.js +0 -153
- package/templates/docs/highlight.js/lib/languages/nginx.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/nim.js +0 -185
- package/templates/docs/highlight.js/lib/languages/nim.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/nix.js +0 -94
- package/templates/docs/highlight.js/lib/languages/nix.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/node-repl.js +0 -33
- package/templates/docs/highlight.js/lib/languages/node-repl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/nsis.js +0 -554
- package/templates/docs/highlight.js/lib/languages/nsis.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/objectivec.js +0 -253
- package/templates/docs/highlight.js/lib/languages/objectivec.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ocaml.js +0 -83
- package/templates/docs/highlight.js/lib/languages/ocaml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/openscad.js +0 -77
- package/templates/docs/highlight.js/lib/languages/openscad.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/oxygene.js +0 -86
- package/templates/docs/highlight.js/lib/languages/oxygene.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/parser3.js +0 -55
- package/templates/docs/highlight.js/lib/languages/parser3.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/perl.js +0 -471
- package/templates/docs/highlight.js/lib/languages/perl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/pf.js +0 -60
- package/templates/docs/highlight.js/lib/languages/pf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/pgsql.js +0 -524
- package/templates/docs/highlight.js/lib/languages/pgsql.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/php-template.js +0 -54
- package/templates/docs/highlight.js/lib/languages/php-template.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/php.js +0 -613
- package/templates/docs/highlight.js/lib/languages/php.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/plaintext.js +0 -19
- package/templates/docs/highlight.js/lib/languages/plaintext.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/pony.js +0 -89
- package/templates/docs/highlight.js/lib/languages/pony.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/powershell.js +0 -316
- package/templates/docs/highlight.js/lib/languages/powershell.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/processing.js +0 -434
- package/templates/docs/highlight.js/lib/languages/processing.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/profile.js +0 -43
- package/templates/docs/highlight.js/lib/languages/profile.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/prolog.js +0 -96
- package/templates/docs/highlight.js/lib/languages/prolog.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/properties.js +0 -68
- package/templates/docs/highlight.js/lib/languages/properties.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/protobuf.js +0 -79
- package/templates/docs/highlight.js/lib/languages/protobuf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/puppet.js +0 -146
- package/templates/docs/highlight.js/lib/languages/puppet.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/purebasic.js +0 -99
- package/templates/docs/highlight.js/lib/languages/purebasic.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/python-repl.js +0 -32
- package/templates/docs/highlight.js/lib/languages/python-repl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/python.js +0 -434
- package/templates/docs/highlight.js/lib/languages/python.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/q.js +0 -37
- package/templates/docs/highlight.js/lib/languages/q.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/qml.js +0 -189
- package/templates/docs/highlight.js/lib/languages/qml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/r.js +0 -257
- package/templates/docs/highlight.js/lib/languages/r.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/reasonml.js +0 -308
- package/templates/docs/highlight.js/lib/languages/reasonml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/rib.js +0 -37
- package/templates/docs/highlight.js/lib/languages/rib.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/roboconf.js +0 -82
- package/templates/docs/highlight.js/lib/languages/roboconf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/routeros.js +0 -163
- package/templates/docs/highlight.js/lib/languages/routeros.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/rsl.js +0 -149
- package/templates/docs/highlight.js/lib/languages/rsl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ruby.js +0 -448
- package/templates/docs/highlight.js/lib/languages/ruby.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/ruleslanguage.js +0 -76
- package/templates/docs/highlight.js/lib/languages/ruleslanguage.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/rust.js +0 -304
- package/templates/docs/highlight.js/lib/languages/rust.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/sas.js +0 -556
- package/templates/docs/highlight.js/lib/languages/sas.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/scala.js +0 -177
- package/templates/docs/highlight.js/lib/languages/scala.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/scheme.js +0 -196
- package/templates/docs/highlight.js/lib/languages/scheme.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/scilab.js +0 -73
- package/templates/docs/highlight.js/lib/languages/scilab.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/scss.js +0 -727
- package/templates/docs/highlight.js/lib/languages/scss.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/shell.js +0 -33
- package/templates/docs/highlight.js/lib/languages/shell.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/smali.js +0 -125
- package/templates/docs/highlight.js/lib/languages/smali.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/smalltalk.js +0 -68
- package/templates/docs/highlight.js/lib/languages/smalltalk.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/sml.js +0 -75
- package/templates/docs/highlight.js/lib/languages/sml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/sqf.js +0 -2662
- package/templates/docs/highlight.js/lib/languages/sqf.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/sql.js +0 -682
- package/templates/docs/highlight.js/lib/languages/sql.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/stan.js +0 -493
- package/templates/docs/highlight.js/lib/languages/stan.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/stata.js +0 -53
- package/templates/docs/highlight.js/lib/languages/stata.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/step21.js +0 -66
- package/templates/docs/highlight.js/lib/languages/step21.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/stylus.js +0 -787
- package/templates/docs/highlight.js/lib/languages/stylus.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/subunit.js +0 -43
- package/templates/docs/highlight.js/lib/languages/subunit.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/swift.js +0 -860
- package/templates/docs/highlight.js/lib/languages/swift.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/taggerscript.js +0 -58
- package/templates/docs/highlight.js/lib/languages/taggerscript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/tap.js +0 -47
- package/templates/docs/highlight.js/lib/languages/tap.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/tcl.js +0 -190
- package/templates/docs/highlight.js/lib/languages/tcl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/thrift.js +0 -77
- package/templates/docs/highlight.js/lib/languages/thrift.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/tp.js +0 -171
- package/templates/docs/highlight.js/lib/languages/tp.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/twig.js +0 -260
- package/templates/docs/highlight.js/lib/languages/twig.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/typescript.js +0 -878
- package/templates/docs/highlight.js/lib/languages/typescript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vala.js +0 -60
- package/templates/docs/highlight.js/lib/languages/vala.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vbnet.js +0 -157
- package/templates/docs/highlight.js/lib/languages/vbnet.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vbscript-html.js +0 -24
- package/templates/docs/highlight.js/lib/languages/vbscript-html.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vbscript.js +0 -220
- package/templates/docs/highlight.js/lib/languages/vbscript.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/verilog.js +0 -549
- package/templates/docs/highlight.js/lib/languages/verilog.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vhdl.js +0 -215
- package/templates/docs/highlight.js/lib/languages/vhdl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/vim.js +0 -129
- package/templates/docs/highlight.js/lib/languages/vim.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/wasm.js +0 -139
- package/templates/docs/highlight.js/lib/languages/wasm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/wren.js +0 -302
- package/templates/docs/highlight.js/lib/languages/wren.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/x86asm.js +0 -153
- package/templates/docs/highlight.js/lib/languages/x86asm.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/xl.js +0 -205
- package/templates/docs/highlight.js/lib/languages/xl.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/xml.js +0 -241
- package/templates/docs/highlight.js/lib/languages/xml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/xquery.js +0 -359
- package/templates/docs/highlight.js/lib/languages/xquery.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/yaml.js +0 -194
- package/templates/docs/highlight.js/lib/languages/yaml.js.js +0 -10
- package/templates/docs/highlight.js/lib/languages/zephir.js +0 -128
- package/templates/docs/highlight.js/lib/languages/zephir.js.js +0 -10
@@ -1,82 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Language: Augmented Backus-Naur Form
|
3
|
-
Author: Alex McKibben <alex@nullscope.net>
|
4
|
-
Website: https://tools.ietf.org/html/rfc5234
|
5
|
-
Audit: 2020
|
6
|
-
*/
|
7
|
-
|
8
|
-
/** @type LanguageFn */
|
9
|
-
function abnf(hljs) {
|
10
|
-
const regex = hljs.regex;
|
11
|
-
const IDENT = /^[a-zA-Z][a-zA-Z0-9-]*/;
|
12
|
-
|
13
|
-
const KEYWORDS = [
|
14
|
-
"ALPHA",
|
15
|
-
"BIT",
|
16
|
-
"CHAR",
|
17
|
-
"CR",
|
18
|
-
"CRLF",
|
19
|
-
"CTL",
|
20
|
-
"DIGIT",
|
21
|
-
"DQUOTE",
|
22
|
-
"HEXDIG",
|
23
|
-
"HTAB",
|
24
|
-
"LF",
|
25
|
-
"LWSP",
|
26
|
-
"OCTET",
|
27
|
-
"SP",
|
28
|
-
"VCHAR",
|
29
|
-
"WSP"
|
30
|
-
];
|
31
|
-
|
32
|
-
const COMMENT = hljs.COMMENT(/;/, /$/);
|
33
|
-
|
34
|
-
const TERMINAL_BINARY = {
|
35
|
-
scope: "symbol",
|
36
|
-
match: /%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/
|
37
|
-
};
|
38
|
-
|
39
|
-
const TERMINAL_DECIMAL = {
|
40
|
-
scope: "symbol",
|
41
|
-
match: /%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/
|
42
|
-
};
|
43
|
-
|
44
|
-
const TERMINAL_HEXADECIMAL = {
|
45
|
-
scope: "symbol",
|
46
|
-
match: /%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/
|
47
|
-
};
|
48
|
-
|
49
|
-
const CASE_SENSITIVITY = {
|
50
|
-
scope: "symbol",
|
51
|
-
match: /%[si](?=".*")/
|
52
|
-
};
|
53
|
-
|
54
|
-
const RULE_DECLARATION = {
|
55
|
-
scope: "attribute",
|
56
|
-
match: regex.concat(IDENT, /(?=\s*=)/)
|
57
|
-
};
|
58
|
-
|
59
|
-
const ASSIGNMENT = {
|
60
|
-
scope: "operator",
|
61
|
-
match: /=\/?/
|
62
|
-
};
|
63
|
-
|
64
|
-
return {
|
65
|
-
name: 'Augmented Backus-Naur Form',
|
66
|
-
illegal: /[!@#$^&',?+~`|:]/,
|
67
|
-
keywords: KEYWORDS,
|
68
|
-
contains: [
|
69
|
-
ASSIGNMENT,
|
70
|
-
RULE_DECLARATION,
|
71
|
-
COMMENT,
|
72
|
-
TERMINAL_BINARY,
|
73
|
-
TERMINAL_DECIMAL,
|
74
|
-
TERMINAL_HEXADECIMAL,
|
75
|
-
CASE_SENSITIVITY,
|
76
|
-
hljs.QUOTE_STRING_MODE,
|
77
|
-
hljs.NUMBER_MODE
|
78
|
-
]
|
79
|
-
};
|
80
|
-
}
|
81
|
-
|
82
|
-
module.exports = abnf;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function emitWarning() {
|
2
|
-
if (!emitWarning.warned) {
|
3
|
-
emitWarning.warned = true;
|
4
|
-
console.log(
|
5
|
-
'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/abnf" instead of "highlight.js/lib/languages/abnf.js"'
|
6
|
-
);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
emitWarning();
|
10
|
-
module.exports = require('./abnf.js');
|
@@ -1,92 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Language: Apache Access Log
|
3
|
-
Author: Oleg Efimov <efimovov@gmail.com>
|
4
|
-
Description: Apache/Nginx Access Logs
|
5
|
-
Website: https://httpd.apache.org/docs/2.4/logs.html#accesslog
|
6
|
-
Category: web, logs
|
7
|
-
Audit: 2020
|
8
|
-
*/
|
9
|
-
|
10
|
-
/** @type LanguageFn */
|
11
|
-
function accesslog(hljs) {
|
12
|
-
const regex = hljs.regex;
|
13
|
-
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
|
14
|
-
const HTTP_VERBS = [
|
15
|
-
"GET",
|
16
|
-
"POST",
|
17
|
-
"HEAD",
|
18
|
-
"PUT",
|
19
|
-
"DELETE",
|
20
|
-
"CONNECT",
|
21
|
-
"OPTIONS",
|
22
|
-
"PATCH",
|
23
|
-
"TRACE"
|
24
|
-
];
|
25
|
-
return {
|
26
|
-
name: 'Apache Access Log',
|
27
|
-
contains: [
|
28
|
-
// IP
|
29
|
-
{
|
30
|
-
className: 'number',
|
31
|
-
begin: /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,
|
32
|
-
relevance: 5
|
33
|
-
},
|
34
|
-
// Other numbers
|
35
|
-
{
|
36
|
-
className: 'number',
|
37
|
-
begin: /\b\d+\b/,
|
38
|
-
relevance: 0
|
39
|
-
},
|
40
|
-
// Requests
|
41
|
-
{
|
42
|
-
className: 'string',
|
43
|
-
begin: regex.concat(/"/, regex.either(...HTTP_VERBS)),
|
44
|
-
end: /"/,
|
45
|
-
keywords: HTTP_VERBS,
|
46
|
-
illegal: /\n/,
|
47
|
-
relevance: 5,
|
48
|
-
contains: [
|
49
|
-
{
|
50
|
-
begin: /HTTP\/[12]\.\d'/,
|
51
|
-
relevance: 5
|
52
|
-
}
|
53
|
-
]
|
54
|
-
},
|
55
|
-
// Dates
|
56
|
-
{
|
57
|
-
className: 'string',
|
58
|
-
// dates must have a certain length, this prevents matching
|
59
|
-
// simple array accesses a[123] and [] and other common patterns
|
60
|
-
// found in other languages
|
61
|
-
begin: /\[\d[^\]\n]{8,}\]/,
|
62
|
-
illegal: /\n/,
|
63
|
-
relevance: 1
|
64
|
-
},
|
65
|
-
{
|
66
|
-
className: 'string',
|
67
|
-
begin: /\[/,
|
68
|
-
end: /\]/,
|
69
|
-
illegal: /\n/,
|
70
|
-
relevance: 0
|
71
|
-
},
|
72
|
-
// User agent / relevance boost
|
73
|
-
{
|
74
|
-
className: 'string',
|
75
|
-
begin: /"Mozilla\/\d\.\d \(/,
|
76
|
-
end: /"/,
|
77
|
-
illegal: /\n/,
|
78
|
-
relevance: 3
|
79
|
-
},
|
80
|
-
// Strings
|
81
|
-
{
|
82
|
-
className: 'string',
|
83
|
-
begin: /"/,
|
84
|
-
end: /"/,
|
85
|
-
illegal: /\n/,
|
86
|
-
relevance: 0
|
87
|
-
}
|
88
|
-
]
|
89
|
-
};
|
90
|
-
}
|
91
|
-
|
92
|
-
module.exports = accesslog;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function emitWarning() {
|
2
|
-
if (!emitWarning.warned) {
|
3
|
-
emitWarning.warned = true;
|
4
|
-
console.log(
|
5
|
-
'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/accesslog" instead of "highlight.js/lib/languages/accesslog.js"'
|
6
|
-
);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
emitWarning();
|
10
|
-
module.exports = require('./accesslog.js');
|
@@ -1,153 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Language: ActionScript
|
3
|
-
Author: Alexander Myadzel <myadzel@gmail.com>
|
4
|
-
Category: scripting
|
5
|
-
Audit: 2020
|
6
|
-
*/
|
7
|
-
|
8
|
-
/** @type LanguageFn */
|
9
|
-
function actionscript(hljs) {
|
10
|
-
const regex = hljs.regex;
|
11
|
-
const IDENT_RE = /[a-zA-Z_$][a-zA-Z0-9_$]*/;
|
12
|
-
const PKG_NAME_RE = regex.concat(
|
13
|
-
IDENT_RE,
|
14
|
-
regex.concat("(\\.", IDENT_RE, ")*")
|
15
|
-
);
|
16
|
-
const IDENT_FUNC_RETURN_TYPE_RE = /([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/;
|
17
|
-
|
18
|
-
const AS3_REST_ARG_MODE = {
|
19
|
-
className: 'rest_arg',
|
20
|
-
begin: /[.]{3}/,
|
21
|
-
end: IDENT_RE,
|
22
|
-
relevance: 10
|
23
|
-
};
|
24
|
-
|
25
|
-
const KEYWORDS = [
|
26
|
-
"as",
|
27
|
-
"break",
|
28
|
-
"case",
|
29
|
-
"catch",
|
30
|
-
"class",
|
31
|
-
"const",
|
32
|
-
"continue",
|
33
|
-
"default",
|
34
|
-
"delete",
|
35
|
-
"do",
|
36
|
-
"dynamic",
|
37
|
-
"each",
|
38
|
-
"else",
|
39
|
-
"extends",
|
40
|
-
"final",
|
41
|
-
"finally",
|
42
|
-
"for",
|
43
|
-
"function",
|
44
|
-
"get",
|
45
|
-
"if",
|
46
|
-
"implements",
|
47
|
-
"import",
|
48
|
-
"in",
|
49
|
-
"include",
|
50
|
-
"instanceof",
|
51
|
-
"interface",
|
52
|
-
"internal",
|
53
|
-
"is",
|
54
|
-
"namespace",
|
55
|
-
"native",
|
56
|
-
"new",
|
57
|
-
"override",
|
58
|
-
"package",
|
59
|
-
"private",
|
60
|
-
"protected",
|
61
|
-
"public",
|
62
|
-
"return",
|
63
|
-
"set",
|
64
|
-
"static",
|
65
|
-
"super",
|
66
|
-
"switch",
|
67
|
-
"this",
|
68
|
-
"throw",
|
69
|
-
"try",
|
70
|
-
"typeof",
|
71
|
-
"use",
|
72
|
-
"var",
|
73
|
-
"void",
|
74
|
-
"while",
|
75
|
-
"with"
|
76
|
-
];
|
77
|
-
const LITERALS = [
|
78
|
-
"true",
|
79
|
-
"false",
|
80
|
-
"null",
|
81
|
-
"undefined"
|
82
|
-
];
|
83
|
-
|
84
|
-
return {
|
85
|
-
name: 'ActionScript',
|
86
|
-
aliases: [ 'as' ],
|
87
|
-
keywords: {
|
88
|
-
keyword: KEYWORDS,
|
89
|
-
literal: LITERALS
|
90
|
-
},
|
91
|
-
contains: [
|
92
|
-
hljs.APOS_STRING_MODE,
|
93
|
-
hljs.QUOTE_STRING_MODE,
|
94
|
-
hljs.C_LINE_COMMENT_MODE,
|
95
|
-
hljs.C_BLOCK_COMMENT_MODE,
|
96
|
-
hljs.C_NUMBER_MODE,
|
97
|
-
{
|
98
|
-
match: [
|
99
|
-
/\bpackage/,
|
100
|
-
/\s+/,
|
101
|
-
PKG_NAME_RE
|
102
|
-
],
|
103
|
-
className: {
|
104
|
-
1: "keyword",
|
105
|
-
3: "title.class"
|
106
|
-
}
|
107
|
-
},
|
108
|
-
{
|
109
|
-
match: [
|
110
|
-
/\b(?:class|interface|extends|implements)/,
|
111
|
-
/\s+/,
|
112
|
-
IDENT_RE
|
113
|
-
],
|
114
|
-
className: {
|
115
|
-
1: "keyword",
|
116
|
-
3: "title.class"
|
117
|
-
}
|
118
|
-
},
|
119
|
-
{
|
120
|
-
className: 'meta',
|
121
|
-
beginKeywords: 'import include',
|
122
|
-
end: /;/,
|
123
|
-
keywords: { keyword: 'import include' }
|
124
|
-
},
|
125
|
-
{
|
126
|
-
beginKeywords: 'function',
|
127
|
-
end: /[{;]/,
|
128
|
-
excludeEnd: true,
|
129
|
-
illegal: /\S/,
|
130
|
-
contains: [
|
131
|
-
hljs.inherit(hljs.TITLE_MODE, { className: "title.function" }),
|
132
|
-
{
|
133
|
-
className: 'params',
|
134
|
-
begin: /\(/,
|
135
|
-
end: /\)/,
|
136
|
-
contains: [
|
137
|
-
hljs.APOS_STRING_MODE,
|
138
|
-
hljs.QUOTE_STRING_MODE,
|
139
|
-
hljs.C_LINE_COMMENT_MODE,
|
140
|
-
hljs.C_BLOCK_COMMENT_MODE,
|
141
|
-
AS3_REST_ARG_MODE
|
142
|
-
]
|
143
|
-
},
|
144
|
-
{ begin: regex.concat(/:\s*/, IDENT_FUNC_RETURN_TYPE_RE) }
|
145
|
-
]
|
146
|
-
},
|
147
|
-
hljs.METHOD_GUARD
|
148
|
-
],
|
149
|
-
illegal: /#/
|
150
|
-
};
|
151
|
-
}
|
152
|
-
|
153
|
-
module.exports = actionscript;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function emitWarning() {
|
2
|
-
if (!emitWarning.warned) {
|
3
|
-
emitWarning.warned = true;
|
4
|
-
console.log(
|
5
|
-
'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/actionscript" instead of "highlight.js/lib/languages/actionscript.js"'
|
6
|
-
);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
emitWarning();
|
10
|
-
module.exports = require('./actionscript.js');
|
@@ -1,265 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Language: Ada
|
3
|
-
Author: Lars Schulna <kartoffelbrei.mit.muskatnuss@gmail.org>
|
4
|
-
Description: Ada is a general-purpose programming language that has great support for saftey critical and real-time applications.
|
5
|
-
It has been developed by the DoD and thus has been used in military and safety-critical applications (like civil aviation).
|
6
|
-
The first version appeared in the 80s, but it's still actively developed today with
|
7
|
-
the newest standard being Ada2012.
|
8
|
-
*/
|
9
|
-
|
10
|
-
// We try to support full Ada2012
|
11
|
-
//
|
12
|
-
// We highlight all appearances of types, keywords, literals (string, char, number, bool)
|
13
|
-
// and titles (user defined function/procedure/package)
|
14
|
-
// CSS classes are set accordingly
|
15
|
-
//
|
16
|
-
// Languages causing problems for language detection:
|
17
|
-
// xml (broken by Foo : Bar type), elm (broken by Foo : Bar type), vbscript-html (broken by body keyword)
|
18
|
-
// sql (ada default.txt has a lot of sql keywords)
|
19
|
-
|
20
|
-
/** @type LanguageFn */
|
21
|
-
function ada(hljs) {
|
22
|
-
// Regular expression for Ada numeric literals.
|
23
|
-
// stolen form the VHDL highlighter
|
24
|
-
|
25
|
-
// Decimal literal:
|
26
|
-
const INTEGER_RE = '\\d(_|\\d)*';
|
27
|
-
const EXPONENT_RE = '[eE][-+]?' + INTEGER_RE;
|
28
|
-
const DECIMAL_LITERAL_RE = INTEGER_RE + '(\\.' + INTEGER_RE + ')?' + '(' + EXPONENT_RE + ')?';
|
29
|
-
|
30
|
-
// Based literal:
|
31
|
-
const BASED_INTEGER_RE = '\\w+';
|
32
|
-
const BASED_LITERAL_RE = INTEGER_RE + '#' + BASED_INTEGER_RE + '(\\.' + BASED_INTEGER_RE + ')?' + '#' + '(' + EXPONENT_RE + ')?';
|
33
|
-
|
34
|
-
const NUMBER_RE = '\\b(' + BASED_LITERAL_RE + '|' + DECIMAL_LITERAL_RE + ')';
|
35
|
-
|
36
|
-
// Identifier regex
|
37
|
-
const ID_REGEX = '[A-Za-z](_?[A-Za-z0-9.])*';
|
38
|
-
|
39
|
-
// bad chars, only allowed in literals
|
40
|
-
const BAD_CHARS = `[]\\{\\}%#'"`;
|
41
|
-
|
42
|
-
// Ada doesn't have block comments, only line comments
|
43
|
-
const COMMENTS = hljs.COMMENT('--', '$');
|
44
|
-
|
45
|
-
// variable declarations of the form
|
46
|
-
// Foo : Bar := Baz;
|
47
|
-
// where only Bar will be highlighted
|
48
|
-
const VAR_DECLS = {
|
49
|
-
// TODO: These spaces are not required by the Ada syntax
|
50
|
-
// however, I have yet to see handwritten Ada code where
|
51
|
-
// someone does not put spaces around :
|
52
|
-
begin: '\\s+:\\s+',
|
53
|
-
end: '\\s*(:=|;|\\)|=>|$)',
|
54
|
-
// endsWithParent: true,
|
55
|
-
// returnBegin: true,
|
56
|
-
illegal: BAD_CHARS,
|
57
|
-
contains: [
|
58
|
-
{
|
59
|
-
// workaround to avoid highlighting
|
60
|
-
// named loops and declare blocks
|
61
|
-
beginKeywords: 'loop for declare others',
|
62
|
-
endsParent: true
|
63
|
-
},
|
64
|
-
{
|
65
|
-
// properly highlight all modifiers
|
66
|
-
className: 'keyword',
|
67
|
-
beginKeywords: 'not null constant access function procedure in out aliased exception'
|
68
|
-
},
|
69
|
-
{
|
70
|
-
className: 'type',
|
71
|
-
begin: ID_REGEX,
|
72
|
-
endsParent: true,
|
73
|
-
relevance: 0
|
74
|
-
}
|
75
|
-
]
|
76
|
-
};
|
77
|
-
|
78
|
-
const KEYWORDS = [
|
79
|
-
"abort",
|
80
|
-
"else",
|
81
|
-
"new",
|
82
|
-
"return",
|
83
|
-
"abs",
|
84
|
-
"elsif",
|
85
|
-
"not",
|
86
|
-
"reverse",
|
87
|
-
"abstract",
|
88
|
-
"end",
|
89
|
-
"accept",
|
90
|
-
"entry",
|
91
|
-
"select",
|
92
|
-
"access",
|
93
|
-
"exception",
|
94
|
-
"of",
|
95
|
-
"separate",
|
96
|
-
"aliased",
|
97
|
-
"exit",
|
98
|
-
"or",
|
99
|
-
"some",
|
100
|
-
"all",
|
101
|
-
"others",
|
102
|
-
"subtype",
|
103
|
-
"and",
|
104
|
-
"for",
|
105
|
-
"out",
|
106
|
-
"synchronized",
|
107
|
-
"array",
|
108
|
-
"function",
|
109
|
-
"overriding",
|
110
|
-
"at",
|
111
|
-
"tagged",
|
112
|
-
"generic",
|
113
|
-
"package",
|
114
|
-
"task",
|
115
|
-
"begin",
|
116
|
-
"goto",
|
117
|
-
"pragma",
|
118
|
-
"terminate",
|
119
|
-
"body",
|
120
|
-
"private",
|
121
|
-
"then",
|
122
|
-
"if",
|
123
|
-
"procedure",
|
124
|
-
"type",
|
125
|
-
"case",
|
126
|
-
"in",
|
127
|
-
"protected",
|
128
|
-
"constant",
|
129
|
-
"interface",
|
130
|
-
"is",
|
131
|
-
"raise",
|
132
|
-
"use",
|
133
|
-
"declare",
|
134
|
-
"range",
|
135
|
-
"delay",
|
136
|
-
"limited",
|
137
|
-
"record",
|
138
|
-
"when",
|
139
|
-
"delta",
|
140
|
-
"loop",
|
141
|
-
"rem",
|
142
|
-
"while",
|
143
|
-
"digits",
|
144
|
-
"renames",
|
145
|
-
"with",
|
146
|
-
"do",
|
147
|
-
"mod",
|
148
|
-
"requeue",
|
149
|
-
"xor"
|
150
|
-
];
|
151
|
-
|
152
|
-
return {
|
153
|
-
name: 'Ada',
|
154
|
-
case_insensitive: true,
|
155
|
-
keywords: {
|
156
|
-
keyword: KEYWORDS,
|
157
|
-
literal: [
|
158
|
-
"True",
|
159
|
-
"False"
|
160
|
-
]
|
161
|
-
},
|
162
|
-
contains: [
|
163
|
-
COMMENTS,
|
164
|
-
// strings "foobar"
|
165
|
-
{
|
166
|
-
className: 'string',
|
167
|
-
begin: /"/,
|
168
|
-
end: /"/,
|
169
|
-
contains: [
|
170
|
-
{
|
171
|
-
begin: /""/,
|
172
|
-
relevance: 0
|
173
|
-
}
|
174
|
-
]
|
175
|
-
},
|
176
|
-
// characters ''
|
177
|
-
{
|
178
|
-
// character literals always contain one char
|
179
|
-
className: 'string',
|
180
|
-
begin: /'.'/
|
181
|
-
},
|
182
|
-
{
|
183
|
-
// number literals
|
184
|
-
className: 'number',
|
185
|
-
begin: NUMBER_RE,
|
186
|
-
relevance: 0
|
187
|
-
},
|
188
|
-
{
|
189
|
-
// Attributes
|
190
|
-
className: 'symbol',
|
191
|
-
begin: "'" + ID_REGEX
|
192
|
-
},
|
193
|
-
{
|
194
|
-
// package definition, maybe inside generic
|
195
|
-
className: 'title',
|
196
|
-
begin: '(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?',
|
197
|
-
end: '(is|$)',
|
198
|
-
keywords: 'package body',
|
199
|
-
excludeBegin: true,
|
200
|
-
excludeEnd: true,
|
201
|
-
illegal: BAD_CHARS
|
202
|
-
},
|
203
|
-
{
|
204
|
-
// function/procedure declaration/definition
|
205
|
-
// maybe inside generic
|
206
|
-
begin: '(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+',
|
207
|
-
end: '(\\bis|\\bwith|\\brenames|\\)\\s*;)',
|
208
|
-
keywords: 'overriding function procedure with is renames return',
|
209
|
-
// we need to re-match the 'function' keyword, so that
|
210
|
-
// the title mode below matches only exactly once
|
211
|
-
returnBegin: true,
|
212
|
-
contains:
|
213
|
-
[
|
214
|
-
COMMENTS,
|
215
|
-
{
|
216
|
-
// name of the function/procedure
|
217
|
-
className: 'title',
|
218
|
-
begin: '(\\bwith\\s+)?\\b(function|procedure)\\s+',
|
219
|
-
end: '(\\(|\\s+|$)',
|
220
|
-
excludeBegin: true,
|
221
|
-
excludeEnd: true,
|
222
|
-
illegal: BAD_CHARS
|
223
|
-
},
|
224
|
-
// 'self'
|
225
|
-
// // parameter types
|
226
|
-
VAR_DECLS,
|
227
|
-
{
|
228
|
-
// return type
|
229
|
-
className: 'type',
|
230
|
-
begin: '\\breturn\\s+',
|
231
|
-
end: '(\\s+|;|$)',
|
232
|
-
keywords: 'return',
|
233
|
-
excludeBegin: true,
|
234
|
-
excludeEnd: true,
|
235
|
-
// we are done with functions
|
236
|
-
endsParent: true,
|
237
|
-
illegal: BAD_CHARS
|
238
|
-
|
239
|
-
}
|
240
|
-
]
|
241
|
-
},
|
242
|
-
{
|
243
|
-
// new type declarations
|
244
|
-
// maybe inside generic
|
245
|
-
className: 'type',
|
246
|
-
begin: '\\b(sub)?type\\s+',
|
247
|
-
end: '\\s+',
|
248
|
-
keywords: 'type',
|
249
|
-
excludeBegin: true,
|
250
|
-
illegal: BAD_CHARS
|
251
|
-
},
|
252
|
-
|
253
|
-
// see comment above the definition
|
254
|
-
VAR_DECLS
|
255
|
-
|
256
|
-
// no markup
|
257
|
-
// relevance boosters for small snippets
|
258
|
-
// {begin: '\\s*=>\\s*'},
|
259
|
-
// {begin: '\\s*:=\\s*'},
|
260
|
-
// {begin: '\\s+:=\\s+'},
|
261
|
-
]
|
262
|
-
};
|
263
|
-
}
|
264
|
-
|
265
|
-
module.exports = ada;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
function emitWarning() {
|
2
|
-
if (!emitWarning.warned) {
|
3
|
-
emitWarning.warned = true;
|
4
|
-
console.log(
|
5
|
-
'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/ada" instead of "highlight.js/lib/languages/ada.js"'
|
6
|
-
);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
emitWarning();
|
10
|
-
module.exports = require('./ada.js');
|