tungsten 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/.build-complete +1 -1
  2. package/dist/Components.d.ts +14 -6
  3. package/dist/Components.d.ts.map +1 -1
  4. package/dist/Components.js +67 -23
  5. package/dist/DomPointer.js +1 -1
  6. package/dist/DomRegion.js +2 -2
  7. package/dist/Framework.js +1 -1
  8. package/dist/FunctionComponentStandIn.d.ts +4 -0
  9. package/dist/FunctionComponentStandIn.d.ts.map +1 -1
  10. package/dist/FunctionComponentStandIn.js +11 -1
  11. package/dist/Json.type.d.ts.map +1 -1
  12. package/dist/Servers/DevServer.js +1 -1
  13. package/dist/Servers/MatchedRouteInfo.d.ts +1 -1
  14. package/dist/Servers/MatchedRouteInfo.d.ts.map +1 -1
  15. package/dist/Servers/ProdServer.js +2 -3
  16. package/dist/Servers/initStores.d.ts.map +1 -1
  17. package/dist/Servers/loadEnvsDev.js +2 -2
  18. package/dist/Store/makeStore.d.ts.map +1 -1
  19. package/dist/Store/makeStore.js +7 -3
  20. package/dist/api/ApiMethod.type.d.ts +2 -0
  21. package/dist/api/ApiMethod.type.d.ts.map +1 -0
  22. package/dist/api/ApiRoute.d.ts +2 -2
  23. package/dist/api/ApiRoute.d.ts.map +1 -1
  24. package/dist/babelPlugins/BabelExtractComponentStylesheet.d.ts +2 -2
  25. package/dist/babelPlugins/BabelExtractComponentStylesheet.d.ts.map +1 -1
  26. package/dist/babelPlugins/BabelExtractComponentStylesheet.js +1 -1
  27. package/dist/babelPlugins/BabelTransformBindDirect.d.ts.map +1 -1
  28. package/dist/babelPlugins/BabelTransformBindDirect.js +2 -4
  29. package/dist/babelPlugins/BabelTransformBindVar.js +2 -3
  30. package/dist/babelPlugins/BabelTransformDocInit.js +1 -1
  31. package/dist/babelPlugins/BabelTransformPackageImports.d.ts +1 -0
  32. package/dist/babelPlugins/BabelTransformPackageImports.d.ts.map +1 -1
  33. package/dist/babelPlugins/BabelTransformPackageImports.js +51 -69
  34. package/dist/babelPlugins/BabelTypes.d.ts.map +1 -1
  35. package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsCjs.d.ts.map +1 -1
  36. package/dist/babelPlugins/transformPackageImports/BabelTransformDependencyImportsEsm.d.ts.map +1 -1
  37. package/dist/bin/commands/build.js +0 -1
  38. package/dist/bin/commands/compile.js +4 -4
  39. package/dist/build/babel.user.common.config.d.ts +2 -1
  40. package/dist/build/babel.user.common.config.d.ts.map +1 -1
  41. package/dist/build/babel.user.common.config.js +16 -10
  42. package/dist/build/compileJavascript.d.ts.map +1 -1
  43. package/dist/build/compileJavascript.js +3 -4
  44. package/dist/build/compileStyles.d.ts.map +1 -1
  45. package/dist/build/compileStyles.js +7 -3
  46. package/dist/build/createClientFiles.js +2 -3
  47. package/dist/build/createInstanceConfigFile.js +1 -1
  48. package/dist/build/devBundle.rollup.config.js +6 -6
  49. package/dist/build/frameworkDestLocation.d.ts.map +1 -1
  50. package/dist/build/frameworkDestLocation.js +5 -2
  51. package/dist/build/makeBabelRawConfig.js +1 -1
  52. package/dist/build/makeBabelUserProdConfig.js +2 -4
  53. package/dist/build/packageIdentifier.d.ts +6 -0
  54. package/dist/build/packageIdentifier.d.ts.map +1 -0
  55. package/dist/build/packageIdentifier.js +19 -0
  56. package/dist/build/rollup.user.prod.config.js +12 -12
  57. package/dist/build/sassImportParser.js +0 -3
  58. package/dist/clone.js +1 -3
  59. package/dist/compat/types.d.ts.map +1 -1
  60. package/dist/componentProxyHandlers.js +1 -1
  61. package/dist/components/NativeHtml.d.ts +1 -1
  62. package/dist/components/NativeHtml.d.ts.map +1 -1
  63. package/dist/components/Protected.d.ts +1 -1
  64. package/dist/components/Protected.d.ts.map +1 -1
  65. package/dist/components/Stylesheet.js +0 -1
  66. package/dist/components/bindable/BindableInputTyped.d.ts.map +1 -1
  67. package/dist/components/library/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  68. package/dist/components/library/RichTextEditor/RichTextEditor.js +3 -3
  69. package/dist/createRef.d.ts +1 -1
  70. package/dist/createRef.d.ts.map +1 -1
  71. package/dist/createRef.js +1 -1
  72. package/dist/env/getEnvSchemas.d.ts +3 -4
  73. package/dist/env/getEnvSchemas.d.ts.map +1 -1
  74. package/dist/env/registerEnvSchemas.d.ts +4 -2
  75. package/dist/env/registerEnvSchemas.d.ts.map +1 -1
  76. package/dist/foreach.d.ts.map +1 -1
  77. package/dist/frameworkConfigSchema.js +1 -3
  78. package/dist/helpers/forwardingFetch.d.ts +3 -0
  79. package/dist/helpers/forwardingFetch.d.ts.map +1 -0
  80. package/dist/helpers/forwardingFetch.js +14 -0
  81. package/dist/helpers/index.d.ts +2 -0
  82. package/dist/helpers/index.d.ts.map +1 -1
  83. package/dist/helpers/index.js +3 -1
  84. package/dist/helpers/perRequest.d.ts +3 -0
  85. package/dist/helpers/perRequest.d.ts.map +1 -0
  86. package/dist/helpers/perRequest.js +17 -0
  87. package/dist/hmr/instanceRegistry.js +2 -2
  88. package/dist/hooks/useCallback.d.ts.map +1 -1
  89. package/dist/hydrate/hydrate.d.ts +1 -2
  90. package/dist/hydrate/hydrate.d.ts.map +1 -1
  91. package/dist/hydrate/hydrate.js +1 -3
  92. package/dist/hydrate/reconcileHydratedAttributes.js +1 -1
  93. package/dist/importDevModuleWithRetry.js +1 -1
  94. package/dist/index.d.ts +1 -0
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +4 -0
  97. package/dist/indexInner.d.ts +1 -2
  98. package/dist/indexInner.d.ts.map +1 -1
  99. package/dist/logAndReturn.d.ts.map +1 -1
  100. package/dist/markOptionSelected.js +1 -1
  101. package/dist/mutatingFunctions.js +0 -3
  102. package/dist/postcssPlugins/TransformCssNames.js +2 -2
  103. package/dist/render/addImportMap.js +0 -1
  104. package/dist/requests/fetch/delete.d.ts +2 -1
  105. package/dist/requests/fetch/delete.d.ts.map +1 -1
  106. package/dist/requests/fetch/delete.js +7 -7
  107. package/dist/requests/fetch/get.d.ts.map +1 -1
  108. package/dist/requests/fetch/get.js +4 -6
  109. package/dist/requests/fetch/mergeFetchInit.d.ts +2 -0
  110. package/dist/requests/fetch/mergeFetchInit.d.ts.map +1 -0
  111. package/dist/requests/fetch/mergeFetchInit.js +17 -0
  112. package/dist/requests/fetch/patch.d.ts.map +1 -1
  113. package/dist/requests/fetch/patch.js +4 -6
  114. package/dist/requests/fetch/post.d.ts.map +1 -1
  115. package/dist/requests/fetch/post.js +4 -6
  116. package/dist/requests/fetch/put.d.ts.map +1 -1
  117. package/dist/requests/fetch/put.js +4 -6
  118. package/dist/routing/ParamsFromPath.d.ts.map +1 -1
  119. package/dist/routing/RouteType.d.ts +1 -8
  120. package/dist/routing/RouteType.d.ts.map +1 -1
  121. package/dist/routing/RouteTypes.d.ts +11 -0
  122. package/dist/routing/RouteTypes.d.ts.map +1 -1
  123. package/dist/routing/Routes.d.ts +7 -8
  124. package/dist/routing/Routes.d.ts.map +1 -1
  125. package/dist/routing/__fluentRouteBuilder.d.ts +80 -0
  126. package/dist/routing/__fluentRouteBuilder.d.ts.map +1 -0
  127. package/dist/routing/__fluentRouteBuilder.js +183 -0
  128. package/dist/routing/__fluentRoutes.d.ts +2 -0
  129. package/dist/routing/__fluentRoutes.d.ts.map +1 -0
  130. package/dist/routing/__fluentRoutes.js +59 -0
  131. package/dist/staticGen/staticGen.d.ts.map +1 -1
  132. package/dist/testing/host.d.ts +1 -1
  133. package/dist/testing/host.d.ts.map +1 -1
  134. package/dist/testing/host.js +1 -2
  135. package/dist/testing/hydrateTestApp.js +5 -9
  136. package/dist/testing/normalize.d.ts +2 -0
  137. package/dist/testing/normalize.d.ts.map +1 -0
  138. package/dist/testing/normalize.js +1 -0
  139. package/dist/update/guardedUpdate.d.ts +9 -0
  140. package/dist/update/guardedUpdate.d.ts.map +1 -0
  141. package/dist/update/guardedUpdate.js +20 -0
  142. package/dist/update/integrateUpdateVdom.js +2 -2
  143. package/dist/zones/react.d.ts.map +1 -1
  144. package/dist/zones/react.js +2 -2
  145. package/package.json +7 -10
  146. package/types/env.d.ts +11 -11
  147. package/types/index.d.ts +7 -3
  148. package/types/jsx/html.d.ts +5 -5
  149. package/types/jsx/html.events.d.ts +202 -200
  150. package/types/jsx/html.global.d.ts +150 -150
  151. package/types/jsx/html.values.d.ts +29 -29
  152. package/types/jsx/jsx.d.ts +16 -5
  153. package/vendor/babel-core.js +13 -8
  154. package/vendor/babel-parser.js +5 -1
  155. package/vendor/babel-plugin-syntax-import-assertions.js +5 -1
  156. package/vendor/babel-preset-react.js +13 -8
  157. package/vendor/babel-preset-typescript.js +13 -8
  158. package/vendor/babel-types.js +5 -1
  159. package/vendor/chalk-extensions.js +6 -161
  160. package/vendor/chalk.js +4 -0
  161. package/vendor/chokidar.js +17 -13
  162. package/vendor/{chunk-B_NeooyV.js → chunk-BSJqV47f.js} +4 -0
  163. package/vendor/{chunk-1UuLTU0U.js → chunk-BYvDIO7e.js} +4 -0
  164. package/vendor/chunk-BfcfwwoF.js +15 -0
  165. package/vendor/{chunk-CPArXGxa.js → chunk-BiUcnLhT.js} +4 -0
  166. package/vendor/chunk-Bu8ZRE-c.js +179 -0
  167. package/vendor/chunk-CmnhIuzX.js +167 -0
  168. package/vendor/chunk-Cqrj-Zqr.js +8579 -0
  169. package/vendor/{chunk-1TN2rK3j.js → chunk-D2EnpcLg.js} +7 -3
  170. package/vendor/{chunk-C9FSKeSx.js → chunk-DHmjZ22y.js} +4 -0
  171. package/vendor/{chunk-C3YkUGz5.js → chunk-Hy-cCmu-.js} +4 -0
  172. package/vendor/{chunk-C12hSZn7.js → chunk-Lqa6rV_r.js} +4 -0
  173. package/vendor/{chunk-C3fcZDjl.js → chunk-OUnVY4Wm.js} +24 -191
  174. package/vendor/cjs-module-lexer.js +4 -0
  175. package/vendor/dotenv.js +10 -6
  176. package/vendor/express.js +30 -31
  177. package/vendor/import-meta-resolve.js +4 -0
  178. package/vendor/manifest.json +3 -2
  179. package/vendor/postcss.js +9 -8544
  180. package/vendor/precinct.js +326959 -0
  181. package/vendor/serialize-javascript.js +4 -0
  182. package/vendor/sxy-lib-arrays.js +4 -0
  183. package/vendor/sxy-lib-object-copy.js +5 -1
  184. package/vendor/sxy-lib-objects.js +4 -0
  185. package/vendor/sxy-lib-promises.js +4 -0
  186. package/vendor/sxy-package-investigator.js +7 -3
  187. package/vendor/valibot.js +4 -0
  188. package/dist/.tsbuildinfo +0 -1
  189. package/dist/api/Method.d.ts +0 -2
  190. package/dist/api/Method.d.ts.map +0 -1
  191. /package/dist/api/{Method.js → ApiMethod.type.js} +0 -0
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  import require$$0 from 'crypto';
4
8
 
5
9
  var randombytes;
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  var arrays = {};
4
8
 
5
9
  var hasRequiredArrays;
@@ -1,6 +1,10 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
3
- import { c as commonjsGlobal } from './chunk-1UuLTU0U.js';
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
7
+ import { c as commonjsGlobal } from './chunk-BYvDIO7e.js';
4
8
 
5
9
  var dist = {};
6
10
 
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  var objects = {};
4
8
 
5
9
  var hasRequiredObjects;
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  var promises = {};
4
8
 
5
9
  var hasRequiredPromises;
@@ -1,8 +1,12 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  import require$$2 from 'url';
4
8
  import require$$0 from 'path';
5
- import require$$0$1 from 'fs';
9
+ import require$$0__default from 'fs';
6
10
 
7
11
  var dist = {};
8
12
 
@@ -16,7 +20,7 @@ function requireFindPackageJson () {
16
20
  hasRequiredFindPackageJson = 1;
17
21
 
18
22
  var path = require$$0
19
- , fs = require$$0$1;
23
+ , fs = require$$0__default;
20
24
 
21
25
  /**
22
26
  * Attempt to somewhat safely parse the JSON.
@@ -138,7 +142,7 @@ function requireFindPackageDirectory () {
138
142
  hasRequiredFindPackageDirectory = 1;
139
143
  Object.defineProperty(findPackageDirectory, "__esModule", { value: true });
140
144
  findPackageDirectory.findPackageDirectory = void 0;
141
- const fs_1 = require$$0$1;
145
+ const fs_1 = require$$0__default;
142
146
  const path_1 = require$$0;
143
147
  const url_1 = require$$2;
144
148
  function searchLocation(location) {
package/vendor/valibot.js CHANGED
@@ -1,5 +1,9 @@
1
1
  import { createRequire as __tungstenCreateRequire } from 'node:module';
2
+ import { fileURLToPath as __tungstenFileURLToPath } from 'node:url';
3
+ import { dirname as __tungstenDirname } from 'node:path';
2
4
  const require = __tungstenCreateRequire(import.meta.url);
5
+ const __filename = __tungstenFileURLToPath(import.meta.url);
6
+ const __dirname = __tungstenDirname(__filename);
3
7
  //#region src/storages/globalConfig/globalConfig.ts
4
8
  let store$4;
5
9
  const DEFAULT_CONFIG = {