You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@angular-devkit/core

Package Overview
Dependencies
Maintainers
3
Versions
945
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/core - npm Package Compare versions

Comparing version
9.0.0-rc.8
to
9.0.0-rc.9
+2
-2
node/host.d.ts

@@ -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>;
}
{
"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;