@adviser/cement 0.2.40 → 0.2.42

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 (83) hide show
  1. package/{chunk-USQXEZHL.js → chunk-3RHIVQAA.js} +2 -2
  2. package/{chunk-W2GV5KXV.js → chunk-N3NUTN4B.js} +3 -3
  3. package/{chunk-F5W6VELE.js → chunk-N5LQQXOU.js} +2 -2
  4. package/chunk-PPS4L4VW.js +38 -0
  5. package/{chunk-GES3MUGV.js.map → chunk-PPS4L4VW.js.map} +1 -1
  6. package/index.cjs +500 -179
  7. package/index.cjs.map +1 -1
  8. package/index.d.cts +73 -30
  9. package/index.d.ts +73 -30
  10. package/index.js +506 -141
  11. package/index.js.map +1 -1
  12. package/node/index.js +2 -2
  13. package/package.json +2 -2
  14. package/src/http_header.ts +161 -0
  15. package/src/index.ts +1 -0
  16. package/src/jsr.json +1 -1
  17. package/src/log-level-impl.ts +7 -0
  18. package/src/logger-impl.ts +70 -43
  19. package/src/logger.ts +37 -9
  20. package/src/option.ts +7 -0
  21. package/src/result.ts +7 -1
  22. package/src/uri.ts +35 -11
  23. package/src/utils/relative-path.ts +161 -0
  24. package/ts/http_header.d.ts +29 -0
  25. package/ts/http_header.d.ts.map +1 -0
  26. package/ts/http_header.js +155 -0
  27. package/ts/http_header.js.map +1 -0
  28. package/ts/http_header.test.d.ts +2 -0
  29. package/ts/http_header.test.d.ts.map +1 -0
  30. package/ts/http_header.test.js +90 -0
  31. package/ts/http_header.test.js.map +1 -0
  32. package/ts/index.d.ts +1 -0
  33. package/ts/index.d.ts.map +1 -1
  34. package/ts/index.js +1 -0
  35. package/ts/index.js.map +1 -1
  36. package/ts/log-level-impl.d.ts +3 -0
  37. package/ts/log-level-impl.d.ts.map +1 -1
  38. package/ts/log-level-impl.js +5 -0
  39. package/ts/log-level-impl.js.map +1 -1
  40. package/ts/logger-impl.d.ts +2 -1
  41. package/ts/logger-impl.d.ts.map +1 -1
  42. package/ts/logger-impl.js +66 -47
  43. package/ts/logger-impl.js.map +1 -1
  44. package/ts/logger.d.ts +10 -1
  45. package/ts/logger.d.ts.map +1 -1
  46. package/ts/logger.js +22 -8
  47. package/ts/logger.js.map +1 -1
  48. package/ts/logger.test.js +111 -58
  49. package/ts/logger.test.js.map +1 -1
  50. package/ts/option.d.ts +1 -0
  51. package/ts/option.d.ts.map +1 -1
  52. package/ts/option.js +6 -0
  53. package/ts/option.js.map +1 -1
  54. package/ts/result.d.ts +1 -1
  55. package/ts/result.d.ts.map +1 -1
  56. package/ts/result.js +6 -0
  57. package/ts/result.js.map +1 -1
  58. package/ts/result.test.js +6 -0
  59. package/ts/result.test.js.map +1 -1
  60. package/ts/tracer.js +24 -6
  61. package/ts/tracer.js.map +1 -1
  62. package/ts/uri.d.ts +3 -1
  63. package/ts/uri.d.ts.map +1 -1
  64. package/ts/uri.js +27 -10
  65. package/ts/uri.js.map +1 -1
  66. package/ts/uri.test.js +39 -10
  67. package/ts/uri.test.js.map +1 -1
  68. package/ts/utils/relative-path.d.ts +17 -0
  69. package/ts/utils/relative-path.d.ts.map +1 -0
  70. package/ts/utils/relative-path.js +148 -0
  71. package/ts/utils/relative-path.js.map +1 -0
  72. package/ts/utils/relative-path.test.d.ts +2 -0
  73. package/ts/utils/relative-path.test.d.ts.map +1 -0
  74. package/ts/utils/relative-path.test.js +187 -0
  75. package/ts/utils/relative-path.test.js.map +1 -0
  76. package/ts/utils/stripper.js +1 -1
  77. package/ts/utils/stripper.js.map +1 -1
  78. package/utils/index.js +2 -2
  79. package/web/index.js +3 -3
  80. package/chunk-GES3MUGV.js +0 -92
  81. /package/{chunk-USQXEZHL.js.map → chunk-3RHIVQAA.js.map} +0 -0
  82. /package/{chunk-W2GV5KXV.js.map → chunk-N3NUTN4B.js.map} +0 -0
  83. /package/{chunk-F5W6VELE.js.map → chunk-N5LQQXOU.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Utf8EnDecoderSingleton,
3
3
  __export
4
- } from "./chunk-GES3MUGV.js";
4
+ } from "./chunk-PPS4L4VW.js";
5
5
 
6
6
  // src/utils/index.ts
7
7
  var utils_exports = {};
@@ -308,4 +308,4 @@ export {
308
308
  uint8array2stream,
309
309
  utils_exports
310
310
  };
311
- //# sourceMappingURL=chunk-USQXEZHL.js.map
311
+ //# sourceMappingURL=chunk-3RHIVQAA.js.map
@@ -2,10 +2,10 @@ import {
2
2
  BaseSysAbstraction,
3
3
  WrapperSysAbstraction,
4
4
  envFactory
5
- } from "./chunk-F5W6VELE.js";
5
+ } from "./chunk-N5LQQXOU.js";
6
6
  import {
7
7
  Utf8EnDecoderSingleton
8
- } from "./chunk-GES3MUGV.js";
8
+ } from "./chunk-PPS4L4VW.js";
9
9
 
10
10
  // src/web/web-sys-abstraction.ts
11
11
  var WebFileService = class {
@@ -84,4 +84,4 @@ function WebSysAbstraction(param) {
84
84
  export {
85
85
  WebSysAbstraction
86
86
  };
87
- //# sourceMappingURL=chunk-W2GV5KXV.js.map
87
+ //# sourceMappingURL=chunk-N3NUTN4B.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __privateAdd,
3
3
  __privateGet,
4
4
  __privateSet
5
- } from "./chunk-GES3MUGV.js";
5
+ } from "./chunk-PPS4L4VW.js";
6
6
 
7
7
  // src/sys-abstraction.ts
8
8
  var TimeMode = /* @__PURE__ */ ((TimeMode2) => {
@@ -607,4 +607,4 @@ export {
607
607
  envFactory,
608
608
  EnvImpl
609
609
  };
610
- //# sourceMappingURL=chunk-F5W6VELE.js.map
610
+ //# sourceMappingURL=chunk-N5LQQXOU.js.map
@@ -0,0 +1,38 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __typeError = (msg) => {
3
+ throw TypeError(msg);
4
+ };
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
10
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
11
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
12
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
13
+
14
+ // src/txt-en-decoder.ts
15
+ var encoder = new TextEncoder();
16
+ var decoder = new TextDecoder();
17
+ var Utf8EnDecoder = class {
18
+ encode(str) {
19
+ return encoder.encode(str);
20
+ }
21
+ decode(data) {
22
+ return decoder.decode(data);
23
+ }
24
+ };
25
+ var utf8EnDecoder = new Utf8EnDecoder();
26
+ function Utf8EnDecoderSingleton() {
27
+ return utf8EnDecoder;
28
+ }
29
+
30
+ export {
31
+ __export,
32
+ __privateGet,
33
+ __privateAdd,
34
+ __privateSet,
35
+ Utf8EnDecoder,
36
+ Utf8EnDecoderSingleton
37
+ };
38
+ //# sourceMappingURL=chunk-PPS4L4VW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/txt-en-decoder.ts"],"sourcesContent":["export interface TxtEnDecoder {\n encode(str: string): Uint8Array;\n decode(data: Uint8Array): string;\n}\n\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\n\nexport class Utf8EnDecoder implements TxtEnDecoder {\n encode(str: string): Uint8Array {\n return encoder.encode(str);\n }\n decode(data: Uint8Array): string {\n return decoder.decode(data);\n }\n}\n\nconst utf8EnDecoder = new Utf8EnDecoder();\nexport function Utf8EnDecoderSingleton(): TxtEnDecoder {\n return utf8EnDecoder;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAM,UAAU,IAAI,YAAY;AAChC,IAAM,UAAU,IAAI,YAAY;AAEzB,IAAM,gBAAN,MAA4C;AAAA,EACjD,OAAO,KAAyB;AAC9B,WAAO,QAAQ,OAAO,GAAG;AAAA,EAC3B;AAAA,EACA,OAAO,MAA0B;AAC/B,WAAO,QAAQ,OAAO,IAAI;AAAA,EAC5B;AACF;AAEA,IAAM,gBAAgB,IAAI,cAAc;AACjC,SAAS,yBAAuC;AACrD,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../src/txt-en-decoder.ts"],"sourcesContent":["export interface TxtEnDecoder {\n encode(str: string): Uint8Array;\n decode(data: Uint8Array): string;\n}\n\nconst encoder = new TextEncoder();\nconst decoder = new TextDecoder();\n\nexport class Utf8EnDecoder implements TxtEnDecoder {\n encode(str: string): Uint8Array {\n return encoder.encode(str);\n }\n decode(data: Uint8Array): string {\n return decoder.decode(data);\n }\n}\n\nconst utf8EnDecoder = new Utf8EnDecoder();\nexport function Utf8EnDecoderSingleton(): TxtEnDecoder {\n return utf8EnDecoder;\n}\n"],"mappings":";;;;;;;;;;;;;;AAKA,IAAM,UAAU,IAAI,YAAY;AAChC,IAAM,UAAU,IAAI,YAAY;AAEzB,IAAM,gBAAN,MAA4C;AAAA,EACjD,OAAO,KAAyB;AAC9B,WAAO,QAAQ,OAAO,GAAG;AAAA,EAC3B;AAAA,EACA,OAAO,MAA0B;AAC/B,WAAO,QAAQ,OAAO,IAAI;AAAA,EAC5B;AACF;AAEA,IAAM,gBAAgB,IAAI,cAAc;AACjC,SAAS,yBAAuC;AACrD,SAAO;AACT;","names":[]}