@powerlines/deepkit 0.9.60 → 0.9.62
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/{capnp-C64tcsYr.cjs → capnp-Be787Fo8.cjs} +1 -54
- package/dist/{capnp-CBwWCAFI.mjs → capnp-DMIKW0SW.mjs} +2 -50
- package/dist/capnp.cjs +1 -1
- package/dist/capnp.mjs +1 -1
- package/dist/{chunk-BViLPvwy.cjs → chunk-fl3r8ClO.cjs} +0 -19
- package/dist/esbuild-plugin.cjs +1 -9
- package/dist/esbuild-plugin.mjs +1 -3
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/resolve-reflections.cjs +1 -9
- package/dist/resolve-reflections.mjs +1 -3
- package/dist/rolldown-plugin.cjs +1 -9
- package/dist/rolldown-plugin.mjs +1 -3
- package/dist/{transformer-Bzko5OJ6.cjs → transformer-BBFrHqHC.cjs} +1 -11
- package/dist/{transformer-yf6V3L2u.mjs → transformer-BqC4_fMK.mjs} +8 -7
- package/dist/transformer.cjs +1 -1
- package/dist/transformer.mjs +1 -1
- package/dist/transpile.cjs +3 -10
- package/dist/transpile.mjs +2 -4
- package/dist/types.cjs +0 -13
- package/dist/types.mjs +1 -8
- package/package.json +10 -10
- package/dist/capnp.test.cjs +0 -15
- package/dist/capnp.test.d.cts +0 -1
- package/dist/capnp.test.d.mts +0 -1
- package/dist/capnp.test.mjs +0 -17
- package/dist/chunk-wE0WeVzl.mjs +0 -22
- package/dist/esbuild-plugin.test.cjs +0 -15
- package/dist/esbuild-plugin.test.d.cts +0 -1
- package/dist/esbuild-plugin.test.d.mts +0 -1
- package/dist/esbuild-plugin.test.mjs +0 -17
- package/dist/magic-string.es-CTmOTfpb.cjs +0 -1014
- package/dist/magic-string.es-CTmgL_KE.mjs +0 -1014
- package/dist/resolve-reflections.test.cjs +0 -15
- package/dist/resolve-reflections.test.d.cts +0 -1
- package/dist/resolve-reflections.test.d.mts +0 -1
- package/dist/resolve-reflections.test.mjs +0 -17
- package/dist/rolldown-plugin.test.cjs +0 -15
- package/dist/rolldown-plugin.test.d.cts +0 -1
- package/dist/rolldown-plugin.test.d.mts +0 -1
- package/dist/rolldown-plugin.test.mjs +0 -17
- package/dist/test.DNmyFkvJ-B5Eqa5wB.mjs +0 -13766
- package/dist/test.DNmyFkvJ-Bj84cw-C.cjs +0 -13783
- package/dist/transformer.test.cjs +0 -15
- package/dist/transformer.test.d.cts +0 -1
- package/dist/transformer.test.d.mts +0 -1
- package/dist/transformer.test.mjs +0 -17
- package/dist/transpile.test.cjs +0 -15
- package/dist/transpile.test.d.cts +0 -1
- package/dist/transpile.test.d.mts +0 -1
- package/dist/transpile.test.mjs +0 -17
- package/dist/types.test.cjs +0 -15
- package/dist/types.test.d.cts +0 -1
- package/dist/types.test.d.mts +0 -1
- package/dist/types.test.mjs +0 -17
- package/dist/utilities.test.cjs +0 -34
- package/dist/utilities.test.d.cts +0 -1
- package/dist/utilities.test.d.mts +0 -1
- package/dist/utilities.test.mjs +0 -36
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
-
const require_transformer = require('./transformer-Bzko5OJ6.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/transformer.test.ts
|
|
5
|
-
require_test_DNmyFkvJ.describe("base/deepkit/src/transformer.ts", () => {
|
|
6
|
-
require_test_DNmyFkvJ.it("loads module exports", () => {
|
|
7
|
-
require_test_DNmyFkvJ.globalExpect(require_transformer.transformer_exports).toBeDefined();
|
|
8
|
-
require_test_DNmyFkvJ.globalExpect(typeof require_transformer.transformer_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
require_test_DNmyFkvJ.it("has at least one runtime export", () => {
|
|
11
|
-
require_test_DNmyFkvJ.globalExpect(Object.keys(require_transformer.transformer_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
-
import { r as transformer_exports } from "./transformer-yf6V3L2u.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/transformer.test.ts
|
|
5
|
-
describe("base/deepkit/src/transformer.ts", () => {
|
|
6
|
-
it("loads module exports", () => {
|
|
7
|
-
globalExpect(transformer_exports).toBeDefined();
|
|
8
|
-
globalExpect(typeof transformer_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
it("has at least one runtime export", () => {
|
|
11
|
-
globalExpect(Object.keys(transformer_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { };
|
|
17
|
-
//# sourceMappingURL=transformer.test.mjs.map
|
package/dist/transpile.test.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
-
const require_transpile = require('./transpile.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/transpile.test.ts
|
|
5
|
-
require_test_DNmyFkvJ.describe("base/deepkit/src/transpile.ts", () => {
|
|
6
|
-
require_test_DNmyFkvJ.it("loads module exports", () => {
|
|
7
|
-
require_test_DNmyFkvJ.globalExpect(require_transpile.transpile_exports).toBeDefined();
|
|
8
|
-
require_test_DNmyFkvJ.globalExpect(typeof require_transpile.transpile_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
require_test_DNmyFkvJ.it("has at least one runtime export", () => {
|
|
11
|
-
require_test_DNmyFkvJ.globalExpect(Object.keys(require_transpile.transpile_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/transpile.test.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
-
import { t as transpile_exports } from "./transpile.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/transpile.test.ts
|
|
5
|
-
describe("base/deepkit/src/transpile.ts", () => {
|
|
6
|
-
it("loads module exports", () => {
|
|
7
|
-
globalExpect(transpile_exports).toBeDefined();
|
|
8
|
-
globalExpect(typeof transpile_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
it("has at least one runtime export", () => {
|
|
11
|
-
globalExpect(Object.keys(transpile_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { };
|
|
17
|
-
//# sourceMappingURL=transpile.test.mjs.map
|
package/dist/types.test.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
-
const require_types = require('./types.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/types.test.ts
|
|
5
|
-
require_test_DNmyFkvJ.describe("base/deepkit/src/types.ts", () => {
|
|
6
|
-
require_test_DNmyFkvJ.it("loads module exports", () => {
|
|
7
|
-
require_test_DNmyFkvJ.globalExpect(require_types.types_exports).toBeDefined();
|
|
8
|
-
require_test_DNmyFkvJ.globalExpect(typeof require_types.types_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
require_test_DNmyFkvJ.it("has at least one runtime export", () => {
|
|
11
|
-
require_test_DNmyFkvJ.globalExpect(Object.keys(require_types.types_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
package/dist/types.test.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types.test.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types.test.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
-
import { t as types_exports } from "./types.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/types.test.ts
|
|
5
|
-
describe("base/deepkit/src/types.ts", () => {
|
|
6
|
-
it("loads module exports", () => {
|
|
7
|
-
globalExpect(types_exports).toBeDefined();
|
|
8
|
-
globalExpect(typeof types_exports).toBe("object");
|
|
9
|
-
});
|
|
10
|
-
it("has at least one runtime export", () => {
|
|
11
|
-
globalExpect(Object.keys(types_exports).length).toBeGreaterThan(0);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { };
|
|
17
|
-
//# sourceMappingURL=types.test.mjs.map
|
package/dist/utilities.test.cjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
-
const require_utilities = require('./utilities.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/utilities.test.ts
|
|
5
|
-
require_test_DNmyFkvJ.describe("stringifyStringValue", () => {
|
|
6
|
-
require_test_DNmyFkvJ.it("is a function", () => {
|
|
7
|
-
require_test_DNmyFkvJ.globalExpect(typeof require_utilities.stringifyStringValue).toBe("function");
|
|
8
|
-
});
|
|
9
|
-
require_test_DNmyFkvJ.it("wraps a string in double quotes", () => {
|
|
10
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyStringValue("hello")).toBe("\"hello\"");
|
|
11
|
-
});
|
|
12
|
-
require_test_DNmyFkvJ.it("returns undefined as the string 'undefined' in quotes", () => {
|
|
13
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyStringValue(void 0)).toBe("\"undefined\"");
|
|
14
|
-
});
|
|
15
|
-
require_test_DNmyFkvJ.it("escapes inner double quotes", () => {
|
|
16
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyStringValue("say \"hello\"")).toBe("\"say \\\"hello\\\"\"");
|
|
17
|
-
});
|
|
18
|
-
require_test_DNmyFkvJ.it("handles numbers by converting to string", () => {
|
|
19
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyStringValue(42)).toBe("\"42\"");
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
require_test_DNmyFkvJ.describe("stringifyValue", () => {
|
|
23
|
-
require_test_DNmyFkvJ.it("is a function", () => {
|
|
24
|
-
require_test_DNmyFkvJ.globalExpect(typeof require_utilities.stringifyValue).toBe("function");
|
|
25
|
-
});
|
|
26
|
-
require_test_DNmyFkvJ.it("returns 'undefined' for undefined value", () => {
|
|
27
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyValue({ kind: 5 }, void 0)).toBe("undefined");
|
|
28
|
-
});
|
|
29
|
-
require_test_DNmyFkvJ.it("returns 'null' for null value", () => {
|
|
30
|
-
require_test_DNmyFkvJ.globalExpect(require_utilities.stringifyValue({ kind: 5 }, null)).toBe("null");
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/utilities.test.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
-
import { stringifyStringValue, stringifyValue } from "./utilities.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/utilities.test.ts
|
|
5
|
-
describe("stringifyStringValue", () => {
|
|
6
|
-
it("is a function", () => {
|
|
7
|
-
globalExpect(typeof stringifyStringValue).toBe("function");
|
|
8
|
-
});
|
|
9
|
-
it("wraps a string in double quotes", () => {
|
|
10
|
-
globalExpect(stringifyStringValue("hello")).toBe("\"hello\"");
|
|
11
|
-
});
|
|
12
|
-
it("returns undefined as the string 'undefined' in quotes", () => {
|
|
13
|
-
globalExpect(stringifyStringValue(void 0)).toBe("\"undefined\"");
|
|
14
|
-
});
|
|
15
|
-
it("escapes inner double quotes", () => {
|
|
16
|
-
globalExpect(stringifyStringValue("say \"hello\"")).toBe("\"say \\\"hello\\\"\"");
|
|
17
|
-
});
|
|
18
|
-
it("handles numbers by converting to string", () => {
|
|
19
|
-
globalExpect(stringifyStringValue(42)).toBe("\"42\"");
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
describe("stringifyValue", () => {
|
|
23
|
-
it("is a function", () => {
|
|
24
|
-
globalExpect(typeof stringifyValue).toBe("function");
|
|
25
|
-
});
|
|
26
|
-
it("returns 'undefined' for undefined value", () => {
|
|
27
|
-
globalExpect(stringifyValue({ kind: 5 }, void 0)).toBe("undefined");
|
|
28
|
-
});
|
|
29
|
-
it("returns 'null' for null value", () => {
|
|
30
|
-
globalExpect(stringifyValue({ kind: 5 }, null)).toBe("null");
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export { };
|
|
36
|
-
//# sourceMappingURL=utilities.test.mjs.map
|