@angular-devkit/core 20.0.0-next.7 → 20.0.0-next.9
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/package.json
CHANGED
package/src/logger/level.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class LevelTransformLogger extends Logger {
|
|
|
11
11
|
readonly name: string;
|
|
12
12
|
readonly parent: Logger | null;
|
|
13
13
|
readonly levelTransform: (level: LogLevel) => LogLevel;
|
|
14
|
-
constructor(name: string, parent:
|
|
14
|
+
constructor(name: string, parent: Logger | null, levelTransform: (level: LogLevel) => LogLevel);
|
|
15
15
|
log(level: LogLevel, message: string, metadata?: JsonObject): void;
|
|
16
16
|
createChild(name: string): Logger;
|
|
17
17
|
}
|
|
@@ -24,5 +24,5 @@ export declare class LevelCapLogger extends LevelTransformLogger {
|
|
|
24
24
|
[level: string]: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
constructor(name: string, parent:
|
|
27
|
+
constructor(name: string, parent: Logger | null, levelCap: LogLevel);
|
|
28
28
|
}
|
package/src/logger/level.js
CHANGED
|
@@ -13,7 +13,7 @@ class LevelTransformLogger extends logger_1.Logger {
|
|
|
13
13
|
name;
|
|
14
14
|
parent;
|
|
15
15
|
levelTransform;
|
|
16
|
-
constructor(name, parent
|
|
16
|
+
constructor(name, parent, levelTransform) {
|
|
17
17
|
super(name, parent);
|
|
18
18
|
this.name = name;
|
|
19
19
|
this.parent = parent;
|
|
@@ -38,7 +38,7 @@ class LevelCapLogger extends LevelTransformLogger {
|
|
|
38
38
|
error: { debug: 'debug', info: 'info', warn: 'warn', error: 'error', fatal: 'error' },
|
|
39
39
|
fatal: { debug: 'debug', info: 'info', warn: 'warn', error: 'error', fatal: 'fatal' },
|
|
40
40
|
};
|
|
41
|
-
constructor(name, parent
|
|
41
|
+
constructor(name, parent, levelCap) {
|
|
42
42
|
super(name, parent, (level) => {
|
|
43
43
|
return (LevelCapLogger.levelMap[levelCap][level] || level);
|
|
44
44
|
});
|
|
@@ -33,6 +33,6 @@ export declare class PartiallyOrderedSet<T> implements Set<T> {
|
|
|
33
33
|
values(): SetIterator<T>;
|
|
34
34
|
add(item: T, deps?: Set<T> | T[]): this;
|
|
35
35
|
delete(item: T): boolean;
|
|
36
|
-
[Symbol.iterator]():
|
|
36
|
+
[Symbol.iterator](): IterableIterator<T, undefined, unknown>;
|
|
37
37
|
get [Symbol.toStringTag](): 'Set';
|
|
38
38
|
}
|
|
@@ -10,32 +10,13 @@ import { Path, PathFragment } from '../path';
|
|
|
10
10
|
import { FileBuffer, Host, HostCapabilities, HostWatchEvent, HostWatchEventType, HostWatchOptions, Stats } from './interface';
|
|
11
11
|
export interface SimpleMemoryHostStats {
|
|
12
12
|
readonly content: FileBuffer | null;
|
|
13
|
+
inspect(): string;
|
|
13
14
|
}
|
|
14
15
|
export declare class SimpleMemoryHost implements Host<{}> {
|
|
15
16
|
protected _cache: Map<Path, Stats<SimpleMemoryHostStats>>;
|
|
16
17
|
private _watchers;
|
|
17
|
-
protected _newDirStats():
|
|
18
|
-
|
|
19
|
-
isFile(): boolean;
|
|
20
|
-
isDirectory(): boolean;
|
|
21
|
-
size: number;
|
|
22
|
-
atime: Date;
|
|
23
|
-
ctime: Date;
|
|
24
|
-
mtime: Date;
|
|
25
|
-
birthtime: Date;
|
|
26
|
-
content: null;
|
|
27
|
-
};
|
|
28
|
-
protected _newFileStats(content: FileBuffer, oldStats?: Stats<SimpleMemoryHostStats>): {
|
|
29
|
-
inspect(): string;
|
|
30
|
-
isFile(): boolean;
|
|
31
|
-
isDirectory(): boolean;
|
|
32
|
-
size: number;
|
|
33
|
-
atime: Date;
|
|
34
|
-
ctime: Date;
|
|
35
|
-
mtime: Date;
|
|
36
|
-
birthtime: Date;
|
|
37
|
-
content: ArrayBuffer;
|
|
38
|
-
};
|
|
18
|
+
protected _newDirStats(): Stats<SimpleMemoryHostStats>;
|
|
19
|
+
protected _newFileStats(content: FileBuffer, oldStats?: Stats<SimpleMemoryHostStats>): Stats<SimpleMemoryHostStats>;
|
|
39
20
|
constructor();
|
|
40
21
|
protected _toAbsolute(path: Path): Path;
|
|
41
22
|
protected _updateWatchers(path: Path, type: HostWatchEventType): void;
|
package/src/virtual-fs/path.d.ts
CHANGED
|
@@ -30,12 +30,10 @@ export type PathFragment = Path & {
|
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* The Separator for normalized path.
|
|
33
|
-
* @type {Path}
|
|
34
33
|
*/
|
|
35
34
|
export declare const NormalizedSep: Path;
|
|
36
35
|
/**
|
|
37
36
|
* The root of a normalized path.
|
|
38
|
-
* @type {Path}
|
|
39
37
|
*/
|
|
40
38
|
export declare const NormalizedRoot: Path;
|
|
41
39
|
/**
|
package/src/virtual-fs/path.js
CHANGED
|
@@ -44,12 +44,10 @@ class PathCannotBeFragmentException extends exception_1.BaseException {
|
|
|
44
44
|
exports.PathCannotBeFragmentException = PathCannotBeFragmentException;
|
|
45
45
|
/**
|
|
46
46
|
* The Separator for normalized path.
|
|
47
|
-
* @type {Path}
|
|
48
47
|
*/
|
|
49
48
|
exports.NormalizedSep = '/';
|
|
50
49
|
/**
|
|
51
50
|
* The root of a normalized path.
|
|
52
|
-
* @type {Path}
|
|
53
51
|
*/
|
|
54
52
|
exports.NormalizedRoot = exports.NormalizedSep;
|
|
55
53
|
/**
|