build: update npm dependencies (#19328)

PR Close #19328
This commit is contained in:
Olivier Combe
2017-09-22 19:51:03 +02:00
committed by Igor Minar
parent f48b343af1
commit 0f5c70d563
86 changed files with 965 additions and 1565 deletions
+2 -2
View File
@@ -329,7 +329,7 @@ export class CompilerHost extends BaseAotCompilerHost<CompilerHostContext> {
this.moduleFileNames.set(key, result);
}
return result;
};
}
/**
* We want a moduleId that will appear in import statements in the generated code.
@@ -401,7 +401,7 @@ export class CompilerHost extends BaseAotCompilerHost<CompilerHostContext> {
private rewriteGenDirPath(filepath: string) {
const nodeModulesIndex = filepath.indexOf(NODE_MODULES);
if (nodeModulesIndex !== -1) {
// If we are in node_modulse, transplant them into `genDir`.
// If we are in node_modules, transplant them into `genDir`.
return path.join(this.genDir, filepath.substring(nodeModulesIndex));
} else {
// pretend that containing file is on top of the `genDir` to normalize the paths.
@@ -401,7 +401,7 @@ export class TsCompilerAotCompilerTypeCheckHostAdapter extends
readFile = (fileName: string) => this.context.readFile(fileName);
getDefaultLibFileName = (options: ts.CompilerOptions) =>
this.context.getDefaultLibFileName(options);
this.context.getDefaultLibFileName(options)
getCurrentDirectory = () => this.context.getCurrentDirectory();
getCanonicalFileName = (fileName: string) => this.context.getCanonicalFileName(fileName);
useCaseSensitiveFileNames = () => this.context.useCaseSensitiveFileNames();
@@ -317,7 +317,6 @@ class _NodeEmitterVisitor implements StatementVisitor, ExpressionVisitor {
ts.createConditional(
expr.condition.visitExpression(this, null), expr.trueCase.visitExpression(this, null),
expr.falseCase !.visitExpression(this, null)));
;
}
visitNotExpr(expr: NotExpr): RecordedNode<ts.PrefixUnaryExpression> {