@angular-devkit/schematics
Advanced tools
+4
-4
| { | ||
| "name": "@angular-devkit/schematics", | ||
| "version": "21.1.2", | ||
| "version": "21.2.0-next.0", | ||
| "description": "Angular Schematics - Library", | ||
@@ -21,6 +21,6 @@ "main": "src/index.js", | ||
| "dependencies": { | ||
| "@angular-devkit/core": "21.1.2", | ||
| "@angular-devkit/core": "21.2.0-next.0", | ||
| "jsonc-parser": "3.3.1", | ||
| "magic-string": "0.30.21", | ||
| "ora": "9.0.0", | ||
| "ora": "9.1.0", | ||
| "rxjs": "7.8.2" | ||
@@ -32,3 +32,3 @@ }, | ||
| }, | ||
| "packageManager": "pnpm@10.28.1", | ||
| "packageManager": "pnpm@10.28.2", | ||
| "engines": { | ||
@@ -35,0 +35,0 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0", |
@@ -11,4 +11,6 @@ /** | ||
| import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, TreeSymbol, UpdateRecorder } from './interface'; | ||
| export interface DelegateTree { | ||
| } | ||
| export declare class DelegateTree implements Tree { | ||
| [TreeSymbol]: () => this; | ||
| [TreeSymbol]: () => DelegateTree; | ||
| protected _other: Tree; | ||
@@ -15,0 +17,0 @@ constructor(_other: Tree); |
@@ -12,2 +12,3 @@ "use strict"; | ||
| const interface_1 = require("./interface"); | ||
| // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
| class DelegateTree { | ||
@@ -17,2 +18,3 @@ _other; | ||
| this._other = _other; | ||
| this[interface_1.TreeSymbol] = () => this; | ||
| } | ||
@@ -76,7 +78,4 @@ branch() { | ||
| } | ||
| [interface_1.TreeSymbol]() { | ||
| return this; | ||
| } | ||
| } | ||
| exports.DelegateTree = DelegateTree; | ||
| //# sourceMappingURL=delegate.js.map |
@@ -24,4 +24,6 @@ /** | ||
| } | ||
| export interface HostTree { | ||
| } | ||
| export declare class HostTree implements Tree { | ||
| [TreeSymbol]: () => this; | ||
| [TreeSymbol]: () => HostTree; | ||
| protected _backend: virtualFs.ReadonlyHost<{}>; | ||
@@ -28,0 +30,0 @@ private readonly _id; |
@@ -65,2 +65,3 @@ "use strict"; | ||
| exports.HostDirEntry = HostDirEntry; | ||
| // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
| class HostTree { | ||
@@ -73,5 +74,2 @@ _backend; | ||
| _dirCache = new Map(); | ||
| [interface_1.TreeSymbol]() { | ||
| return this; | ||
| } | ||
| static isHostTree(tree) { | ||
@@ -88,2 +86,3 @@ if (tree instanceof HostTree) { | ||
| this._backend = _backend; | ||
| this[interface_1.TreeSymbol] = () => this; | ||
| this._record = new core_1.virtualFs.CordHost(new core_1.virtualFs.SafeReadonlyHost(_backend)); | ||
@@ -90,0 +89,0 @@ this._recordSync = new core_1.virtualFs.SyncDelegateHost(this._record); |
@@ -24,4 +24,7 @@ /** | ||
| } | ||
| export interface NullTree { | ||
| } | ||
| export declare class NullTree implements Tree { | ||
| [TreeSymbol]: () => this; | ||
| [TreeSymbol]: () => NullTree; | ||
| constructor(); | ||
| branch(): Tree; | ||
@@ -28,0 +31,0 @@ merge(_other: Tree, _strategy?: MergeStrategy): void; |
+3
-2
@@ -40,5 +40,6 @@ "use strict"; | ||
| exports.NullTreeDirEntry = NullTreeDirEntry; | ||
| // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
| class NullTree { | ||
| [interface_1.TreeSymbol]() { | ||
| return this; | ||
| constructor() { | ||
| this[interface_1.TreeSymbol] = () => this; | ||
| } | ||
@@ -45,0 +46,0 @@ branch() { |
@@ -23,4 +23,6 @@ /** | ||
| } | ||
| export interface ScopedTree { | ||
| } | ||
| export declare class ScopedTree implements Tree { | ||
| [TreeSymbol]: () => this; | ||
| [TreeSymbol]: () => ScopedTree; | ||
| private _base; | ||
@@ -27,0 +29,0 @@ readonly _root: ScopedDirEntry; |
@@ -64,2 +64,3 @@ "use strict"; | ||
| } | ||
| // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging | ||
| class ScopedTree { | ||
@@ -70,2 +71,3 @@ _base; | ||
| this._base = _base; | ||
| this[interface_1.TreeSymbol] = () => this; | ||
| const normalizedScope = (0, core_1.normalize)('/' + scope); | ||
@@ -159,5 +161,2 @@ this._root = new ScopedDirEntry(this._base.getDir(normalizedScope), normalizedScope); | ||
| } | ||
| [interface_1.TreeSymbol]() { | ||
| return this; | ||
| } | ||
| _fullPath(path) { | ||
@@ -164,0 +163,0 @@ return (0, core_1.join)(this._root.scope, (0, core_1.normalize)('/' + path)); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance 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 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
373507
0.15%6086
0.12%1
Infinity%+ Added
+ Added
- Removed
- Removed
Updated