@kubb/core 1.11.0-canary.20231010T200257 → 1.11.0-canary.20231011T124923
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/index.cjs +20 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -9
- package/dist/index.d.ts +36 -9
- package/dist/index.js +20 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
package/dist/index.d.cts
CHANGED
|
@@ -23,8 +23,8 @@ type PathMode = 'file' | 'directory';
|
|
|
23
23
|
declare function getPathMode(path: string | undefined | null): PathMode;
|
|
24
24
|
declare function read(path: string): Promise<string>;
|
|
25
25
|
|
|
26
|
-
type
|
|
27
|
-
name
|
|
26
|
+
type FunctionParamsAST = {
|
|
27
|
+
name?: string;
|
|
28
28
|
type?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @default true
|
|
@@ -35,12 +35,24 @@ type FunctionParamsAst = {
|
|
|
35
35
|
*/
|
|
36
36
|
enabled?: boolean;
|
|
37
37
|
default?: string;
|
|
38
|
+
} | {
|
|
39
|
+
name?: never;
|
|
40
|
+
type: string;
|
|
41
|
+
/**
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
required?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
default?: string;
|
|
38
50
|
};
|
|
39
51
|
/**
|
|
40
52
|
* Convert an string array to a string of parameters that can be used inside a function
|
|
41
53
|
* The parameter name is converted to `camelcase`
|
|
42
54
|
*/
|
|
43
|
-
declare function createFunctionParams(
|
|
55
|
+
declare function createFunctionParams(ast: FunctionParamsAST[]): string;
|
|
44
56
|
|
|
45
57
|
declare function nameSorter<T extends {
|
|
46
58
|
name: string;
|
|
@@ -71,6 +83,7 @@ declare class Queue {
|
|
|
71
83
|
run<T>(job: QueueJob<T>, options?: RunOptions): Promise<T>;
|
|
72
84
|
runSync<T>(job: QueueJob<T>, options?: RunOptions): void;
|
|
73
85
|
get hasJobs(): boolean;
|
|
86
|
+
get count(): number;
|
|
74
87
|
private work;
|
|
75
88
|
}
|
|
76
89
|
|
|
@@ -292,6 +305,15 @@ declare class FileManager {
|
|
|
292
305
|
read(...params: Parameters<typeof read>): Promise<string>;
|
|
293
306
|
}
|
|
294
307
|
|
|
308
|
+
declare class EventEmitter<TEvents extends Record<string, any>> {
|
|
309
|
+
constructor();
|
|
310
|
+
private emitter;
|
|
311
|
+
emit<TEventName extends keyof TEvents & string>(eventName: TEventName, ...eventArg: TEvents[TEventName]): void;
|
|
312
|
+
on<TEventName extends keyof TEvents & string>(eventName: TEventName, handler: (...eventArg: TEvents[TEventName]) => void): void;
|
|
313
|
+
off<TEventName extends keyof TEvents & string>(eventName: TEventName, handler: (...eventArg: TEvents[TEventName]) => void): void;
|
|
314
|
+
removeAll(): void;
|
|
315
|
+
}
|
|
316
|
+
|
|
295
317
|
declare class PluginError extends Error {
|
|
296
318
|
pluginManager: PluginManager;
|
|
297
319
|
cause: Error;
|
|
@@ -334,11 +356,11 @@ type Events = {
|
|
|
334
356
|
declare class PluginManager {
|
|
335
357
|
plugins: KubbPlugin[];
|
|
336
358
|
readonly fileManager: FileManager;
|
|
359
|
+
readonly eventEmitter: EventEmitter<Events>;
|
|
360
|
+
readonly queue: Queue;
|
|
361
|
+
readonly executed: Executer[];
|
|
362
|
+
readonly logger: Logger;
|
|
337
363
|
private readonly core;
|
|
338
|
-
queue: Queue;
|
|
339
|
-
executed: Executer[];
|
|
340
|
-
logger: Logger;
|
|
341
|
-
private eventEmitter;
|
|
342
364
|
constructor(config: KubbConfig, options: Options$1);
|
|
343
365
|
resolvePath: (params: ResolvePathParams) => OptionalPath;
|
|
344
366
|
resolveName: (params: ResolveNameParams) => string;
|
|
@@ -656,17 +678,18 @@ type ResolvePathParams<TOptions = Record<string, unknown>> = {
|
|
|
656
678
|
options?: TOptions;
|
|
657
679
|
};
|
|
658
680
|
type ResolveNameParams = {
|
|
681
|
+
name: string;
|
|
659
682
|
/**
|
|
660
683
|
* When set, resolvePath will only call resolvePath of the name of the plugin set here.
|
|
661
684
|
* If not defined it will fall back on the resolvePath of the core plugin.
|
|
662
685
|
*/
|
|
663
686
|
pluginName?: string;
|
|
664
|
-
name: string;
|
|
665
687
|
};
|
|
666
688
|
type PluginContext<TOptions = Record<string, unknown>> = {
|
|
667
689
|
config: KubbConfig;
|
|
668
690
|
cache: Cache<PluginCache>;
|
|
669
691
|
fileManager: FileManager;
|
|
692
|
+
pluginManager: PluginManager;
|
|
670
693
|
addFile: (...file: File[]) => Promise<File[]>;
|
|
671
694
|
resolvePath: (params: ResolvePathParams<TOptions>) => OptionalPath;
|
|
672
695
|
resolveName: (params: ResolveNameParams) => string;
|
|
@@ -686,6 +709,9 @@ declare const LogLevel: {
|
|
|
686
709
|
readonly debug: "debug";
|
|
687
710
|
};
|
|
688
711
|
type LogLevel = keyof typeof LogLevel;
|
|
712
|
+
type AppMeta = {
|
|
713
|
+
pluginManager: PluginManager;
|
|
714
|
+
};
|
|
689
715
|
|
|
690
716
|
type BuildOptions = {
|
|
691
717
|
config: PluginContext['config'];
|
|
@@ -711,6 +737,7 @@ declare function createPlugin<T extends PluginFactoryOptions = PluginFactoryOpti
|
|
|
711
737
|
type Options = {
|
|
712
738
|
config: PluginContext['config'];
|
|
713
739
|
fileManager: FileManager;
|
|
740
|
+
pluginManager: PluginManager;
|
|
714
741
|
resolvePath: PluginContext['resolvePath'];
|
|
715
742
|
resolveName: PluginContext['resolveName'];
|
|
716
743
|
logger: PluginContext['logger'];
|
|
@@ -737,4 +764,4 @@ declare abstract class SchemaGenerator<TOptions extends object, TInput, TOutput>
|
|
|
737
764
|
abstract build(schema: TInput, name: string, description?: string): TOutput;
|
|
738
765
|
}
|
|
739
766
|
|
|
740
|
-
export { Argument0, BuildOutput, CLIOptions, Cache, CacheItem, Executer, Export, Extension, File, FileManager, FileName, Generator, Import, KubbConfig, KubbJSONPlugins, KubbObjectPlugin, KubbObjectPlugins, KubbPlugin, KubbPluginKind, KubbUserConfig, KubbUserPlugin, LogLevel, LogType, Logger, OptionalPath, ParallelPluginError, ParseResult, Path, PathMode, PluginCache, PluginContext, PluginError, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, PossiblePromise, Queue, QueueJob, Register, ResolveNameParams, ResolvePathParams, ResolvedFile, SafeParseResult, SchemaGenerator, Source, Status, Strategy, SummaryError, TransformResult, TreeNode, TreeNodeOptions, URLPath, UUID, ValidationPluginError, Warning, build, clean, combineCodes, combineExports, combineFiles, combineImports, createFileSource, createFunctionParams, createJSDocBlockText, createLogger, createPlugin, createPluginCache, build as default, defaultColours, defineConfig, escape, extensions, getDependedPlugins, getIndexes, getLocation, getPathMode, getRelativePath, getUniqueName, hooks, importModule, isExtensionAllowed, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, jsStringEscape, pluginName as name, nameSorter, normalizeDirectory, pluginName, randomColour, randomPicoColour, read, renderTemplate, throttle, timeout, transformReservedWord, uniqueIdFactory, write };
|
|
767
|
+
export { AppMeta, Argument0, BuildOutput, CLIOptions, Cache, CacheItem, Executer, Export, Extension, File, FileManager, FileName, Generator, Import, KubbConfig, KubbJSONPlugins, KubbObjectPlugin, KubbObjectPlugins, KubbPlugin, KubbPluginKind, KubbUserConfig, KubbUserPlugin, LogLevel, LogType, Logger, OptionalPath, ParallelPluginError, ParseResult, Path, PathMode, PluginCache, PluginContext, PluginError, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, PossiblePromise, Queue, QueueJob, Register, ResolveNameParams, ResolvePathParams, ResolvedFile, SafeParseResult, SchemaGenerator, Source, Status, Strategy, SummaryError, TransformResult, TreeNode, TreeNodeOptions, URLObject, URLPath, UUID, ValidationPluginError, Warning, build, clean, combineCodes, combineExports, combineFiles, combineImports, createFileSource, createFunctionParams, createJSDocBlockText, createLogger, createPlugin, createPluginCache, build as default, defaultColours, defineConfig, escape, extensions, getDependedPlugins, getIndexes, getLocation, getPathMode, getRelativePath, getUniqueName, hooks, importModule, isExtensionAllowed, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, jsStringEscape, pluginName as name, nameSorter, normalizeDirectory, pluginName, randomColour, randomPicoColour, read, renderTemplate, throttle, timeout, transformReservedWord, uniqueIdFactory, write };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ type PathMode = 'file' | 'directory';
|
|
|
23
23
|
declare function getPathMode(path: string | undefined | null): PathMode;
|
|
24
24
|
declare function read(path: string): Promise<string>;
|
|
25
25
|
|
|
26
|
-
type
|
|
27
|
-
name
|
|
26
|
+
type FunctionParamsAST = {
|
|
27
|
+
name?: string;
|
|
28
28
|
type?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @default true
|
|
@@ -35,12 +35,24 @@ type FunctionParamsAst = {
|
|
|
35
35
|
*/
|
|
36
36
|
enabled?: boolean;
|
|
37
37
|
default?: string;
|
|
38
|
+
} | {
|
|
39
|
+
name?: never;
|
|
40
|
+
type: string;
|
|
41
|
+
/**
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
required?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
default?: string;
|
|
38
50
|
};
|
|
39
51
|
/**
|
|
40
52
|
* Convert an string array to a string of parameters that can be used inside a function
|
|
41
53
|
* The parameter name is converted to `camelcase`
|
|
42
54
|
*/
|
|
43
|
-
declare function createFunctionParams(
|
|
55
|
+
declare function createFunctionParams(ast: FunctionParamsAST[]): string;
|
|
44
56
|
|
|
45
57
|
declare function nameSorter<T extends {
|
|
46
58
|
name: string;
|
|
@@ -71,6 +83,7 @@ declare class Queue {
|
|
|
71
83
|
run<T>(job: QueueJob<T>, options?: RunOptions): Promise<T>;
|
|
72
84
|
runSync<T>(job: QueueJob<T>, options?: RunOptions): void;
|
|
73
85
|
get hasJobs(): boolean;
|
|
86
|
+
get count(): number;
|
|
74
87
|
private work;
|
|
75
88
|
}
|
|
76
89
|
|
|
@@ -292,6 +305,15 @@ declare class FileManager {
|
|
|
292
305
|
read(...params: Parameters<typeof read>): Promise<string>;
|
|
293
306
|
}
|
|
294
307
|
|
|
308
|
+
declare class EventEmitter<TEvents extends Record<string, any>> {
|
|
309
|
+
constructor();
|
|
310
|
+
private emitter;
|
|
311
|
+
emit<TEventName extends keyof TEvents & string>(eventName: TEventName, ...eventArg: TEvents[TEventName]): void;
|
|
312
|
+
on<TEventName extends keyof TEvents & string>(eventName: TEventName, handler: (...eventArg: TEvents[TEventName]) => void): void;
|
|
313
|
+
off<TEventName extends keyof TEvents & string>(eventName: TEventName, handler: (...eventArg: TEvents[TEventName]) => void): void;
|
|
314
|
+
removeAll(): void;
|
|
315
|
+
}
|
|
316
|
+
|
|
295
317
|
declare class PluginError extends Error {
|
|
296
318
|
pluginManager: PluginManager;
|
|
297
319
|
cause: Error;
|
|
@@ -334,11 +356,11 @@ type Events = {
|
|
|
334
356
|
declare class PluginManager {
|
|
335
357
|
plugins: KubbPlugin[];
|
|
336
358
|
readonly fileManager: FileManager;
|
|
359
|
+
readonly eventEmitter: EventEmitter<Events>;
|
|
360
|
+
readonly queue: Queue;
|
|
361
|
+
readonly executed: Executer[];
|
|
362
|
+
readonly logger: Logger;
|
|
337
363
|
private readonly core;
|
|
338
|
-
queue: Queue;
|
|
339
|
-
executed: Executer[];
|
|
340
|
-
logger: Logger;
|
|
341
|
-
private eventEmitter;
|
|
342
364
|
constructor(config: KubbConfig, options: Options$1);
|
|
343
365
|
resolvePath: (params: ResolvePathParams) => OptionalPath;
|
|
344
366
|
resolveName: (params: ResolveNameParams) => string;
|
|
@@ -656,17 +678,18 @@ type ResolvePathParams<TOptions = Record<string, unknown>> = {
|
|
|
656
678
|
options?: TOptions;
|
|
657
679
|
};
|
|
658
680
|
type ResolveNameParams = {
|
|
681
|
+
name: string;
|
|
659
682
|
/**
|
|
660
683
|
* When set, resolvePath will only call resolvePath of the name of the plugin set here.
|
|
661
684
|
* If not defined it will fall back on the resolvePath of the core plugin.
|
|
662
685
|
*/
|
|
663
686
|
pluginName?: string;
|
|
664
|
-
name: string;
|
|
665
687
|
};
|
|
666
688
|
type PluginContext<TOptions = Record<string, unknown>> = {
|
|
667
689
|
config: KubbConfig;
|
|
668
690
|
cache: Cache<PluginCache>;
|
|
669
691
|
fileManager: FileManager;
|
|
692
|
+
pluginManager: PluginManager;
|
|
670
693
|
addFile: (...file: File[]) => Promise<File[]>;
|
|
671
694
|
resolvePath: (params: ResolvePathParams<TOptions>) => OptionalPath;
|
|
672
695
|
resolveName: (params: ResolveNameParams) => string;
|
|
@@ -686,6 +709,9 @@ declare const LogLevel: {
|
|
|
686
709
|
readonly debug: "debug";
|
|
687
710
|
};
|
|
688
711
|
type LogLevel = keyof typeof LogLevel;
|
|
712
|
+
type AppMeta = {
|
|
713
|
+
pluginManager: PluginManager;
|
|
714
|
+
};
|
|
689
715
|
|
|
690
716
|
type BuildOptions = {
|
|
691
717
|
config: PluginContext['config'];
|
|
@@ -711,6 +737,7 @@ declare function createPlugin<T extends PluginFactoryOptions = PluginFactoryOpti
|
|
|
711
737
|
type Options = {
|
|
712
738
|
config: PluginContext['config'];
|
|
713
739
|
fileManager: FileManager;
|
|
740
|
+
pluginManager: PluginManager;
|
|
714
741
|
resolvePath: PluginContext['resolvePath'];
|
|
715
742
|
resolveName: PluginContext['resolveName'];
|
|
716
743
|
logger: PluginContext['logger'];
|
|
@@ -737,4 +764,4 @@ declare abstract class SchemaGenerator<TOptions extends object, TInput, TOutput>
|
|
|
737
764
|
abstract build(schema: TInput, name: string, description?: string): TOutput;
|
|
738
765
|
}
|
|
739
766
|
|
|
740
|
-
export { Argument0, BuildOutput, CLIOptions, Cache, CacheItem, Executer, Export, Extension, File, FileManager, FileName, Generator, Import, KubbConfig, KubbJSONPlugins, KubbObjectPlugin, KubbObjectPlugins, KubbPlugin, KubbPluginKind, KubbUserConfig, KubbUserPlugin, LogLevel, LogType, Logger, OptionalPath, ParallelPluginError, ParseResult, Path, PathMode, PluginCache, PluginContext, PluginError, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, PossiblePromise, Queue, QueueJob, Register, ResolveNameParams, ResolvePathParams, ResolvedFile, SafeParseResult, SchemaGenerator, Source, Status, Strategy, SummaryError, TransformResult, TreeNode, TreeNodeOptions, URLPath, UUID, ValidationPluginError, Warning, build, clean, combineCodes, combineExports, combineFiles, combineImports, createFileSource, createFunctionParams, createJSDocBlockText, createLogger, createPlugin, createPluginCache, build as default, defaultColours, defineConfig, escape, extensions, getDependedPlugins, getIndexes, getLocation, getPathMode, getRelativePath, getUniqueName, hooks, importModule, isExtensionAllowed, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, jsStringEscape, pluginName as name, nameSorter, normalizeDirectory, pluginName, randomColour, randomPicoColour, read, renderTemplate, throttle, timeout, transformReservedWord, uniqueIdFactory, write };
|
|
767
|
+
export { AppMeta, Argument0, BuildOutput, CLIOptions, Cache, CacheItem, Executer, Export, Extension, File, FileManager, FileName, Generator, Import, KubbConfig, KubbJSONPlugins, KubbObjectPlugin, KubbObjectPlugins, KubbPlugin, KubbPluginKind, KubbUserConfig, KubbUserPlugin, LogLevel, LogType, Logger, OptionalPath, ParallelPluginError, ParseResult, Path, PathMode, PluginCache, PluginContext, PluginError, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, PossiblePromise, Queue, QueueJob, Register, ResolveNameParams, ResolvePathParams, ResolvedFile, SafeParseResult, SchemaGenerator, Source, Status, Strategy, SummaryError, TransformResult, TreeNode, TreeNodeOptions, URLObject, URLPath, UUID, ValidationPluginError, Warning, build, clean, combineCodes, combineExports, combineFiles, combineImports, createFileSource, createFunctionParams, createJSDocBlockText, createLogger, createPlugin, createPluginCache, build as default, defaultColours, defineConfig, escape, extensions, getDependedPlugins, getIndexes, getLocation, getPathMode, getRelativePath, getUniqueName, hooks, importModule, isExtensionAllowed, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, jsStringEscape, pluginName as name, nameSorter, normalizeDirectory, pluginName, randomColour, randomPicoColour, read, renderTemplate, throttle, timeout, transformReservedWord, uniqueIdFactory, write };
|
package/dist/index.js
CHANGED
|
@@ -128,9 +128,13 @@ var reader = switcher(
|
|
|
128
128
|
async function read(path) {
|
|
129
129
|
return reader(path);
|
|
130
130
|
}
|
|
131
|
-
function createFunctionParams(
|
|
132
|
-
const sortedData = orderBy(
|
|
131
|
+
function createFunctionParams(ast) {
|
|
132
|
+
const sortedData = orderBy(ast, [(v) => !v.default, (v) => v.required ?? true], ["desc", "desc"]);
|
|
133
133
|
return sortedData.filter(({ enabled = true }) => enabled).reduce((acc, { name, type, required = true, ...rest }) => {
|
|
134
|
+
if (!name) {
|
|
135
|
+
acc.push(`${type}${rest.default ? ` = ${rest.default}` : ""}`);
|
|
136
|
+
return acc;
|
|
137
|
+
}
|
|
134
138
|
const parameterName = camelCase(name, { delimiter: "", transform: camelCaseTransformMerge });
|
|
135
139
|
if (type) {
|
|
136
140
|
if (required) {
|
|
@@ -219,6 +223,9 @@ var Queue = class {
|
|
|
219
223
|
get hasJobs() {
|
|
220
224
|
return this.workerCount > 0 || this.queue.length > 0;
|
|
221
225
|
}
|
|
226
|
+
get count() {
|
|
227
|
+
return this.workerCount;
|
|
228
|
+
}
|
|
222
229
|
work() {
|
|
223
230
|
if (this.workerCount >= this.maxParallel) {
|
|
224
231
|
return;
|
|
@@ -1026,7 +1033,7 @@ function createPlugin(factory) {
|
|
|
1026
1033
|
}
|
|
1027
1034
|
var pluginName = "core";
|
|
1028
1035
|
var definePlugin = createPlugin((options) => {
|
|
1029
|
-
const { fileManager, resolvePath, resolveName, logger } = options;
|
|
1036
|
+
const { fileManager, pluginManager, resolvePath, resolveName, logger } = options;
|
|
1030
1037
|
return {
|
|
1031
1038
|
name: pluginName,
|
|
1032
1039
|
options,
|
|
@@ -1040,6 +1047,7 @@ var definePlugin = createPlugin((options) => {
|
|
|
1040
1047
|
},
|
|
1041
1048
|
logger,
|
|
1042
1049
|
fileManager,
|
|
1050
|
+
pluginManager,
|
|
1043
1051
|
async addFile(...files) {
|
|
1044
1052
|
return Promise.all(
|
|
1045
1053
|
files.map((file) => {
|
|
@@ -1068,6 +1076,9 @@ var definePlugin = createPlugin((options) => {
|
|
|
1068
1076
|
};
|
|
1069
1077
|
});
|
|
1070
1078
|
var EventEmitter = class {
|
|
1079
|
+
constructor() {
|
|
1080
|
+
this.emitter.setMaxListeners(100);
|
|
1081
|
+
}
|
|
1071
1082
|
emitter = new EventEmitter$1();
|
|
1072
1083
|
emit(eventName, ...eventArg) {
|
|
1073
1084
|
this.emitter.emit(eventName, ...eventArg);
|
|
@@ -1078,6 +1089,9 @@ var EventEmitter = class {
|
|
|
1078
1089
|
off(eventName, handler) {
|
|
1079
1090
|
this.emitter.off(eventName, handler);
|
|
1080
1091
|
}
|
|
1092
|
+
removeAll() {
|
|
1093
|
+
this.emitter.removeAllListeners();
|
|
1094
|
+
}
|
|
1081
1095
|
};
|
|
1082
1096
|
|
|
1083
1097
|
// src/managers/pluginManager/ParallelPluginError.ts
|
|
@@ -1145,11 +1159,11 @@ var hooks = Object.keys(hookNames);
|
|
|
1145
1159
|
var PluginManager = class {
|
|
1146
1160
|
plugins;
|
|
1147
1161
|
fileManager;
|
|
1148
|
-
|
|
1162
|
+
eventEmitter = new EventEmitter();
|
|
1149
1163
|
queue;
|
|
1150
1164
|
executed = [];
|
|
1151
1165
|
logger;
|
|
1152
|
-
|
|
1166
|
+
core;
|
|
1153
1167
|
constructor(config, options) {
|
|
1154
1168
|
this.logger = options.logger;
|
|
1155
1169
|
this.queue = new Queue(100, options.debug);
|
|
@@ -1157,6 +1171,7 @@ var PluginManager = class {
|
|
|
1157
1171
|
const core = definePlugin({
|
|
1158
1172
|
config,
|
|
1159
1173
|
logger: this.logger,
|
|
1174
|
+
pluginManager: this,
|
|
1160
1175
|
fileManager: this.fileManager,
|
|
1161
1176
|
resolvePath: this.resolvePath.bind(this),
|
|
1162
1177
|
resolveName: this.resolveName.bind(this),
|