@angular-devkit/core 19.0.0-next.0 → 19.0.0-next.10
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/LICENSE +5 -5
- package/package.json +3 -3
- package/src/logger/level.d.ts +2 -2
- package/src/utils/partially-ordered-set.d.ts +4 -4
- package/src/utils/partially-ordered-set.js +1 -0
- package/src/virtual-fs/host/buffer.d.ts +0 -3
- package/src/virtual-fs/host/buffer.js +0 -6
- package/src/workspace/definitions.d.ts +4 -4
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
|
10
10
|
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
copies or substantial portions of the Software.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
SOFTWARE.
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/core",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.10",
|
|
4
4
|
"description": "Angular DevKit - Core Utility Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"source-map": "0.7.4"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"chokidar": "^
|
|
41
|
+
"chokidar": "^4.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"chokidar": {
|
|
45
45
|
"optional": true
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"packageManager": "yarn@4.
|
|
48
|
+
"packageManager": "yarn@4.5.0",
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "https://github.com/angular/angular-cli.git"
|
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: Logger | null, levelTransform: (level: LogLevel) => LogLevel);
|
|
14
|
+
constructor(name: string, parent: (Logger | null) | undefined, 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: Logger | null, levelCap: LogLevel);
|
|
27
|
+
constructor(name: string, parent: (Logger | null) | undefined, levelCap: LogLevel);
|
|
28
28
|
}
|
|
@@ -22,17 +22,17 @@ export declare class PartiallyOrderedSet<T> implements Set<T> {
|
|
|
22
22
|
/**
|
|
23
23
|
* Returns an iterable of [v,v] pairs for every value `v` in the set.
|
|
24
24
|
*/
|
|
25
|
-
entries():
|
|
25
|
+
entries(): SetIterator<[T, T]>;
|
|
26
26
|
/**
|
|
27
27
|
* Despite its name, returns an iterable of the values in the set,
|
|
28
28
|
*/
|
|
29
|
-
keys():
|
|
29
|
+
keys(): SetIterator<T>;
|
|
30
30
|
/**
|
|
31
31
|
* Returns an iterable of values in the set.
|
|
32
32
|
*/
|
|
33
|
-
values():
|
|
33
|
+
values(): SetIterator<T>;
|
|
34
34
|
add(item: T, deps?: Set<T> | T[]): this;
|
|
35
35
|
delete(item: T): boolean;
|
|
36
|
-
[Symbol.iterator](): Generator<T,
|
|
36
|
+
[Symbol.iterator](): Generator<T, undefined, unknown>;
|
|
37
37
|
get [Symbol.toStringTag](): 'Set';
|
|
38
38
|
}
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
import { TemplateTag } from '../../utils/literals';
|
|
9
8
|
import { FileBuffer } from './interface';
|
|
10
9
|
export declare function stringToFileBuffer(str: string): FileBuffer;
|
|
11
10
|
export declare function fileBufferToString(fileBuffer: FileBuffer): string;
|
|
12
|
-
/** @deprecated use `stringToFileBuffer` instead. */
|
|
13
|
-
export declare const fileBuffer: TemplateTag<FileBuffer>;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.fileBuffer = void 0;
|
|
11
10
|
exports.stringToFileBuffer = stringToFileBuffer;
|
|
12
11
|
exports.fileBufferToString = fileBufferToString;
|
|
13
12
|
const node_util_1 = require("node:util");
|
|
@@ -20,8 +19,3 @@ function fileBufferToString(fileBuffer) {
|
|
|
20
19
|
}
|
|
21
20
|
return new node_util_1.TextDecoder('utf-8').decode(new Uint8Array(fileBuffer));
|
|
22
21
|
}
|
|
23
|
-
/** @deprecated use `stringToFileBuffer` instead. */
|
|
24
|
-
const fileBuffer = (strings, ...values) => {
|
|
25
|
-
return stringToFileBuffer(String.raw(strings, ...values));
|
|
26
|
-
};
|
|
27
|
-
exports.fileBuffer = fileBuffer;
|
|
@@ -34,10 +34,10 @@ declare class DefinitionCollection<V extends object> implements ReadonlyMap<stri
|
|
|
34
34
|
get(key: string): V | undefined;
|
|
35
35
|
has(key: string): boolean;
|
|
36
36
|
get size(): number;
|
|
37
|
-
[Symbol.iterator]():
|
|
38
|
-
entries():
|
|
39
|
-
keys():
|
|
40
|
-
values():
|
|
37
|
+
[Symbol.iterator](): MapIterator<[string, V]>;
|
|
38
|
+
entries(): MapIterator<[string, V]>;
|
|
39
|
+
keys(): MapIterator<string>;
|
|
40
|
+
values(): MapIterator<V>;
|
|
41
41
|
}
|
|
42
42
|
export declare class ProjectDefinitionCollection extends DefinitionCollection<ProjectDefinition> {
|
|
43
43
|
constructor(initial?: Record<string, ProjectDefinition>, listener?: DefinitionCollectionListener<ProjectDefinition>);
|