@powerlines/deepkit 0.6.69 → 0.6.71
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/{chunk-NRUT3MWS.cjs → chunk-24CKWFNY.cjs} +1 -1
- package/dist/{chunk-UEJZ4U25.js → chunk-BW5M6IZV.js} +1 -1
- package/dist/esbuild-plugin.d.cts +1 -1
- package/dist/esbuild-plugin.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/reflect-type.cjs +2 -2
- package/dist/reflect-type.d.cts +3 -3
- package/dist/reflect-type.d.ts +3 -3
- package/dist/reflect-type.js +1 -1
- package/dist/resolve-reflections.d.cts +1 -1
- package/dist/resolve-reflections.d.ts +1 -1
- package/dist/rolldown-plugin.d.cts +1 -1
- package/dist/rolldown-plugin.d.ts +1 -1
- package/dist/transformer.d.cts +1 -1
- package/dist/transformer.d.ts +1 -1
- package/dist/transpile.d.cts +1 -1
- package/dist/transpile.d.ts +1 -1
- package/dist/vendor/{chunk-ETH4X5RN.cjs → chunk-JLWUYPQK.cjs} +176 -176
- package/dist/vendor/{chunk-2CFEGCCD.cjs → chunk-NSH4LCNJ.cjs} +3 -3
- package/dist/vendor/{chunk-SJUHN4OG.cjs → chunk-THEJ6F23.cjs} +2 -2
- package/dist/vendor/core.cjs +130 -130
- package/dist/vendor/type-compiler/{chunk-C2ZEGRUE.js → chunk-67BGOGL6.js} +2 -2
- package/dist/vendor/type-compiler/{chunk-CTH77GWT.js → chunk-6GN2ENP5.js} +1 -1
- package/dist/vendor/type-compiler/{chunk-JEFHIMHM.cjs → chunk-7WUXF2D7.cjs} +505 -505
- package/dist/vendor/type-compiler/{chunk-G33GCWR5.cjs → chunk-N6OYJXF4.cjs} +2 -2
- package/dist/vendor/type-compiler/compiler.cjs +12 -12
- package/dist/vendor/type-compiler/compiler.js +2 -2
- package/dist/vendor/type-compiler/config.cjs +9 -9
- package/dist/vendor/type-compiler/config.js +2 -2
- package/dist/vendor/type-compiler/index.cjs +24 -24
- package/dist/vendor/type-compiler/index.js +4 -4
- package/dist/vendor/type-spec.cjs +5 -5
- package/dist/vendor/type.cjs +776 -776
- package/package.json +7 -5
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var chunkDZ5A2U2B_cjs = require('./chunk-DZ5A2U2B.cjs');
|
|
4
4
|
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
var type = require('@powerlines/deepkit/vendor/type');
|
|
6
|
+
var resolve = require('@powerlines/plugin-esbuild/helpers/resolve');
|
|
6
7
|
var defu = require('defu');
|
|
7
|
-
var resolve = require('powerlines/lib/utilities/resolve');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { esbuildPlugin } from './chunk-64Y4Q5UZ.js';
|
|
2
2
|
import { __name } from './chunk-SHUYVCID.js';
|
|
3
3
|
import { reflect } from '@powerlines/deepkit/vendor/type';
|
|
4
|
+
import { resolve } from '@powerlines/plugin-esbuild/helpers/resolve';
|
|
4
5
|
import defu from 'defu';
|
|
5
|
-
import { resolve } from 'powerlines/lib/utilities/resolve';
|
|
6
6
|
|
|
7
7
|
async function reflectType(context, type, overrides = {}) {
|
|
8
8
|
return reflect(await resolve(context, type, defu(overrides, {
|
package/dist/esbuild-plugin.d.ts
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require('./chunk-ORA4UQMU.cjs');
|
|
4
4
|
var chunk6XE3MLML_cjs = require('./chunk-6XE3MLML.cjs');
|
|
5
5
|
var chunk7FXYDYVQ_cjs = require('./chunk-7FXYDYVQ.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk24CKWFNY_cjs = require('./chunk-24CKWFNY.cjs');
|
|
7
7
|
var chunkDZ5A2U2B_cjs = require('./chunk-DZ5A2U2B.cjs');
|
|
8
8
|
var chunk7QZGCBH7_cjs = require('./chunk-7QZGCBH7.cjs');
|
|
9
9
|
var chunk27RKMKSF_cjs = require('./chunk-27RKMKSF.cjs');
|
|
@@ -223,7 +223,7 @@ Object.defineProperty(exports, "convertToCapnpUnion", {
|
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "reflectType", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunk24CKWFNY_cjs.reflectType; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "esbuildPlugin", {
|
|
229
229
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -11,10 +11,9 @@ import '@powerlines/deepkit/vendor/type';
|
|
|
11
11
|
import '@stryke/capnp';
|
|
12
12
|
import './reflection-BHSdc6oZ.cjs';
|
|
13
13
|
import 'esbuild';
|
|
14
|
-
import 'powerlines
|
|
14
|
+
import 'powerlines';
|
|
15
15
|
import '@deepkit/type-compiler/config';
|
|
16
16
|
import '@stryke/types/configuration';
|
|
17
|
-
import 'powerlines/types/build';
|
|
18
17
|
import 'rolldown';
|
|
19
18
|
import 'typescript';
|
|
20
19
|
import '@powerlines/deepkit/vendor/type-compiler';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,9 @@ import '@powerlines/deepkit/vendor/type';
|
|
|
11
11
|
import '@stryke/capnp';
|
|
12
12
|
import './reflection-BHSdc6oZ.js';
|
|
13
13
|
import 'esbuild';
|
|
14
|
-
import 'powerlines
|
|
14
|
+
import 'powerlines';
|
|
15
15
|
import '@deepkit/type-compiler/config';
|
|
16
16
|
import '@stryke/types/configuration';
|
|
17
|
-
import 'powerlines/types/build';
|
|
18
17
|
import 'rolldown';
|
|
19
18
|
import 'typescript';
|
|
20
19
|
import '@powerlines/deepkit/vendor/type-compiler';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './chunk-OULCUN6I.js';
|
|
2
2
|
export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-QIBJ3SJN.js';
|
|
3
3
|
export { convertFromCapnp, convertFromCapnpArray, convertFromCapnpBase, convertFromCapnpClassType, convertFromCapnpDefault, convertFromCapnpEnum, convertFromCapnpFunction, convertFromCapnpIndexAccessOrigin, convertFromCapnpInfer, convertFromCapnpIntersection, convertFromCapnpLiteral, convertFromCapnpMethodSignature, convertFromCapnpObjectLiteral, convertFromCapnpOther, convertFromCapnpParameter, convertFromCapnpProperty, convertFromCapnpPropertySignature, convertFromCapnpSimple, convertFromCapnpTagsReflection, convertFromCapnpTuple, convertFromCapnpTupleMember, convertFromCapnpUnion, convertToCapnp, convertToCapnpArray, convertToCapnpBase, convertToCapnpClassType, convertToCapnpDefault, convertToCapnpEnum, convertToCapnpFunction, convertToCapnpIndexAccessOrigin, convertToCapnpInfer, convertToCapnpIntersection, convertToCapnpLiteral, convertToCapnpMethod, convertToCapnpMethodSignature, convertToCapnpObjectLiteral, convertToCapnpOther, convertToCapnpParameter, convertToCapnpProperty, convertToCapnpPropertySignature, convertToCapnpSimple, convertToCapnpTagsReflection, convertToCapnpTuple, convertToCapnpTupleMember, convertToCapnpUnion } from './chunk-TDYIUJGY.js';
|
|
4
|
-
export { reflectType } from './chunk-
|
|
4
|
+
export { reflectType } from './chunk-BW5M6IZV.js';
|
|
5
5
|
export { esbuildPlugin } from './chunk-64Y4Q5UZ.js';
|
|
6
6
|
export { getReflectionsPath } from './chunk-ALM6UMVU.js';
|
|
7
7
|
export { rolldownPlugin } from './chunk-JQUKKAFM.js';
|
package/dist/reflect-type.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk24CKWFNY_cjs = require('./chunk-24CKWFNY.cjs');
|
|
4
4
|
require('./chunk-DZ5A2U2B.cjs');
|
|
5
5
|
require('./chunk-HPVJ6OV3.cjs');
|
|
6
6
|
require('./chunk-BLLXF42T.cjs');
|
|
@@ -10,5 +10,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "reflectType", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk24CKWFNY_cjs.reflectType; }
|
|
14
14
|
});
|
package/dist/reflect-type.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Type } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
3
|
-
import {
|
|
4
|
-
import { PluginContext } from 'powerlines
|
|
3
|
+
import { BuildOptions } from 'esbuild';
|
|
4
|
+
import { PluginContext } from 'powerlines';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Compiles a type definition to a module.
|
|
@@ -11,6 +11,6 @@ import { PluginContext } from 'powerlines/types/context';
|
|
|
11
11
|
* @param overrides - Optional overrides for the ESBuild configuration.
|
|
12
12
|
* @returns A promise that resolves to the compiled module.
|
|
13
13
|
*/
|
|
14
|
-
declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<
|
|
14
|
+
declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<BuildOptions>): Promise<Type>;
|
|
15
15
|
|
|
16
16
|
export { reflectType };
|
package/dist/reflect-type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Type } from '@powerlines/deepkit/vendor/type';
|
|
2
2
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
3
|
-
import {
|
|
4
|
-
import { PluginContext } from 'powerlines
|
|
3
|
+
import { BuildOptions } from 'esbuild';
|
|
4
|
+
import { PluginContext } from 'powerlines';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Compiles a type definition to a module.
|
|
@@ -11,6 +11,6 @@ import { PluginContext } from 'powerlines/types/context';
|
|
|
11
11
|
* @param overrides - Optional overrides for the ESBuild configuration.
|
|
12
12
|
* @returns A promise that resolves to the compiled module.
|
|
13
13
|
*/
|
|
14
|
-
declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<
|
|
14
|
+
declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<BuildOptions>): Promise<Type>;
|
|
15
15
|
|
|
16
16
|
export { reflectType };
|
package/dist/reflect-type.js
CHANGED
package/dist/transformer.d.cts
CHANGED
package/dist/transformer.d.ts
CHANGED
package/dist/transpile.d.cts
CHANGED
package/dist/transpile.d.ts
CHANGED