@angular/compiler-cli
Advanced tools
Comparing version 4.1.0-beta.0 to 4.1.0-beta.1
{ | ||
"name": "@angular/compiler-cli", | ||
"version": "4.1.0-beta.0", | ||
"version": "4.1.0-beta.1", | ||
"description": "Angular - the compiler CLI for Node.js", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@angular/tsc-wrapped": "4.1.0-beta.0", | ||
"@angular/tsc-wrapped": "4.1.0-beta.1", | ||
"reflect-metadata": "^0.1.2", | ||
@@ -19,4 +19,4 @@ "minimist": "^1.2.0" | ||
"typescript": "^2.0.2", | ||
"@angular/compiler": "4.1.0-beta.0", | ||
"@angular/core": "4.1.0-beta.0" | ||
"@angular/compiler": "4.1.0-beta.1", | ||
"@angular/core": "4.1.0-beta.1" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
@@ -53,3 +53,3 @@ /** | ||
protected getSourceFile(filePath: string): ts.SourceFile; | ||
getMetadataFor(filePath: string): ModuleMetadata[]; | ||
getMetadataFor(filePath: string): ModuleMetadata[] | undefined; | ||
readMetadata(filePath: string, dtsFilePath: string): ModuleMetadata[]; | ||
@@ -56,0 +56,0 @@ private upgradeVersion1Metadata(v1Metadata, dtsFilePath); |
@@ -64,3 +64,3 @@ /** | ||
var key = m + ':' + (containingFile || ''); | ||
var result = this.moduleFileNames.get(key); | ||
var result = this.moduleFileNames.get(key) || null; | ||
if (!result) { | ||
@@ -249,2 +249,3 @@ if (!containingFile || !containingFile.length) { | ||
} | ||
return null; | ||
}; | ||
@@ -251,0 +252,0 @@ CompilerHost.prototype.getOutputFileName = function (sourceFilePath) { |
@@ -78,3 +78,3 @@ /** | ||
var symbolResolver = new compiler_1.StaticSymbolResolver(ngCompilerHost, symbolCache, summaryResolver); | ||
var staticReflector = new compiler_1.StaticReflector(symbolResolver); | ||
var staticReflector = new compiler_1.StaticReflector(summaryResolver, symbolResolver); | ||
var routeMap = ngtools_impl_1.listLazyRoutesOfModule(options.entryModule, ngCompilerHost, staticReflector); | ||
@@ -81,0 +81,0 @@ return Object.keys(routeMap).reduce(function (acc, route) { |
@@ -24,3 +24,3 @@ /** | ||
readonly path: string; | ||
readonly className: string; | ||
readonly className: string | null; | ||
private constructor(path, className?); | ||
@@ -27,0 +27,0 @@ toString(): string; |
@@ -14,3 +14,3 @@ import { AngularCompilerOptions, ModuleMetadata } from '@angular/tsc-wrapped'; | ||
getCanonicalFileName(fileName: string): string; | ||
moduleNameToFileName(m: string, containingFile: string): string; | ||
moduleNameToFileName(m: string, containingFile: string): string | null; | ||
/** | ||
@@ -17,0 +17,0 @@ * We want a moduleId that will appear in import statements in the generated code. |
@@ -62,2 +62,3 @@ /** | ||
} | ||
return null; | ||
}; | ||
@@ -91,3 +92,3 @@ /** | ||
var parts = importModuleName.split(path.sep).filter(function (p) { return !!p; }); | ||
var foundRelativeImport; | ||
var foundRelativeImport = undefined; | ||
for (var index = parts.length - 1; index >= 0; index--) { | ||
@@ -135,2 +136,3 @@ var candidate_1 = parts.slice(index, parts.length).join(path.sep); | ||
} | ||
return null; | ||
}; | ||
@@ -137,0 +139,0 @@ return PathMappedCompilerHost; |
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
exports.VERSION = new core_1.Version('4.1.0-beta.0'); | ||
exports.VERSION = new core_1.Version('4.1.0-beta.1'); | ||
//# sourceMappingURL=version.js.map |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139549
1329
15
+ Added@angular/compiler@4.1.0-beta.1(transitive)
+ Added@angular/core@4.1.0-beta.1(transitive)
+ Added@angular/tsc-wrapped@4.1.0-beta.1(transitive)
- Removed@angular/compiler@4.1.0-beta.0(transitive)
- Removed@angular/core@4.1.0-beta.0(transitive)
- Removed@angular/tsc-wrapped@4.1.0-beta.0(transitive)