@powerlines/deepkit 0.9.58 → 0.9.60
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-Be787Fo8.cjs → capnp-C64tcsYr.cjs} +54 -1
- package/dist/{capnp-DMIKW0SW.mjs → capnp-CBwWCAFI.mjs} +50 -2
- package/dist/capnp.cjs +1 -1
- package/dist/capnp.mjs +1 -1
- package/dist/capnp.test.cjs +15 -0
- package/dist/capnp.test.d.cts +1 -0
- package/dist/capnp.test.d.mts +1 -0
- package/dist/capnp.test.mjs +17 -0
- package/dist/{chunk-fl3r8ClO.cjs → chunk-BViLPvwy.cjs} +19 -0
- package/dist/chunk-wE0WeVzl.mjs +22 -0
- package/dist/esbuild-plugin.cjs +9 -1
- package/dist/esbuild-plugin.mjs +3 -1
- package/dist/esbuild-plugin.test.cjs +15 -0
- package/dist/esbuild-plugin.test.d.cts +1 -0
- package/dist/esbuild-plugin.test.d.mts +1 -0
- package/dist/esbuild-plugin.test.mjs +17 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/magic-string.es-CTmOTfpb.cjs +1014 -0
- package/dist/magic-string.es-CTmgL_KE.mjs +1014 -0
- package/dist/resolve-reflections.cjs +9 -1
- package/dist/resolve-reflections.mjs +3 -1
- package/dist/resolve-reflections.test.cjs +15 -0
- package/dist/resolve-reflections.test.d.cts +1 -0
- package/dist/resolve-reflections.test.d.mts +1 -0
- package/dist/resolve-reflections.test.mjs +17 -0
- package/dist/rolldown-plugin.cjs +9 -1
- package/dist/rolldown-plugin.mjs +3 -1
- package/dist/rolldown-plugin.test.cjs +15 -0
- package/dist/rolldown-plugin.test.d.cts +1 -0
- package/dist/rolldown-plugin.test.d.mts +1 -0
- package/dist/rolldown-plugin.test.mjs +17 -0
- package/dist/test.DNmyFkvJ-B5Eqa5wB.mjs +13766 -0
- package/dist/test.DNmyFkvJ-Bj84cw-C.cjs +13783 -0
- package/dist/{transformer-BBFrHqHC.cjs → transformer-Bzko5OJ6.cjs} +11 -1
- package/dist/{transformer-BqC4_fMK.mjs → transformer-yf6V3L2u.mjs} +7 -8
- package/dist/transformer.cjs +1 -1
- package/dist/transformer.mjs +1 -1
- package/dist/transformer.test.cjs +15 -0
- package/dist/transformer.test.d.cts +1 -0
- package/dist/transformer.test.d.mts +1 -0
- package/dist/transformer.test.mjs +17 -0
- package/dist/transpile.cjs +10 -3
- package/dist/transpile.mjs +4 -2
- package/dist/transpile.test.cjs +15 -0
- package/dist/transpile.test.d.cts +1 -0
- package/dist/transpile.test.d.mts +1 -0
- package/dist/transpile.test.mjs +17 -0
- package/dist/types.cjs +13 -0
- package/dist/types.mjs +8 -1
- package/dist/types.test.cjs +15 -0
- package/dist/types.test.d.cts +1 -0
- package/dist/types.test.d.mts +1 -0
- package/dist/types.test.mjs +17 -0
- package/dist/utilities.test.cjs +34 -0
- package/dist/utilities.test.d.cts +1 -0
- package/dist/utilities.test.d.mts +1 -0
- package/dist/utilities.test.mjs +36 -0
- package/package.json +11 -11
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-BViLPvwy.cjs');
|
|
2
3
|
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
3
4
|
|
|
4
5
|
//#region src/resolve-reflections.ts
|
|
6
|
+
var resolve_reflections_exports = /* @__PURE__ */ require_chunk.__exportAll({ getReflectionsPath: () => getReflectionsPath });
|
|
5
7
|
/**
|
|
6
8
|
* Returns the path to the reflections artifact directory.
|
|
7
9
|
*
|
|
@@ -13,4 +15,10 @@ function getReflectionsPath(context) {
|
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
//#endregion
|
|
16
|
-
exports.getReflectionsPath = getReflectionsPath;
|
|
18
|
+
exports.getReflectionsPath = getReflectionsPath;
|
|
19
|
+
Object.defineProperty(exports, 'resolve_reflections_exports', {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return resolve_reflections_exports;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { n as __exportAll } from "./chunk-wE0WeVzl.mjs";
|
|
1
2
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
2
3
|
|
|
3
4
|
//#region src/resolve-reflections.ts
|
|
5
|
+
var resolve_reflections_exports = /* @__PURE__ */ __exportAll({ getReflectionsPath: () => getReflectionsPath });
|
|
4
6
|
/**
|
|
5
7
|
* Returns the path to the reflections artifact directory.
|
|
6
8
|
*
|
|
@@ -12,5 +14,5 @@ function getReflectionsPath(context) {
|
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
//#endregion
|
|
15
|
-
export { getReflectionsPath };
|
|
17
|
+
export { getReflectionsPath, resolve_reflections_exports as t };
|
|
16
18
|
//# sourceMappingURL=resolve-reflections.mjs.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
+
const require_resolve_reflections = require('./resolve-reflections.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/resolve-reflections.test.ts
|
|
5
|
+
require_test_DNmyFkvJ.describe("base/deepkit/src/resolve-reflections.ts", () => {
|
|
6
|
+
require_test_DNmyFkvJ.it("loads module exports", () => {
|
|
7
|
+
require_test_DNmyFkvJ.globalExpect(require_resolve_reflections.resolve_reflections_exports).toBeDefined();
|
|
8
|
+
require_test_DNmyFkvJ.globalExpect(typeof require_resolve_reflections.resolve_reflections_exports).toBe("object");
|
|
9
|
+
});
|
|
10
|
+
require_test_DNmyFkvJ.it("has at least one runtime export", () => {
|
|
11
|
+
require_test_DNmyFkvJ.globalExpect(Object.keys(require_resolve_reflections.resolve_reflections_exports).length).toBeGreaterThan(0);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
+
import { t as resolve_reflections_exports } from "./resolve-reflections.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/resolve-reflections.test.ts
|
|
5
|
+
describe("base/deepkit/src/resolve-reflections.ts", () => {
|
|
6
|
+
it("loads module exports", () => {
|
|
7
|
+
globalExpect(resolve_reflections_exports).toBeDefined();
|
|
8
|
+
globalExpect(typeof resolve_reflections_exports).toBe("object");
|
|
9
|
+
});
|
|
10
|
+
it("has at least one runtime export", () => {
|
|
11
|
+
globalExpect(Object.keys(resolve_reflections_exports).length).toBeGreaterThan(0);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { };
|
|
17
|
+
//# sourceMappingURL=resolve-reflections.test.mjs.map
|
package/dist/rolldown-plugin.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_chunk = require('./chunk-BViLPvwy.cjs');
|
|
2
3
|
const require_transpile = require('./transpile.cjs');
|
|
3
4
|
let _stryke_type_checks = require("@stryke/type-checks");
|
|
4
5
|
let _stryke_helpers_omit = require("@stryke/helpers/omit");
|
|
@@ -6,6 +7,7 @@ let typescript = require("typescript");
|
|
|
6
7
|
let _stryke_path = require("@stryke/path");
|
|
7
8
|
|
|
8
9
|
//#region src/rolldown-plugin.ts
|
|
10
|
+
var rolldown_plugin_exports = /* @__PURE__ */ require_chunk.__exportAll({ rolldownPlugin: () => rolldownPlugin });
|
|
9
11
|
/**
|
|
10
12
|
* Rolldown plugin for Deepkit Type reflections.
|
|
11
13
|
*
|
|
@@ -43,4 +45,10 @@ const rolldownPlugin = (context, options = {}) => {
|
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
//#endregion
|
|
46
|
-
exports.rolldownPlugin = rolldownPlugin;
|
|
48
|
+
exports.rolldownPlugin = rolldownPlugin;
|
|
49
|
+
Object.defineProperty(exports, 'rolldown_plugin_exports', {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return rolldown_plugin_exports;
|
|
53
|
+
}
|
|
54
|
+
});
|
package/dist/rolldown-plugin.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as __exportAll } from "./chunk-wE0WeVzl.mjs";
|
|
1
2
|
import { transpile } from "./transpile.mjs";
|
|
2
3
|
import { isString } from "@stryke/type-checks";
|
|
3
4
|
import { omit } from "@stryke/helpers/omit";
|
|
@@ -5,6 +6,7 @@ import { DiagnosticCategory } from "typescript";
|
|
|
5
6
|
import { findFileExtension } from "@stryke/path";
|
|
6
7
|
|
|
7
8
|
//#region src/rolldown-plugin.ts
|
|
9
|
+
var rolldown_plugin_exports = /* @__PURE__ */ __exportAll({ rolldownPlugin: () => rolldownPlugin });
|
|
8
10
|
/**
|
|
9
11
|
* Rolldown plugin for Deepkit Type reflections.
|
|
10
12
|
*
|
|
@@ -42,5 +44,5 @@ const rolldownPlugin = (context, options = {}) => {
|
|
|
42
44
|
};
|
|
43
45
|
|
|
44
46
|
//#endregion
|
|
45
|
-
export { rolldownPlugin };
|
|
47
|
+
export { rolldownPlugin, rolldown_plugin_exports as t };
|
|
46
48
|
//# sourceMappingURL=rolldown-plugin.mjs.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-Bj84cw-C.cjs');
|
|
2
|
+
const require_rolldown_plugin = require('./rolldown-plugin.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/rolldown-plugin.test.ts
|
|
5
|
+
require_test_DNmyFkvJ.describe("base/deepkit/src/rolldown-plugin.ts", () => {
|
|
6
|
+
require_test_DNmyFkvJ.it("loads module exports", () => {
|
|
7
|
+
require_test_DNmyFkvJ.globalExpect(require_rolldown_plugin.rolldown_plugin_exports).toBeDefined();
|
|
8
|
+
require_test_DNmyFkvJ.globalExpect(typeof require_rolldown_plugin.rolldown_plugin_exports).toBe("object");
|
|
9
|
+
});
|
|
10
|
+
require_test_DNmyFkvJ.it("has at least one runtime export", () => {
|
|
11
|
+
require_test_DNmyFkvJ.globalExpect(Object.keys(require_rolldown_plugin.rolldown_plugin_exports).length).toBeGreaterThan(0);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-B5Eqa5wB.mjs";
|
|
2
|
+
import { t as rolldown_plugin_exports } from "./rolldown-plugin.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/rolldown-plugin.test.ts
|
|
5
|
+
describe("base/deepkit/src/rolldown-plugin.ts", () => {
|
|
6
|
+
it("loads module exports", () => {
|
|
7
|
+
globalExpect(rolldown_plugin_exports).toBeDefined();
|
|
8
|
+
globalExpect(typeof rolldown_plugin_exports).toBe("object");
|
|
9
|
+
});
|
|
10
|
+
it("has at least one runtime export", () => {
|
|
11
|
+
globalExpect(Object.keys(rolldown_plugin_exports).length).toBeGreaterThan(0);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { };
|
|
17
|
+
//# sourceMappingURL=rolldown-plugin.test.mjs.map
|