@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.
- package/{chunk-USQXEZHL.js → chunk-3RHIVQAA.js} +2 -2
- package/{chunk-W2GV5KXV.js → chunk-N3NUTN4B.js} +3 -3
- package/{chunk-F5W6VELE.js → chunk-N5LQQXOU.js} +2 -2
- package/chunk-PPS4L4VW.js +38 -0
- package/{chunk-GES3MUGV.js.map → chunk-PPS4L4VW.js.map} +1 -1
- package/index.cjs +500 -179
- package/index.cjs.map +1 -1
- package/index.d.cts +73 -30
- package/index.d.ts +73 -30
- package/index.js +506 -141
- package/index.js.map +1 -1
- package/node/index.js +2 -2
- package/package.json +2 -2
- package/src/http_header.ts +161 -0
- package/src/index.ts +1 -0
- package/src/jsr.json +1 -1
- package/src/log-level-impl.ts +7 -0
- package/src/logger-impl.ts +70 -43
- package/src/logger.ts +37 -9
- package/src/option.ts +7 -0
- package/src/result.ts +7 -1
- package/src/uri.ts +35 -11
- package/src/utils/relative-path.ts +161 -0
- package/ts/http_header.d.ts +29 -0
- package/ts/http_header.d.ts.map +1 -0
- package/ts/http_header.js +155 -0
- package/ts/http_header.js.map +1 -0
- package/ts/http_header.test.d.ts +2 -0
- package/ts/http_header.test.d.ts.map +1 -0
- package/ts/http_header.test.js +90 -0
- package/ts/http_header.test.js.map +1 -0
- package/ts/index.d.ts +1 -0
- package/ts/index.d.ts.map +1 -1
- package/ts/index.js +1 -0
- package/ts/index.js.map +1 -1
- package/ts/log-level-impl.d.ts +3 -0
- package/ts/log-level-impl.d.ts.map +1 -1
- package/ts/log-level-impl.js +5 -0
- package/ts/log-level-impl.js.map +1 -1
- package/ts/logger-impl.d.ts +2 -1
- package/ts/logger-impl.d.ts.map +1 -1
- package/ts/logger-impl.js +66 -47
- package/ts/logger-impl.js.map +1 -1
- package/ts/logger.d.ts +10 -1
- package/ts/logger.d.ts.map +1 -1
- package/ts/logger.js +22 -8
- package/ts/logger.js.map +1 -1
- package/ts/logger.test.js +111 -58
- package/ts/logger.test.js.map +1 -1
- package/ts/option.d.ts +1 -0
- package/ts/option.d.ts.map +1 -1
- package/ts/option.js +6 -0
- package/ts/option.js.map +1 -1
- package/ts/result.d.ts +1 -1
- package/ts/result.d.ts.map +1 -1
- package/ts/result.js +6 -0
- package/ts/result.js.map +1 -1
- package/ts/result.test.js +6 -0
- package/ts/result.test.js.map +1 -1
- package/ts/tracer.js +24 -6
- package/ts/tracer.js.map +1 -1
- package/ts/uri.d.ts +3 -1
- package/ts/uri.d.ts.map +1 -1
- package/ts/uri.js +27 -10
- package/ts/uri.js.map +1 -1
- package/ts/uri.test.js +39 -10
- package/ts/uri.test.js.map +1 -1
- package/ts/utils/relative-path.d.ts +17 -0
- package/ts/utils/relative-path.d.ts.map +1 -0
- package/ts/utils/relative-path.js +148 -0
- package/ts/utils/relative-path.js.map +1 -0
- package/ts/utils/relative-path.test.d.ts +2 -0
- package/ts/utils/relative-path.test.d.ts.map +1 -0
- package/ts/utils/relative-path.test.js +187 -0
- package/ts/utils/relative-path.test.js.map +1 -0
- package/ts/utils/stripper.js +1 -1
- package/ts/utils/stripper.js.map +1 -1
- package/utils/index.js +2 -2
- package/web/index.js +3 -3
- package/chunk-GES3MUGV.js +0 -92
- /package/{chunk-USQXEZHL.js.map → chunk-3RHIVQAA.js.map} +0 -0
- /package/{chunk-W2GV5KXV.js.map → chunk-N3NUTN4B.js.map} +0 -0
- /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-
|
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-
|
311
|
+
//# sourceMappingURL=chunk-3RHIVQAA.js.map
|
@@ -2,10 +2,10 @@ import {
|
|
2
2
|
BaseSysAbstraction,
|
3
3
|
WrapperSysAbstraction,
|
4
4
|
envFactory
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-N5LQQXOU.js";
|
6
6
|
import {
|
7
7
|
Utf8EnDecoderSingleton
|
8
|
-
} from "./chunk-
|
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-
|
87
|
+
//# sourceMappingURL=chunk-N3NUTN4B.js.map
|
@@ -2,7 +2,7 @@ import {
|
|
2
2
|
__privateAdd,
|
3
3
|
__privateGet,
|
4
4
|
__privateSet
|
5
|
-
} from "./chunk-
|
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-
|
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":"
|
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":[]}
|