@angular-devkit/core
Advanced tools
+2
-2
@@ -17,3 +17,3 @@ /// <reference types="node" /> | ||
| export declare class NodeJsAsyncHost implements virtualFs.Host<fs.Stats> { | ||
| readonly capabilities: virtualFs.HostCapabilities; | ||
| get capabilities(): virtualFs.HostCapabilities; | ||
| write(path: Path, content: virtualFs.FileBuffer): Observable<void>; | ||
@@ -34,3 +34,3 @@ read(path: Path): Observable<virtualFs.FileBuffer>; | ||
| export declare class NodeJsSyncHost implements virtualFs.Host<fs.Stats> { | ||
| readonly capabilities: virtualFs.HostCapabilities; | ||
| get capabilities(): virtualFs.HostCapabilities; | ||
| write(path: Path, content: virtualFs.FileBuffer): Observable<void>; | ||
@@ -37,0 +37,0 @@ read(path: Path): Observable<virtualFs.FileBuffer>; |
@@ -18,5 +18,5 @@ /// <reference types="node" /> | ||
| constructor(); | ||
| readonly files: Path[]; | ||
| readonly root: Path; | ||
| readonly sync: virtualFs.SyncDelegateHost<fs.Stats>; | ||
| get files(): Path[]; | ||
| get root(): Path; | ||
| get sync(): virtualFs.SyncDelegateHost<fs.Stats>; | ||
| } |
+1
-2
| { | ||
| "name": "@angular-devkit/core", | ||
| "version": "9.0.0-rc.8", | ||
| "version": "9.0.0-rc.9", | ||
| "description": "Angular DevKit - Core Utility Library", | ||
@@ -29,3 +29,2 @@ "main": "src/index.js", | ||
| "npm": ">= 6.11.0", | ||
| "pnpm": ">= 3.2.0", | ||
| "yarn": ">= 1.13.0" | ||
@@ -32,0 +31,0 @@ }, |
@@ -48,6 +48,6 @@ /** | ||
| private _assertLoaded; | ||
| readonly root: Path; | ||
| readonly host: virtualFs.Host<{}>; | ||
| readonly version: number; | ||
| readonly newProjectRoot: string | undefined; | ||
| get root(): Path; | ||
| get host(): virtualFs.Host<{}>; | ||
| get version(): number; | ||
| get newProjectRoot(): string | undefined; | ||
| listProjectNames(): string[]; | ||
@@ -54,0 +54,0 @@ getProject(projectName: string): WorkspaceProject; |
@@ -36,3 +36,4 @@ /** | ||
| private _subscription; | ||
| protected _observable: Observable<LogEntry>; | ||
| protected get _observable(): Observable<LogEntry>; | ||
| protected set _observable(v: Observable<LogEntry>); | ||
| constructor(name: string, parent?: Logger | null); | ||
@@ -39,0 +40,0 @@ asApi(): LoggerApi; |
@@ -20,3 +20,3 @@ /** | ||
| has(item: T): boolean; | ||
| readonly size: number; | ||
| get size(): number; | ||
| forEach(callbackfn: (value: T, value2: T, set: PartiallyOrderedSet<T>) => void, thisArg?: any): void; | ||
@@ -38,3 +38,3 @@ /** | ||
| [Symbol.iterator](): Generator<T, void, unknown>; | ||
| readonly [Symbol.toStringTag]: 'Set'; | ||
| get [Symbol.toStringTag](): 'Set'; | ||
| } |
@@ -17,4 +17,4 @@ /** | ||
| peek(): T | undefined; | ||
| readonly size: number; | ||
| get size(): number; | ||
| toArray(): Array<T>; | ||
| } |
@@ -59,3 +59,3 @@ /** | ||
| protected _resolve(path: Path): Path; | ||
| readonly aliases: Map<Path, Path>; | ||
| get aliases(): Map<Path, Path>; | ||
| } |
@@ -42,3 +42,3 @@ /** | ||
| protected _updateWatchers(path: Path, type: HostWatchEventType): void; | ||
| readonly capabilities: HostCapabilities; | ||
| get capabilities(): HostCapabilities; | ||
| /** | ||
@@ -45,0 +45,0 @@ * List of protected methods that give direct access outside the observables to the cache |
@@ -50,4 +50,4 @@ /** | ||
| constructor(_back: ReadonlyHost); | ||
| readonly backend: ReadonlyHost; | ||
| readonly capabilities: HostCapabilities; | ||
| get backend(): ReadonlyHost; | ||
| get capabilities(): HostCapabilities; | ||
| /** | ||
@@ -54,0 +54,0 @@ * Create a copy of this host, including all actions made. |
@@ -19,3 +19,3 @@ /** | ||
| constructor(_delegate: Host<T>); | ||
| readonly capabilities: HostCapabilities; | ||
| get capabilities(): HostCapabilities; | ||
| write(path: Path, content: FileBuffer): Observable<void>; | ||
@@ -22,0 +22,0 @@ read(path: Path): Observable<FileBuffer>; |
@@ -18,3 +18,3 @@ /** | ||
| constructor(_delegate: ReadonlyHost<StatsT>); | ||
| readonly capabilities: HostCapabilities; | ||
| get capabilities(): HostCapabilities; | ||
| read(path: Path): Observable<FileBuffer>; | ||
@@ -21,0 +21,0 @@ list(path: Path): Observable<PathFragment[]>; |
@@ -22,4 +22,4 @@ /** | ||
| protected _doSyncCall<ResultT>(observable: Observable<ResultT>): ResultT; | ||
| readonly capabilities: HostCapabilities; | ||
| readonly delegate: Host<T>; | ||
| get capabilities(): HostCapabilities; | ||
| get delegate(): Host<T>; | ||
| write(path: Path, content: FileBufferLike): void; | ||
@@ -26,0 +26,0 @@ read(path: Path): FileBuffer; |
@@ -28,6 +28,6 @@ /** | ||
| }); | ||
| readonly records: TestLogRecord[]; | ||
| get records(): TestLogRecord[]; | ||
| clearRecords(): void; | ||
| readonly files: Path[]; | ||
| readonly sync: SyncDelegateHost<{}>; | ||
| get files(): Path[]; | ||
| get sync(): SyncDelegateHost<{}>; | ||
| clone(): TestHost; | ||
@@ -34,0 +34,0 @@ protected _write(path: Path, content: FileBuffer): void; |
@@ -35,3 +35,3 @@ /** | ||
| has(key: string): boolean; | ||
| readonly size: number; | ||
| get size(): number; | ||
| [Symbol.iterator](): IterableIterator<[string, V]>; | ||
@@ -38,0 +38,0 @@ entries(): IterableIterator<[string, V]>; |
@@ -34,4 +34,4 @@ /** | ||
| constructor(filePath: string, ast: JsonAstObject, raw: string); | ||
| readonly hasChanges: boolean; | ||
| readonly changeCount: number; | ||
| get hasChanges(): boolean; | ||
| get changeCount(): number; | ||
| findChangesForPath(path: string): JsonChange[]; | ||
@@ -38,0 +38,0 @@ addChange<T extends keyof ChangeValues = keyof ChangeValues>(op: 'add' | 'remove' | 'replace', path: string, node: JsonAstArray | JsonAstObject | JsonAstKeyValue, value?: ChangeValues[T], type?: T): void; |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
12790
0.01%495980
-0.01%