tungsten 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-complete +1 -1
- package/dist/.tsbuildinfo +1 -0
- package/dist/AnyComponent.d.ts.map +1 -1
- package/dist/AnyComponent.js +1 -1
- package/dist/Components.d.ts.map +1 -1
- package/dist/Components.js +25 -23
- package/dist/ContentNode.js +2 -2
- package/dist/DomPointer.js +1 -1
- package/dist/DomRegion.js +3 -3
- package/dist/Framework.d.ts +2 -1
- package/dist/Framework.d.ts.map +1 -1
- package/dist/Framework.js +44 -35
- package/dist/FrameworkConfig.d.ts +16 -0
- package/dist/FrameworkConfig.d.ts.map +1 -1
- package/dist/FunctionComponentStandIn.js +8 -8
- package/dist/Instance/Instance.js +12 -12
- package/dist/RenderedContentNode.d.ts.map +1 -1
- package/dist/RenderedContentNode.js +4 -3
- package/dist/RenderingNode.js +2 -2
- package/dist/Sass.d.ts.map +1 -1
- package/dist/Sass.js +1 -0
- package/dist/Script.js +1 -1
- package/dist/Servers/DevServer.d.ts.map +1 -1
- package/dist/Servers/DevServer.js +33 -32
- package/dist/Servers/ProdServer.js +15 -15
- package/dist/Servers/StaticSiteServer.js +4 -4
- package/dist/Servers/TungstenServer.js +5 -5
- package/dist/Servers/devErrorPageAutoRetry.js +1 -1
- package/dist/Servers/initStores.js +3 -3
- package/dist/Servers/loadEnvsDev.d.ts +1 -1
- package/dist/Servers/loadEnvsDev.d.ts.map +1 -1
- package/dist/Servers/loadEnvsDev.js +10 -8
- package/dist/Servers/routing.d.ts.map +1 -1
- package/dist/Servers/routing.js +4 -4
- package/dist/Store/Store.js +1 -1
- package/dist/Store/TypeSafeStore.js +1 -1
- package/dist/Store/createStores.js +2 -2
- package/dist/Store/makeStore.js +3 -3
- package/dist/Store/registerStore.js +3 -3
- package/dist/TElement.js +1 -1
- package/dist/TungstenApp.js +9 -5
- package/dist/TungstenStyleObject.js +1 -1
- package/dist/__deproxy.js +2 -2
- package/dist/_client/client.js +3 -3
- package/dist/alive.js +1 -1
- package/dist/api/getApiRoutes.js +3 -3
- package/dist/api/getExport.d.ts.map +1 -1
- package/dist/api/getExport.js +5 -4
- package/dist/api/getExportDev.js +1 -1
- package/dist/appOutput.js +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/babelPlugins/BabelAddDevCacheBust.d.ts.map +1 -1
- package/dist/babelPlugins/BabelAddDevCacheBust.js +4 -2
- package/dist/babelPlugins/BabelTransformBindDirect.js +4 -2
- package/dist/babelPlugins/BabelTransformBindVar.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformBindVar.js +3 -3
- package/dist/babelPlugins/BabelTransformCjsToEsm.js +1 -1
- package/dist/babelPlugins/BabelTransformComponentState.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformComponentState.js +2 -2
- package/dist/babelPlugins/BabelTransformComponentStyles.d.ts +2 -0
- package/dist/babelPlugins/BabelTransformComponentStyles.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformComponentStyles.js +32 -15
- package/dist/babelPlugins/BabelTransformCssImports.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformCssImports.js +3 -3
- package/dist/babelPlugins/BabelTransformDependencyImportsOld.js +1 -1
- package/dist/babelPlugins/BabelTransformDeproxyState.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformDeproxyState.js +1 -1
- package/dist/babelPlugins/BabelTransformJsxExtensionsToJs.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformJsxExtensionsToJs.js +6 -2
- package/dist/babelPlugins/BabelTransformPackageImports.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformPackageImports.js +75 -53
- package/dist/babelPlugins/BabelTransformReactive.js +1 -1
- package/dist/babelPlugins/BabelTransformReactiveSvelteStyle.js +1 -1
- package/dist/babelPlugins/BabelTransformRemoveBlocks.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformSxyFrameworkImports.js +1 -1
- package/dist/babelPlugins/BabelTransformUniqueComponents.js +1 -1
- package/dist/babelPlugins/fixImportsInSassErrorMessage.js +1 -1
- package/dist/babelPlugins/test.js +1 -1
- package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsCjs.d.ts.map +1 -1
- package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsCjs.js +5 -4
- package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsEsm.d.ts.map +1 -1
- package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsEsm.js +3 -2
- package/dist/babelPlugins/transformPackageImports/getWebLocationOfPackageFile.js +2 -2
- package/dist/bin/args.js +2 -2
- package/dist/bin/commands/build.js +6 -6
- package/dist/bin/commands/buildHelp.js +1 -1
- package/dist/bin/commands/clean.js +4 -4
- package/dist/bin/commands/compile.d.ts.map +1 -1
- package/dist/bin/commands/compile.js +24 -17
- package/dist/bin/commands/compileSimplePackage.js +3 -2
- package/dist/bin/commands/dev.d.ts.map +1 -1
- package/dist/bin/commands/dev.js +16 -9
- package/dist/bin/commands/devmon.js +4 -4
- package/dist/bin/commands/help.js +2 -2
- package/dist/bin/commands/start.js +2 -2
- package/dist/bin/commands/static.js +3 -3
- package/dist/bin/index.d.ts.map +1 -1
- package/dist/bin/index.js +24 -16
- package/dist/bin/moduleLoadAnalysis.js +2 -2
- package/dist/bin/vendorHook.d.ts +3 -0
- package/dist/bin/vendorHook.d.ts.map +1 -0
- package/dist/bin/vendorHook.js +34 -0
- package/dist/browserStorage.js +6 -4
- package/dist/build/babel.user.common.config.d.ts +9 -2
- package/dist/build/babel.user.common.config.d.ts.map +1 -1
- package/dist/build/babel.user.common.config.js +21 -16
- package/dist/build/bundle.d.ts +1 -1
- package/dist/build/bundle.d.ts.map +1 -1
- package/dist/build/bundle.js +15 -7
- package/dist/build/bundleBabelOptions.d.ts +6 -0
- package/dist/build/bundleBabelOptions.d.ts.map +1 -0
- package/dist/build/bundleBabelOptions.js +23 -0
- package/dist/build/combineComponentCss.js +2 -2
- package/dist/build/compileJavascript.d.ts +4 -0
- package/dist/build/compileJavascript.d.ts.map +1 -1
- package/dist/build/compileJavascript.js +174 -103
- package/dist/build/compileStyles.js +8 -8
- package/dist/build/compileUserApp.d.ts +1 -1
- package/dist/build/compileUserApp.d.ts.map +1 -1
- package/dist/build/compileUserApp.js +15 -12
- package/dist/build/componentStylesCache.d.ts +10 -0
- package/dist/build/componentStylesCache.d.ts.map +1 -0
- package/dist/build/componentStylesCache.js +54 -0
- package/dist/build/copyAssets.js +4 -4
- package/dist/build/copyPackageModulesToPackagesFolder.js +4 -4
- package/dist/build/copyPublicFiles.js +4 -4
- package/dist/build/createClientFiles.js +3 -3
- package/dist/build/createInstanceConfigFile.js +2 -2
- package/dist/build/createPackageVirtualFileSystems.js +1 -1
- package/dist/build/devBundle.js +5 -5
- package/dist/build/devBundle.rollup.config.d.ts.map +1 -1
- package/dist/build/devBundle.rollup.config.js +0 -1
- package/dist/build/frameworkDestLocation.d.ts +1 -0
- package/dist/build/frameworkDestLocation.d.ts.map +1 -1
- package/dist/build/frameworkDestLocation.js +8 -4
- package/dist/build/frameworkStylesheets.js +2 -2
- package/dist/build/getAllSxyClientModules.d.ts.map +1 -1
- package/dist/build/getAllSxyClientModules.js +4 -28
- package/dist/build/getPackageDirForFile.js +1 -1
- package/dist/build/getSxyClientPackageAliases.d.ts.map +1 -1
- package/dist/build/getSxyClientPackageAliases.js +4 -2
- package/dist/build/getTempDirForAppCompilation.js +1 -1
- package/dist/build/makeBabelRawConfig.d.ts +3 -0
- package/dist/build/makeBabelRawConfig.d.ts.map +1 -0
- package/dist/build/makeBabelRawConfig.js +12 -0
- package/dist/build/makeBabelUserDevConfig.d.ts +1 -1
- package/dist/build/makeBabelUserDevConfig.d.ts.map +1 -1
- package/dist/build/makeBabelUserDevConfig.js +11 -8
- package/dist/build/makeBabelUserProdConfig.d.ts +1 -1
- package/dist/build/makeBabelUserProdConfig.d.ts.map +1 -1
- package/dist/build/makeBabelUserProdConfig.js +10 -5
- package/dist/build/rollup.user.prod.config.d.ts.map +1 -1
- package/dist/build/rollup.user.prod.config.js +13 -11
- package/dist/build/rollupExtractComponentStylesheets.js +3 -3
- package/dist/build/sassImportParser.js +4 -4
- package/dist/build/tallyBabel.d.ts +3 -0
- package/dist/build/tallyBabel.d.ts.map +1 -0
- package/dist/build/tallyBabel.js +11 -0
- package/dist/calculateImportedStaticFileLocations.js +2 -2
- package/dist/calledFrom.js +2 -2
- package/dist/clone.js +4 -4
- package/dist/compat/context.d.ts.map +1 -1
- package/dist/compat/forwardRef.js +1 -1
- package/dist/compat/index.js +1 -1
- package/dist/compat/types.d.ts.map +1 -1
- package/dist/componentProxyHandlers.d.ts.map +1 -1
- package/dist/componentProxyHandlers.js +8 -12
- package/dist/components/Link.js +2 -2
- package/dist/components/PopMessages.js +3 -3
- package/dist/components/RawHtml.js +2 -2
- package/dist/components/Stylesheet.d.ts +1 -2
- package/dist/components/Stylesheet.d.ts.map +1 -1
- package/dist/components/Stylesheet.js +4 -4
- package/dist/components/bindable/BindableCheckbox.d.ts.map +1 -1
- package/dist/components/bindable/BindableCheckbox.js +1 -1
- package/dist/components/bindable/BindableInput.d.ts.map +1 -1
- package/dist/components/bindable/BindableInput.js +1 -1
- package/dist/components/bindable/BindableInputNonString.js +1 -1
- package/dist/components/bindable/BindableInputString.js +1 -1
- package/dist/components/bindable/BindableInputTyped.js +1 -1
- package/dist/components/bindable/BindableInputTypedLegacy.d.ts.map +1 -1
- package/dist/components/bindable/BindableInputTypedLegacy.js +1 -1
- package/dist/components/bindable/BindableRadio.d.ts.map +1 -1
- package/dist/components/bindable/BindableRadio.js +1 -1
- package/dist/components/bindable/BindableSelect.js +1 -1
- package/dist/components/bindable/BindableTextarea.d.ts.map +1 -1
- package/dist/components/bindable/BindableTextarea.js +1 -1
- package/dist/components/library/RichTextEditor/RichTextEditor.js +10 -10
- package/dist/components/library/RichTextEditor/contentTree.js +5 -5
- package/dist/components/library/RichTextEditor/sanitizeAuthoredHtml.js +2 -2
- package/dist/components/library/__StatefulMessage/StatefulMessage.js +2 -2
- package/dist/components/library/index.js +2 -2
- package/dist/concat.d.ts.map +1 -1
- package/dist/concat.js +2 -2
- package/dist/copy.d.ts.map +1 -1
- package/dist/createElement.js +1 -1
- package/dist/createRoutes.d.ts +1 -1
- package/dist/createRoutes.d.ts.map +1 -1
- package/dist/defaultConfig.d.ts +0 -1
- package/dist/defaultConfig.d.ts.map +1 -1
- package/dist/defaultConfig.js +2 -2
- package/dist/deleteDirs.js +1 -1
- package/dist/env/Env.js +2 -2
- package/dist/env/addToEnv.js +1 -1
- package/dist/env/funcs.js +4 -4
- package/dist/env/getEnvSchemas.d.ts +2 -2
- package/dist/env/getEnvSchemas.d.ts.map +1 -1
- package/dist/env/getEnvSchemas.js +16 -10
- package/dist/env/privateEnv.js +2 -2
- package/dist/env/privateEnvOrThrow.js +1 -1
- package/dist/env/publicEnv.js +1 -1
- package/dist/env/publicEnvOrThrow.js +1 -1
- package/dist/env/windowGlobalEnvStatement.d.ts.map +1 -1
- package/dist/filePathFromUrl.js +1 -1
- package/dist/findProjectDir.d.ts.map +1 -1
- package/dist/findProjectDir.js +19 -5
- package/dist/findUserConfig.js +7 -7
- package/dist/fixExtension.d.ts.map +1 -1
- package/dist/fixExtension.js +5 -3
- package/dist/foreach.js +1 -0
- package/dist/frameworkConfigSchema.d.ts +16 -0
- package/dist/frameworkConfigSchema.d.ts.map +1 -1
- package/dist/frameworkConfigSchema.js +14 -2
- package/dist/getComponent.d.ts.map +1 -1
- package/dist/getComponent.js +5 -5
- package/dist/getComponentDev.d.ts.map +1 -1
- package/dist/getComponentDev.js +1 -1
- package/dist/getFrameworkDir.js +1 -1
- package/dist/getRoutes.d.ts.map +1 -1
- package/dist/getRoutes.js +18 -27
- package/dist/getRoutesDevs.d.ts.map +1 -1
- package/dist/getRoutesDevs.js +1 -1
- package/dist/getStackTrace.js +1 -1
- package/dist/getUserConfig.js +7 -7
- package/dist/glob.d.ts +5 -0
- package/dist/glob.d.ts.map +1 -0
- package/dist/glob.js +103 -0
- package/dist/hasValidKey.js +1 -1
- package/dist/helpers/getFetchCompatibleHeaders.js +2 -2
- package/dist/helpers/index.js +2 -2
- package/dist/hmr/applyHmrModule.js +10 -10
- package/dist/hmr/componentIdentity.js +3 -3
- package/dist/hmr/instanceRegistry.js +2 -2
- package/dist/hooks/clearCurrentComponent.js +1 -1
- package/dist/hooks/getCurrentComponent.js +3 -3
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/setCurrentComponent.js +1 -1
- package/dist/hooks/useCallback.js +2 -2
- package/dist/hooks/useEffect.js +2 -2
- package/dist/hooks/useInstance.js +1 -1
- package/dist/hooks/useMemo.js +2 -2
- package/dist/hooks/useReducer.d.ts.map +1 -1
- package/dist/hooks/useState.d.ts.map +1 -1
- package/dist/hooks/useState.js +3 -9
- package/dist/hydrate/hydrate.d.ts +1 -1
- package/dist/hydrate/hydrate.d.ts.map +1 -1
- package/dist/hydrate/hydrate.js +56 -54
- package/dist/hydrate/reconcileHydratedAttributes.js +5 -5
- package/dist/index.js +2 -2
- package/dist/indexInner.d.ts +1 -1
- package/dist/indexInner.d.ts.map +1 -1
- package/dist/indexInner.js +45 -45
- package/dist/innerHtmlFromProps.js +1 -1
- package/dist/isBrowser.js +1 -1
- package/dist/isDev.js +1 -1
- package/dist/isProd.js +1 -1
- package/dist/isServer.js +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/jsxRuntime.d.ts.map +1 -1
- package/dist/jsxRuntime.js +12 -7
- package/dist/jsxRuntimeSignals.d.ts.map +1 -1
- package/dist/jsxRuntimeSignals.js +15 -8
- package/dist/makeFinalConfig.d.ts.map +1 -1
- package/dist/makeFinalConfig.js +3 -3
- package/dist/makeInstanceConfigFromFrameworkConfig.js +1 -1
- package/dist/makeServerRpc.js +3 -3
- package/dist/markOptionSelected.js +2 -2
- package/dist/mergeConfigs.d.ts.map +1 -1
- package/dist/mergeConfigs.js +11 -2
- package/dist/mutatingFunctions.js +3 -3
- package/dist/nbsp.js +1 -1
- package/dist/output.js +1 -1
- package/dist/pop.js +2 -2
- package/dist/postcssPlugins/TransformCssNames.js +8 -8
- package/dist/postcssPlugins/parseSelectors.js +1 -1
- package/dist/postcssPlugins/parseSelectorsRich.js +1 -1
- package/dist/postcssPlugins/scopeAnimationValue.js +2 -2
- package/dist/propsAreEqual.js +3 -3
- package/dist/rawHtml/filterContentNode.js +4 -4
- package/dist/rawHtml/parseHtml.js +5 -5
- package/dist/rawHtml/sanitizeHtml.js +3 -3
- package/dist/rawHtml/tokenizeHtml.js +2 -2
- package/dist/render/addImportMap.js +2 -2
- package/dist/render/classComponentNodeToRenderingTree.js +4 -4
- package/dist/render/componentNodeToRenderingTree.d.ts.map +1 -1
- package/dist/render/componentNodeToRenderingTree.js +13 -24
- package/dist/render/contentNodeToHtml.js +11 -11
- package/dist/render/contentToHtml.d.ts.map +1 -1
- package/dist/render/contentToHtml.js +5 -5
- package/dist/render/contentToHtmlDev.js +1 -1
- package/dist/render/contentTreeToRenderingTree.js +7 -7
- package/dist/render/functionComponentNodeToRenderingTree.js +4 -4
- package/dist/render/getFunctionBodyAsString.d.ts.map +1 -1
- package/dist/render/getFunctionBodyAsString.js +3 -6
- package/dist/render/instantiateClassComponent.js +2 -2
- package/dist/render/instantiateComponent.js +3 -3
- package/dist/render/instantiateFunctionComponent.js +2 -2
- package/dist/render/printComponentNameInSource.js +1 -1
- package/dist/render/processHead.js +5 -5
- package/dist/render/processHtmlNode.js +1 -1
- package/dist/render/processProps.js +4 -4
- package/dist/render/processRenderingNodeHtml.js +6 -6
- package/dist/render/renderingTreeToHtml.d.ts.map +1 -1
- package/dist/render/renderingTreeToHtml.js +16 -16
- package/dist/render/rootToHtml.d.ts.map +1 -1
- package/dist/render/rootToHtml.js +2 -2
- package/dist/render/rootToHtmlDev.js +1 -1
- package/dist/requests/fetch/delete.js +2 -2
- package/dist/requests/fetch/get.js +3 -3
- package/dist/requests/fetch/patch.js +2 -2
- package/dist/requests/fetch/post.js +2 -2
- package/dist/requests/fetch/put.js +2 -2
- package/dist/requests/index.js +5 -5
- package/dist/routing/MatchedRoute.js +2 -2
- package/dist/routing/Route.js +1 -1
- package/dist/routing/RouteDataFunction.type.d.ts.map +1 -1
- package/dist/routing/RoutesWithSafeParams.js +1 -1
- package/dist/routing/WebRedirect.d.ts.map +1 -1
- package/dist/routing/compareRequestToRegex.js +2 -2
- package/dist/routing/getPathPriority.js +2 -2
- package/dist/routing/matchPath.js +3 -3
- package/dist/routing/patternToRegex.js +1 -1
- package/dist/server.js +3 -3
- package/dist/serverModuleLocation.d.ts +3 -0
- package/dist/serverModuleLocation.d.ts.map +1 -0
- package/dist/serverModuleLocation.js +12 -0
- package/dist/serverRpc.d.ts.map +1 -1
- package/dist/settings.d.ts +4 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +9 -0
- package/dist/slash.d.ts +2 -0
- package/dist/slash.d.ts.map +1 -0
- package/dist/slash.js +5 -0
- package/dist/spawnShellCommand.js +1 -1
- package/dist/standardSchema.js +1 -1
- package/dist/staticGen/getAppRoutes.js +3 -3
- package/dist/staticGen/staticGen.d.ts.map +1 -1
- package/dist/staticGen/staticGen.js +16 -14
- package/dist/staticGen/staticGenFunctions.js +1 -1
- package/dist/style/jssToCss.d.ts.map +1 -1
- package/dist/style/jssToCss.js +13 -11
- package/dist/style/styleContent.js +1 -1
- package/dist/style/styleContentSxy.js +8 -8
- package/dist/style/unusedStyles.d.ts.map +1 -1
- package/dist/style/unusedStyles.js +1 -1
- package/dist/sync/index.js +1 -1
- package/dist/syncServer/preload.js +1 -1
- package/dist/testing/host.js +12 -12
- package/dist/testing/hydrateTestApp.d.ts.map +1 -1
- package/dist/testing/hydrateTestApp.js +18 -18
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +11 -11
- package/dist/testing/installTestStyleProcessors.js +2 -2
- package/dist/testing/loadEnv.d.ts +4 -1
- package/dist/testing/loadEnv.d.ts.map +1 -1
- package/dist/testing/loadEnv.js +5 -5
- package/dist/testing/temp/componentPackageMock.js +5 -5
- package/dist/testing/temp/contentHtmlElements.js +2 -2
- package/dist/throwError.js +2 -2
- package/dist/timeProfiler.d.ts +5 -1
- package/dist/timeProfiler.d.ts.map +1 -1
- package/dist/timeProfiler.js +76 -24
- package/dist/todo.js +2 -1
- package/dist/update/integrateUpdateVdom.d.ts.map +1 -1
- package/dist/update/integrateUpdateVdom.js +44 -41
- package/dist/update/integrateUpdateVdomPrebuild.js +5 -5
- package/dist/validChildren.js +2 -2
- package/dist/warnOnFrameworkChange.js +2 -2
- package/dist/watch.js +2 -2
- package/dist/zones/react.js +3 -3
- package/package.json +27 -39
- package/types/modules.d.ts +2 -1
- package/vendor/babel-core.js +26 -0
- package/vendor/babel-parser.js +9 -0
- package/vendor/babel-plugin-syntax-import-assertions.js +50 -0
- package/vendor/babel-preset-react.js +872 -0
- package/vendor/babel-preset-typescript.js +26 -0
- package/vendor/babel-types.js +9 -0
- package/vendor/chalk-extensions.js +1994 -0
- package/vendor/chalk.js +647 -0
- package/vendor/chokidar.js +6889 -0
- package/vendor/chunk-1TN2rK3j.js +1218 -0
- package/vendor/chunk-1UuLTU0U.js +34 -0
- package/vendor/chunk-B_NeooyV.js +86 -0
- package/vendor/chunk-C12hSZn7.js +88 -0
- package/vendor/chunk-C3YkUGz5.js +19 -0
- package/vendor/chunk-C3fcZDjl.js +41964 -0
- package/vendor/chunk-C9FSKeSx.js +14603 -0
- package/vendor/chunk-CPArXGxa.js +14623 -0
- package/vendor/cjs-module-lexer.js +6 -0
- package/vendor/dotenv.js +412 -0
- package/vendor/express.js +40577 -0
- package/vendor/import-meta-resolve.js +2201 -0
- package/vendor/manifest.json +29 -0
- package/vendor/postcss.js +8546 -0
- package/vendor/serialize-javascript.js +293 -0
- package/vendor/sxy-lib-arrays.js +113 -0
- package/vendor/sxy-lib-object-copy.js +1781 -0
- package/vendor/sxy-lib-objects.js +156 -0
- package/vendor/sxy-lib-promises.js +47 -0
- package/vendor/sxy-package-investigator.js +202 -0
- package/vendor/valibot.js +7664 -0
- package/dist/Servers/hono/DevServerHono.d.ts +0 -2
- package/dist/Servers/hono/DevServerHono.d.ts.map +0 -1
- package/dist/Servers/hono/DevServerHono.js +0 -423
- package/dist/Servers/hono/ProdServerHono.d.ts +0 -2
- package/dist/Servers/hono/ProdServerHono.d.ts.map +0 -1
- package/dist/Servers/hono/ProdServerHono.js +0 -220
- package/dist/Servers/hono/TungstenServerHono.d.ts +0 -6
- package/dist/Servers/hono/TungstenServerHono.d.ts.map +0 -1
- package/dist/Servers/hono/TungstenServerHono.js +0 -36
- package/dist/api/ApiEndpointHono.d.ts +0 -3
- package/dist/api/ApiEndpointHono.d.ts.map +0 -1
- package/dist/api/ApiEndpointHono.js +0 -1
- package/dist/api/ApiRouteHono.d.ts +0 -7
- package/dist/api/ApiRouteHono.d.ts.map +0 -1
- package/dist/api/ApiRouteHono.js +0 -1
- package/dist/api/ApiRoutesHono.d.ts +0 -5
- package/dist/api/ApiRoutesHono.d.ts.map +0 -1
- package/dist/api/ApiRoutesHono.js +0 -1
- package/dist/api/getApiRoutesHono.d.ts +0 -6
- package/dist/api/getApiRoutesHono.d.ts.map +0 -1
- package/dist/api/getApiRoutesHono.js +0 -14
- package/dist/build/compilePackages.d.ts +0 -2
- package/dist/build/compilePackages.d.ts.map +0 -1
- package/dist/build/compilePackages.js +0 -89
- package/dist/build/findRequiredUserModule.d.ts +0 -2
- package/dist/build/findRequiredUserModule.d.ts.map +0 -1
- package/dist/build/findRequiredUserModule.js +0 -36
- package/dist/build/processPackage.d.ts +0 -4
- package/dist/build/processPackage.d.ts.map +0 -1
- package/dist/build/processPackage.js +0 -91
- package/dist/build/tallyBabelPlugins.d.ts +0 -3
- package/dist/build/tallyBabelPlugins.d.ts.map +0 -1
- package/dist/build/tallyBabelPlugins.js +0 -68
- package/dist/testing/loadEnvSetup.d.ts +0 -2
- package/dist/testing/loadEnvSetup.d.ts.map +0 -1
- package/dist/testing/loadEnvSetup.js +0 -7
- package/sxy-loader.config.js +0 -7
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ContentNodeIsComponent } from
|
|
2
|
-
import { booleanAttributeValue } from
|
|
3
|
-
import { $props, $type } from
|
|
4
|
-
import { htmlEntities } from
|
|
5
|
-
import { innerHtmlFromProps } from
|
|
6
|
-
import { throwError } from
|
|
7
|
-
import { validChildren } from
|
|
8
|
-
import { htmlMonoTags } from
|
|
9
|
-
import { htmlSelfClosableTags } from
|
|
10
|
-
import { htmlVoidTags } from
|
|
11
|
-
import { processProps } from
|
|
1
|
+
import { ContentNodeIsComponent } from '../ContentNode.js';
|
|
2
|
+
import { booleanAttributeValue } from '../booleanAttributeValue.js';
|
|
3
|
+
import { $props, $type } from '../contentNodeSymbols.js';
|
|
4
|
+
import { htmlEntities } from '../htmlEntities.js';
|
|
5
|
+
import { innerHtmlFromProps } from '../innerHtmlFromProps.js';
|
|
6
|
+
import { throwError } from '../throwError.js';
|
|
7
|
+
import { validChildren } from '../validChildren.js';
|
|
8
|
+
import { htmlMonoTags } from './htmlMonoTags.js';
|
|
9
|
+
import { htmlSelfClosableTags } from './htmlSelfClosableTags.js';
|
|
10
|
+
import { htmlVoidTags } from './htmlVoidTags.js';
|
|
11
|
+
import { processProps } from './processProps.js';
|
|
12
12
|
/**
|
|
13
13
|
* Serialises a content tree to HTML, synchronously.
|
|
14
14
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentToHtml.d.ts","sourceRoot":"","sources":["../../src/render/contentToHtml.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"contentToHtml.d.ts","sourceRoot":"","sources":["../../src/render/contentToHtml.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAIvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAG9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AAGrE,wBAAsB,aAAa,CAC/B,eAAe,EAAE,eAAe,EAAE,mBAAmB,EAAE,aAAa,EACpE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EACxC,MAAM,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,YAAY,EACnE,iBAAiB,GAAE,sBAAkC,EAAE,GAAG,UAAQ,GACnE,OAAO,CAAC,MAAM,CAAC,CAuDjB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { renderingNodeToHtml } from
|
|
2
|
-
import { TungstenError } from
|
|
3
|
-
import { RenderingNodeIsElement } from
|
|
4
|
-
import { contentTreeToRenderingTree } from
|
|
1
|
+
import { renderingNodeToHtml } from './renderingTreeToHtml.js';
|
|
2
|
+
import { TungstenError } from '../TungstenError.js';
|
|
3
|
+
import { RenderingNodeIsElement } from '../RenderingNode.js';
|
|
4
|
+
import { contentTreeToRenderingTree } from './contentTreeToRenderingTree.js';
|
|
5
5
|
import { cliWarn } from 'tungsten/cliOutput.js';
|
|
6
6
|
export async function contentToHtml(compilationInfo, clientImportAliases, content, instance, config, siteBasePathOverride, tungstenPublicEnv = undefined, dev = false) {
|
|
7
|
-
// const rootNode = { // eslint-disable-line
|
|
7
|
+
// const rootNode = { // eslint-disable-line @typescript-eslint/no-unsafe-type-assertion
|
|
8
8
|
// [$type]: RootComponentClass, // TypeScript needs some help to understand that { type: AnyComponentType }
|
|
9
9
|
// [$props]: {} // is equivalent to { type: ClassComponentTypeAny } | { type: FunctionComponentTypeAny } (type names simplified here)
|
|
10
10
|
// } as ContentNodeComponent
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { contentToHtml } from
|
|
1
|
+
import { contentToHtml } from './contentToHtml.js';
|
|
2
2
|
export async function contentToHtmlDev(compilationInfo, clientImportAliases, content, instance, config, tungstenPrivateEnv, siteBasePathOverride) {
|
|
3
3
|
return await contentToHtml(compilationInfo, clientImportAliases, content, instance, config, siteBasePathOverride, tungstenPrivateEnv, true);
|
|
4
4
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ContentNodeIsLiteral, ContentNodeElementIsComponent, ContentNodeElementIsHtml } from
|
|
2
|
-
import { validChildren } from
|
|
3
|
-
import { debug } from
|
|
4
|
-
import { throwError } from
|
|
5
|
-
import { $key, $props, $type } from
|
|
6
|
-
import { processHtmlNode } from
|
|
7
|
-
import { componentNodeToRenderingTree } from
|
|
1
|
+
import { ContentNodeIsLiteral, ContentNodeElementIsComponent, ContentNodeElementIsHtml } from '../ContentNode.js';
|
|
2
|
+
import { validChildren } from '../validChildren.js';
|
|
3
|
+
import { debug } from './debug.js';
|
|
4
|
+
import { throwError } from '../throwError.js';
|
|
5
|
+
import { $key, $props, $type } from '../contentNodeSymbols.js';
|
|
6
|
+
import { processHtmlNode } from './processHtmlNode.js';
|
|
7
|
+
import { componentNodeToRenderingTree } from './componentNodeToRenderingTree.js';
|
|
8
8
|
export async function contentTreeToRenderingTree(node, parentComponent, instance, noEscape) {
|
|
9
9
|
//console.log('completeTree node', node)
|
|
10
10
|
debug('completeTree node', node);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { makeRenderingNodeFunctionComponentFromContentNodeFunctionComponent } from
|
|
2
|
-
import { getStyledContentFromFunctionComponent } from
|
|
3
|
-
import { contentTreeToRenderingTree } from
|
|
4
|
-
import { instantiateFunctionComponent } from
|
|
1
|
+
import { makeRenderingNodeFunctionComponentFromContentNodeFunctionComponent } from '../RenderingNode.js';
|
|
2
|
+
import { getStyledContentFromFunctionComponent } from '../getStyledContentFromFunctionComponent.js';
|
|
3
|
+
import { contentTreeToRenderingTree } from './contentTreeToRenderingTree.js';
|
|
4
|
+
import { instantiateFunctionComponent } from './instantiateFunctionComponent.js';
|
|
5
5
|
import { setCurrentComponent } from 'tungsten/hooks/setCurrentComponent.js';
|
|
6
6
|
import { clearCurrentComponent } from 'tungsten/hooks/clearCurrentComponent.js';
|
|
7
7
|
export async function functionComponentNodeToRenderingTree(contentNode, parentComponent, instance, noEscape) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFunctionBodyAsString.d.ts","sourceRoot":"","sources":["../../src/render/getFunctionBodyAsString.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,UAcrD;AAID,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"getFunctionBodyAsString.d.ts","sourceRoot":"","sources":["../../src/render/getFunctionBodyAsString.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,UAcrD;AAID,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,IAAI,CAYlE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { throwError } from
|
|
1
|
+
import { throwError } from '../throwError.js';
|
|
2
2
|
export function getFunctionBodyAsString(func) {
|
|
3
3
|
const functionString = func.toString();
|
|
4
4
|
// if the function is a standard function
|
|
@@ -17,11 +17,8 @@ export function getFunctionBodyAsString(func) {
|
|
|
17
17
|
export function getArrowFunctionBody(func) {
|
|
18
18
|
// Not sure about this RegEx, probably from google
|
|
19
19
|
const regex = /^(?:\s*\(?(?:\s*\w*\s*,?\s*)*\)?\s*?=>\s*){?([\s\S]*)}?$/;
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
const firstPass = matches[1];
|
|
20
|
+
const firstPass = func.toString().match(regex)?.[1];
|
|
21
|
+
if (firstPass === undefined) return null;
|
|
25
22
|
// Needed because the RegExp doesn't handle the last '}'.
|
|
26
23
|
const secondPass = (firstPass.match(/{/g) || []).length === (firstPass.match(/}/g) || []).length - 1 ? firstPass.slice(0, firstPass.lastIndexOf('}')) : firstPass;
|
|
27
24
|
return secondPass;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $props, $routeData, $routeParams, $type } from
|
|
2
|
-
import { markRendered } from
|
|
1
|
+
import { $props, $routeData, $routeParams, $type } from '../contentNodeSymbols.js';
|
|
2
|
+
import { markRendered } from '../stateTracking.js';
|
|
3
3
|
//import type { TungstenComponent, TungstenComponentProps } from '../TungstenComponent.jsx'
|
|
4
4
|
export async function instantiateClassComponent(node, parentComponent = null, instance) {
|
|
5
5
|
const Component = node[$type];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ContentNodeComponentIsClassComponent } from
|
|
2
|
-
import { instantiateClassComponent } from
|
|
3
|
-
import { instantiateFunctionComponent } from
|
|
1
|
+
import { ContentNodeComponentIsClassComponent } from '../ContentNode.js';
|
|
2
|
+
import { instantiateClassComponent } from './instantiateClassComponent.js';
|
|
3
|
+
import { instantiateFunctionComponent } from './instantiateFunctionComponent.js';
|
|
4
4
|
export function instantiateComponent(node, parentComponent, instance) {
|
|
5
5
|
if (ContentNodeComponentIsClassComponent(node)) {
|
|
6
6
|
const component = instantiateClassComponent(node, parentComponent, instance);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FunctionElement } from
|
|
2
|
-
import { $props, $routeData, $routeParams, $type } from
|
|
1
|
+
import { FunctionElement } from '../FunctionComponentStandIn.js';
|
|
2
|
+
import { $props, $routeData, $routeParams, $type } from '../contentNodeSymbols.js';
|
|
3
3
|
export function instantiateFunctionComponent(node, parentComponent, instance) {
|
|
4
4
|
const componentStandIn = new FunctionElement(node[$type], node[$props], node[$routeParams], node[$routeData], instance, parentComponent);
|
|
5
5
|
if (parentComponent !== null) parentComponent.childComponents.push(componentStandIn);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { isDev } from
|
|
1
|
+
import { isDev } from '../isDev.js';
|
|
2
2
|
export const printComponentNamesInSource = isDev;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import serializeJavascript from 'serialize-javascript';
|
|
2
|
-
import { clientFolder, componentCssFolder, componentCssFile } from
|
|
3
|
-
import { addImportMap } from
|
|
4
|
-
import { $props, $type } from
|
|
2
|
+
import { clientFolder, componentCssFolder, componentCssFile } from '../settings.js';
|
|
3
|
+
import { addImportMap } from './addImportMap.js';
|
|
4
|
+
import { $props, $type } from '../contentNodeSymbols.js';
|
|
5
5
|
import { windowGlobalEnvStatement } from 'tungsten/env/windowGlobalEnvStatement.js';
|
|
6
|
-
import { frameworkDestLocation } from
|
|
7
|
-
import { devErrorPageClearRetryScript } from
|
|
6
|
+
import { frameworkDestLocation } from '../build/frameworkDestLocation.js';
|
|
7
|
+
import { devErrorPageClearRetryScript } from '../Servers/devErrorPageAutoRetry.js';
|
|
8
8
|
// process the tree returned by the root component
|
|
9
9
|
// doing things like ensuring there is are html and head elements,
|
|
10
10
|
// and adding necessary style and script tags
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { jssToCss } from
|
|
3
|
-
import { StringIsHtmlEvent } from
|
|
1
|
+
import { filter as objectFilter } from 'sxy-lib/objects.js';
|
|
2
|
+
import { jssToCss } from '../style/jssToCss.js';
|
|
3
|
+
import { StringIsHtmlEvent } from '../htmlEvents.js';
|
|
4
4
|
// Props that are instructions to Tungsten rather than HTML attributes.
|
|
5
5
|
//
|
|
6
6
|
// Event handlers are not listed here: they are recognised with
|
|
@@ -12,7 +12,7 @@ import { StringIsHtmlEvent } from "../htmlEvents.js";
|
|
|
12
12
|
const omitProps = ['ref', '__zoneHtml', '__opaque', 'dangerouslySetInnerHTML'];
|
|
13
13
|
//// !!!! We need to handle bind here
|
|
14
14
|
export function processProps(props) {
|
|
15
|
-
props =
|
|
15
|
+
props = objectFilter(props, key => {
|
|
16
16
|
return !omitProps.includes(key) && !StringIsHtmlEvent(key);
|
|
17
17
|
});
|
|
18
18
|
// if ('className' in props) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { bindableHtmlElements } from
|
|
2
|
-
import { cliWarn } from
|
|
3
|
-
import { debug } from
|
|
4
|
-
import { $props, $type } from
|
|
5
|
-
import { checkedValueToBoolean } from
|
|
6
|
-
import { markOptionSelected } from
|
|
1
|
+
import { bindableHtmlElements } from '../components/bindable/bindableHtmlElements.js';
|
|
2
|
+
import { cliWarn } from '../cliOutput.js';
|
|
3
|
+
import { debug } from './debug.js';
|
|
4
|
+
import { $props, $type } from '../contentNodeSymbols.js';
|
|
5
|
+
import { checkedValueToBoolean } from '../checkedValueToBoolean.js';
|
|
6
|
+
import { markOptionSelected } from '../markOptionSelected.js';
|
|
7
7
|
export function processRenderingNodeHtml(node, lastSelect) {
|
|
8
8
|
const props = node[$props];
|
|
9
9
|
debug('processRenderingNodeHtml', node);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderingTreeToHtml.d.ts","sourceRoot":"","sources":["../../src/render/renderingTreeToHtml.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAY7C,OAAO,EACH,KAAK,aAAa,EAAE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"renderingTreeToHtml.d.ts","sourceRoot":"","sources":["../../src/render/renderingTreeToHtml.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAY7C,OAAO,EACH,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAE7C,MAAM,qBAAqB,CAAA;AAU5B,wBAAsB,mBAAmB,CACrC,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAC1D,UAAU,EAAE,iBAAiB,GAAG,IAAI,GACrC,OAAO,CAAC,MAAM,CAAC,CA8JjB"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { reduce as objectReduce } from 'sxy-lib/objects.js';
|
|
2
|
-
import { booleanAttributeValue } from
|
|
3
|
-
import { processProps } from
|
|
4
|
-
import { htmlVoidTags } from
|
|
5
|
-
import { validRenderingChildren } from
|
|
6
|
-
import { htmlEntities } from
|
|
7
|
-
import { htmlSelfClosableTags } from
|
|
8
|
-
import { htmlMonoTags } from
|
|
9
|
-
import { debug } from
|
|
10
|
-
import { TungstenError } from
|
|
11
|
-
import { throwError } from
|
|
12
|
-
import { $props, $type } from
|
|
13
|
-
import { printComponentNamesInSource } from
|
|
14
|
-
import { RenderingNodeElementIsComponent, RenderingNodeElementIsHtml } from
|
|
15
|
-
import { processHead } from
|
|
16
|
-
import { processRenderingNodeHtml } from
|
|
17
|
-
import { innerHtmlFromProps } from
|
|
2
|
+
import { booleanAttributeValue } from '../booleanAttributeValue.js';
|
|
3
|
+
import { processProps } from './processProps.js';
|
|
4
|
+
import { htmlVoidTags } from './htmlVoidTags.js';
|
|
5
|
+
import { validRenderingChildren } from '../validChildren.js';
|
|
6
|
+
import { htmlEntities } from '../htmlEntities.js';
|
|
7
|
+
import { htmlSelfClosableTags } from './htmlSelfClosableTags.js';
|
|
8
|
+
import { htmlMonoTags } from './htmlMonoTags.js';
|
|
9
|
+
import { debug } from './debug.js';
|
|
10
|
+
import { TungstenError } from '../TungstenError.js';
|
|
11
|
+
import { throwError } from '../throwError.js';
|
|
12
|
+
import { $props, $type } from '../contentNodeSymbols.js';
|
|
13
|
+
import { printComponentNamesInSource } from './printComponentNameInSource.js';
|
|
14
|
+
import { RenderingNodeElementIsComponent, RenderingNodeElementIsHtml } from '../RenderingNode.js';
|
|
15
|
+
import { processHead } from './processHead.js';
|
|
16
|
+
import { processRenderingNodeHtml } from './processRenderingNodeHtml.js';
|
|
17
|
+
import { innerHtmlFromProps } from '../innerHtmlFromProps.js';
|
|
18
18
|
//// Maybe we should build the full tree before rendering
|
|
19
19
|
//// may need some merging with componentTreeToHtml
|
|
20
20
|
export async function renderingNodeToHtml(node, noEscape, headData, lastSelect) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rootToHtml.d.ts","sourceRoot":"","sources":["../../src/render/rootToHtml.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"rootToHtml.d.ts","sourceRoot":"","sources":["../../src/render/rootToHtml.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AAGrE,wBAAsB,UAAU,CAC5B,eAAe,EAAE,eAAe,EAAE,mBAAmB,EAAE,aAAa,EACpE,kBAAkB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,uBAAuB,EACzF,oBAAoB,EAAE,YAAY,EAAE,iBAAiB,GAAE,sBAAkC,EACzF,GAAG,UAAQ,GACZ,OAAO,CAAC,MAAM,CAAC,CAWjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $props, $type } from
|
|
2
|
-
import { contentToHtml } from
|
|
1
|
+
import { $props, $type } from '../contentNodeSymbols.js';
|
|
2
|
+
import { contentToHtml } from './contentToHtml.js';
|
|
3
3
|
export async function rootToHtml(compilationInfo, clientImportAliases, RootComponentClass, instance, config, siteBasePathOverride, tungstenPublicEnv = undefined, dev = false) {
|
|
4
4
|
const rootNode = {
|
|
5
5
|
[$type]: RootComponentClass,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { rootToHtml } from
|
|
1
|
+
import { rootToHtml } from './rootToHtml.js';
|
|
2
2
|
export async function rootToHtmlDev(compilationInfo, clientImportAliases, RootComponentClass, instance, config, tungstenPrivateEnv, siteBasePathOverride) {
|
|
3
3
|
return await rootToHtml(compilationInfo, clientImportAliases, RootComponentClass, instance, config, siteBasePathOverride, tungstenPrivateEnv, true);
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TungstenError } from
|
|
2
|
-
import { _fetchPromise } from
|
|
1
|
+
import { TungstenError } from '../../TungstenError.js';
|
|
2
|
+
import { _fetchPromise } from './_fetchPromise.js';
|
|
3
3
|
const method = 'DELETE';
|
|
4
4
|
export async function httpDelete(url, data, extras) {
|
|
5
5
|
const _fetch = await _fetchPromise;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TungstenError } from
|
|
2
|
-
import { _fetchPromise } from
|
|
3
|
-
import { paramsObjectToParamsString } from
|
|
1
|
+
import { TungstenError } from '../../TungstenError.js';
|
|
2
|
+
import { _fetchPromise } from './_fetchPromise.js';
|
|
3
|
+
import { paramsObjectToParamsString } from './paramsObjectToParamsString.js';
|
|
4
4
|
const method = 'GET';
|
|
5
5
|
export async function get(url, data, extras) {
|
|
6
6
|
const _fetch = await _fetchPromise;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TungstenError } from
|
|
2
|
-
import { _fetchPromise } from
|
|
1
|
+
import { TungstenError } from '../../TungstenError.js';
|
|
2
|
+
import { _fetchPromise } from './_fetchPromise.js';
|
|
3
3
|
const method = 'PATCH';
|
|
4
4
|
export async function patch(url, data, extras) {
|
|
5
5
|
const _fetch = await _fetchPromise;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TungstenError } from
|
|
2
|
-
import { _fetchPromise } from
|
|
1
|
+
import { TungstenError } from '../../TungstenError.js';
|
|
2
|
+
import { _fetchPromise } from './_fetchPromise.js';
|
|
3
3
|
const method = 'POST';
|
|
4
4
|
export async function post(url, data, extras) {
|
|
5
5
|
const _fetch = await _fetchPromise;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TungstenError } from
|
|
2
|
-
import { _fetchPromise } from
|
|
1
|
+
import { TungstenError } from '../../TungstenError.js';
|
|
2
|
+
import { _fetchPromise } from './_fetchPromise.js';
|
|
3
3
|
const method = 'PUT';
|
|
4
4
|
export async function put(url, data, extras) {
|
|
5
5
|
const _fetch = await _fetchPromise;
|
package/dist/requests/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { get } from
|
|
2
|
-
export { post } from
|
|
3
|
-
export { put } from
|
|
4
|
-
export { patch } from
|
|
5
|
-
export { httpDelete, httpDelete as deleteHttp } from
|
|
1
|
+
export { get } from './fetch/get.js';
|
|
2
|
+
export { post } from './fetch/post.js';
|
|
3
|
+
export { put } from './fetch/put.js';
|
|
4
|
+
export { patch } from './fetch/patch.js';
|
|
5
|
+
export { httpDelete, httpDelete as deleteHttp } from './fetch/delete.js';
|
|
@@ -2,8 +2,8 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
2
2
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
3
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
4
|
import { TungstenSimpleInternalStoreComponent } from "../Components.js";
|
|
5
|
-
import { ContentNodeIsComponent } from
|
|
6
|
-
import { $props, $routeData, $routeParams } from
|
|
5
|
+
import { ContentNodeIsComponent } from '../ContentNode.js';
|
|
6
|
+
import { $props, $routeData, $routeParams } from '../contentNodeSymbols.js';
|
|
7
7
|
export class MatchedRoute extends TungstenSimpleInternalStoreComponent {
|
|
8
8
|
constructor(...args) {
|
|
9
9
|
super(...args);
|
package/dist/routing/Route.js
CHANGED
|
@@ -36,7 +36,7 @@ export {};
|
|
|
36
36
|
// __T_routeParams: routeParams,
|
|
37
37
|
// __T_routeData: routeData,
|
|
38
38
|
// __T_location: location
|
|
39
|
-
// } = this.props as InternalRouteProps // eslint-disable-line
|
|
39
|
+
// } = this.props as InternalRouteProps // eslint-disable-line @typescript-eslint/no-unsafe-type-assertion -- using the type assertion to hide internal workings from users
|
|
40
40
|
// if (typeof children === 'function') {
|
|
41
41
|
// const r = children(routeParams, routeData, location)
|
|
42
42
|
// //console.log('r1', r)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteDataFunction.type.d.ts","sourceRoot":"","sources":["../../src/routing/RouteDataFunction.type.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,EAAE,QAAQ,IACvD,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"RouteDataFunction.type.d.ts","sourceRoot":"","sources":["../../src/routing/RouteDataFunction.type.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,EAAE,QAAQ,IACvD,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,KAClE,OAAO,CAAC,QAAQ,GAAG,eAAe,GAAG,WAAW,CAAC,CAAA"}
|
|
@@ -26,7 +26,7 @@ export {};
|
|
|
26
26
|
// ] satisfies [string, unknown][]
|
|
27
27
|
// type O = ArrayToObject<typeof a>
|
|
28
28
|
// function makeRoutes<Routes extends readonly RouteWithSafeParams<any, any>[]>(routes: Routes): Expand<RoutesArrayToObject<Routes>> {
|
|
29
|
-
// return arrayMapToObject(routes, (route => [route.path, route])) as RoutesArrayToObject<Routes> // eslint-disable-line
|
|
29
|
+
// return arrayMapToObject(routes, (route => [route.path, route])) as RoutesArrayToObject<Routes> // eslint-disable-line @typescript-eslint/no-unsafe-type-assertion
|
|
30
30
|
// }
|
|
31
31
|
// // function makeRoute<Path extends string>(path: Path, route: RouteWithSafeParams<Path, any>): [Path, RouteWithSafeParams<Path, any>] {
|
|
32
32
|
// // return [path, route]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebRedirect.d.ts","sourceRoot":"","sources":["../../src/routing/WebRedirect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"WebRedirect.d.ts","sourceRoot":"","sources":["../../src/routing/WebRedirect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,MAAM,MAAM,GAAG,GAAG,MAAM,MAAM,MAAM,EAAE,GAAG,MAAM,CAAA;AAErD,qBAAa,WAAW;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,YAAY,CAAA;gBACN,EAAE,EAAE,MAAM,EAAE,IAAI,GAAE,YAAkB;CAInD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mapToObject } from 'sxy-lib/arrays.js';
|
|
2
2
|
export function compareRequestToRegex(request, regex, keys) {
|
|
3
3
|
const matches = regex.exec(request);
|
|
4
4
|
const success = matches !== null;
|
|
5
|
-
const params = success ?
|
|
5
|
+
const params = success ? mapToObject(keys, (key, index) => [key, matches[index + 1]]) : mapToObject(keys, key => [key, undefined]);
|
|
6
6
|
return {
|
|
7
7
|
success,
|
|
8
8
|
params: params // working around the TS issues with records/mapped types. [key: string]: A and [Key in Type]?: A are inconsistent, second turns A into A | undefined. come back to this later
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { throwError } from
|
|
1
|
+
import { throwError } from '../throwError.js';
|
|
2
2
|
function debug(...texts) {
|
|
3
3
|
//console.log(...texts)
|
|
4
4
|
}
|
|
@@ -70,7 +70,7 @@ export function getPathPriority(path) {
|
|
|
70
70
|
}
|
|
71
71
|
case '/':
|
|
72
72
|
{
|
|
73
|
-
if (
|
|
73
|
+
if (paramOpenBrackets === 0) {
|
|
74
74
|
mode = 'search';
|
|
75
75
|
debug('mode: search');
|
|
76
76
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { compareRequestToRegex } from
|
|
2
|
-
import { patternToRegex } from
|
|
3
|
-
import { splitRequest } from
|
|
1
|
+
import { compareRequestToRegex } from './compareRequestToRegex.js';
|
|
2
|
+
import { patternToRegex } from './patternToRegex.js';
|
|
3
|
+
import { splitRequest } from './splitRequest.js';
|
|
4
4
|
export function matchPath(pattern, request) {
|
|
5
5
|
// pathToRegexp(path, keys?, options?)
|
|
6
6
|
// match(path)
|
package/dist/server.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './auth/index.js';
|
|
2
|
+
export * from './cliOutput.js';
|
|
3
|
+
export * from './spawnShellCommand.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverModuleLocation.d.ts","sourceRoot":"","sources":["../src/serverModuleLocation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAMrC,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAIlH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { existsSync } from 'fs';
|
|
2
|
+
import { join } from 'path';
|
|
3
|
+
import { fixExtension } from './fixExtension.js';
|
|
4
|
+
import { devRawBuildFolder, prodRawBuildFolder } from './settings.js';
|
|
5
|
+
// Where a server-side module the config names (server middleware) is loaded from: the raw
|
|
6
|
+
// pipeline's compiled copy when there is one, else the file in codeDir as before - an app that
|
|
7
|
+
// emits its own server code still has it there.
|
|
8
|
+
export function serverModuleLocation(projectDir, mode, codeLocation, relFile) {
|
|
9
|
+
const rawFolder = mode === 'dev' ? devRawBuildFolder : prodRawBuildFolder;
|
|
10
|
+
const raw = join(projectDir, rawFolder, fixExtension(relFile));
|
|
11
|
+
return existsSync(raw) ? raw : join(codeLocation, relFile);
|
|
12
|
+
}
|
package/dist/serverRpc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverRpc.d.ts","sourceRoot":"","sources":["../src/serverRpc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"serverRpc.d.ts","sourceRoot":"","sources":["../src/serverRpc.ts"],"names":[],"mappings":"AAEA,wBAAgB,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,kBAAkB,CAEtG"}
|
package/dist/settings.d.ts
CHANGED
|
@@ -4,10 +4,13 @@ export declare const devBuildOuterFolder = ".tungsten/dev";
|
|
|
4
4
|
export declare const devBuildFolder = ".tungsten/dev/code";
|
|
5
5
|
export declare const prodBuildFolder = ".tungsten/prod";
|
|
6
6
|
export declare const prodBuildCodeFolder = ".tungsten/prod/code";
|
|
7
|
+
export declare const devRawBuildFolder = ".tungsten/dev-raw";
|
|
8
|
+
export declare const prodRawBuildFolder = ".tungsten/prod-raw";
|
|
7
9
|
export declare const bundleFolder = ".tungsten/prod/.bundle";
|
|
8
10
|
export declare const staticSiteFolder = ".tungsten/staticSite";
|
|
9
11
|
export declare const packagesCacheFolder = ".tungsten/packagesCache";
|
|
10
12
|
export declare const packagesCacheInfoName = "info.json";
|
|
13
|
+
export declare const stylesCacheFolder = ".tungsten/stylesCache";
|
|
11
14
|
export declare const serverFolder = "server";
|
|
12
15
|
export declare const clientFolder = ".client";
|
|
13
16
|
export declare const staticFolder = ".static";
|
|
@@ -19,6 +22,7 @@ export declare const frameworkCssFolder = ".tungstenCss";
|
|
|
19
22
|
export declare const frameworkCssFile = "tungsten.css";
|
|
20
23
|
export declare const packagesFolder = ".packages";
|
|
21
24
|
export declare const unusedStyleReporting: boolean;
|
|
25
|
+
export declare const defaultBrowserTargets = "since 2020";
|
|
22
26
|
export declare const packageName = "tungsten";
|
|
23
27
|
export declare const packageNameCapitalized = "Tungsten";
|
|
24
28
|
export declare const frameworkClientFolder = "_client";
|
package/dist/settings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,cAAc,CAAA;AACtC,eAAO,MAAM,gBAAgB,SAAS,CAAA;AACtC,eAAO,MAAM,mBAAmB,kBAAuB,CAAA;AACvD,eAAO,MAAM,cAAc,uBAA+C,CAAA;AAC1E,eAAO,MAAM,eAAe,mBAAwB,CAAA;AACpD,eAAO,MAAM,mBAAmB,wBAA2C,CAAA;
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,cAAc,CAAA;AACtC,eAAO,MAAM,gBAAgB,SAAS,CAAA;AACtC,eAAO,MAAM,mBAAmB,kBAAuB,CAAA;AACvD,eAAO,MAAM,cAAc,uBAA+C,CAAA;AAC1E,eAAO,MAAM,eAAe,mBAAwB,CAAA;AACpD,eAAO,MAAM,mBAAmB,wBAA2C,CAAA;AAG3E,eAAO,MAAM,iBAAiB,sBAA2B,CAAA;AACzD,eAAO,MAAM,kBAAkB,uBAA4B,CAAA;AAC3D,eAAO,MAAM,YAAY,2BAA+B,CAAA;AACxD,eAAO,MAAM,gBAAgB,yBAA8B,CAAA;AAC3D,eAAO,MAAM,mBAAmB,4BAAiC,CAAA;AACjE,eAAO,MAAM,qBAAqB,cAAc,CAAA;AAEhD,eAAO,MAAM,iBAAiB,0BAA+B,CAAA;AAC7D,eAAO,MAAM,YAAY,WAAW,CAAA;AAEpC,eAAO,MAAM,YAAY,YAAY,CAAA;AACrC,eAAO,MAAM,YAAY,YAAY,CAAA;AACrC,eAAO,MAAM,YAAY,YAAY,CAAA;AACrC,eAAO,MAAM,YAAY,YAAY,CAAA;AACrC,eAAO,MAAM,kBAAkB,kBAAkB,CAAA;AACjD,eAAO,MAAM,gBAAgB,aAAa,CAAA;AAE1C,eAAO,MAAM,kBAAkB,iBAAiB,CAAA;AAChD,eAAO,MAAM,gBAAgB,iBAAiB,CAAA;AAC9C,eAAO,MAAM,cAAc,cAAc,CAAA;AAEzC,eAAO,MAAM,oBAAoB,EAAE,OAAe,CAAA;AAIlD,eAAO,MAAM,qBAAqB,eAAe,CAAA;AAEjD,eAAO,MAAM,WAAW,aAAa,CAAA;AACrC,eAAO,MAAM,sBAAsB,aAAa,CAAA;AAChD,eAAO,MAAM,qBAAqB,YAAY,CAAA;AAC9C,eAAO,MAAM,mBAAmB,SAAS,CAAA"}
|
package/dist/settings.js
CHANGED
|
@@ -4,10 +4,16 @@ export const devBuildOuterFolder = `${buildFolder}/dev`;
|
|
|
4
4
|
export const devBuildFolder = `${devBuildOuterFolder}/${buildCodeSubPath}`;
|
|
5
5
|
export const prodBuildFolder = `${buildFolder}/prod`;
|
|
6
6
|
export const prodBuildCodeFolder = `${prodBuildFolder}/${buildCodeSubPath}`;
|
|
7
|
+
// the raw (node-side) compile of the sources rawDirs/rawPatterns select: a tree of its own beside
|
|
8
|
+
// the served build, since a file can be compiled both ways
|
|
9
|
+
export const devRawBuildFolder = `${buildFolder}/dev-raw`;
|
|
10
|
+
export const prodRawBuildFolder = `${buildFolder}/prod-raw`;
|
|
7
11
|
export const bundleFolder = `${prodBuildFolder}/.bundle`;
|
|
8
12
|
export const staticSiteFolder = `${buildFolder}/staticSite`;
|
|
9
13
|
export const packagesCacheFolder = `${buildFolder}/packagesCache`;
|
|
10
14
|
export const packagesCacheInfoName = `info.json`;
|
|
15
|
+
// component style blocks' sass output, a json record per module - survives clean('dev')
|
|
16
|
+
export const stylesCacheFolder = `${buildFolder}/stylesCache`;
|
|
11
17
|
export const serverFolder = 'server';
|
|
12
18
|
//export const clientFolder = 'client'
|
|
13
19
|
export const clientFolder = '.client';
|
|
@@ -21,6 +27,9 @@ export const frameworkCssFolder = '.tungstenCss';
|
|
|
21
27
|
export const frameworkCssFile = 'tungsten.css';
|
|
22
28
|
export const packagesFolder = '.packages';
|
|
23
29
|
export const unusedStyleReporting = false;
|
|
30
|
+
// the production bundle's browser floor when the config sets no `targets`: a browserslist query
|
|
31
|
+
// for every browser version released since 2020. Dev applies no floor at all.
|
|
32
|
+
export const defaultBrowserTargets = 'since 2020';
|
|
24
33
|
export const packageName = 'tungsten';
|
|
25
34
|
export const packageNameCapitalized = 'Tungsten';
|
|
26
35
|
export const frameworkClientFolder = '_client';
|
package/dist/slash.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slash.d.ts","sourceRoot":"","sources":["../src/slash.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGlD"}
|
package/dist/slash.js
ADDED
|
@@ -13,7 +13,7 @@ export function spawnShellCommand(command, extras) {
|
|
|
13
13
|
if (route === 'whole-command') {
|
|
14
14
|
return spawn(command, options);
|
|
15
15
|
} else {
|
|
16
|
-
const parts = command.split(' '); // eslint-disable-line
|
|
16
|
+
const parts = command.split(' '); // eslint-disable-line @typescript-eslint/no-unsafe-type-assertion -- split returns an array of length at least 1
|
|
17
17
|
// if (process.platform === 'win32') {
|
|
18
18
|
// parts[0] += '.cmd'
|
|
19
19
|
// }
|
package/dist/standardSchema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Standard Schema v1 (https://standardschema.dev), inlined rather than taken from
|
|
2
2
|
// @standard-schema/spec so nothing new lands in tungsten's shipped types. Only the output type is
|
|
3
3
|
// parameterised - the input is always unknown, whether it is process.env or a user's config file.
|
|
4
|
-
import { throwError } from
|
|
4
|
+
import { throwError } from './throwError.js';
|
|
5
5
|
// safeParse-shaped, but awaited: the spec lets a schema validate asynchronously
|
|
6
6
|
export async function validate(schema, value) {
|
|
7
7
|
const result = await schema['~standard'].validate(value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { join } from 'path';
|
|
2
|
-
import { fixExtension } from
|
|
3
|
-
import { TungstenError } from
|
|
4
|
-
import { cliLog } from
|
|
2
|
+
import { fixExtension } from '../fixExtension.js';
|
|
3
|
+
import { TungstenError } from '../TungstenError.js';
|
|
4
|
+
import { cliLog } from '../cliOutput.js';
|
|
5
5
|
// prod: const appRoutes: AppRoutes = await getRoutes(this.compilationInfo, this.config)
|
|
6
6
|
// this file is outdated and may not work correctly
|
|
7
7
|
// should compare this to the functions used by Servers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staticGen.d.ts","sourceRoot":"","sources":["../../src/staticGen/staticGen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"staticGen.d.ts","sourceRoot":"","sources":["../../src/staticGen/staticGen.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAiBhD,wBAAsB,SAAS,CAAC,SAAS,EAAE,SAAS,iBA+MnD"}
|