Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular/compiler-cli

Package Overview
Dependencies
Maintainers
1
Versions
843
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/compiler-cli - npm Package Compare versions

Comparing version 2.1.0-beta.0 to 2.1.0-rc.0

10

package.json
{
"name": "@angular/compiler-cli",
"version": "2.1.0-beta.0",
"version": "2.1.0-rc.0",
"description": "Angular - the compiler CLI for Node.js",

@@ -14,3 +14,3 @@ "main": "index.js",

"reflect-metadata": "^0.1.2",
"parse5": "1.3.2",
"parse5": "^2.2.1",
"minimist": "^1.2.0"

@@ -20,5 +20,5 @@ },

"typescript": "^2.0.2",
"@angular/compiler": "2.1.0-beta.0",
"@angular/platform-server": "2.1.0-beta.0",
"@angular/core": "2.1.0-beta.0"
"@angular/compiler": "2.1.0-rc.0",
"@angular/platform-server": "2.1.0-rc.0",
"@angular/core": "2.1.0-rc.0"
},

@@ -25,0 +25,0 @@ "repository": {

@@ -28,3 +28,3 @@ /**

codegen(): Promise<any>;
static create(options: AngularCompilerOptions, cliOptions: NgcCliOptions, program: ts.Program, compilerHost: ts.CompilerHost, reflectorHostContext?: ReflectorHostContext, resourceLoader?: compiler.ResourceLoader): CodeGenerator;
static create(options: AngularCompilerOptions, cliOptions: NgcCliOptions, program: ts.Program, compilerHost: ts.CompilerHost, reflectorHostContext?: ReflectorHostContext, resourceLoader?: compiler.ResourceLoader, reflectorHost?: ReflectorHost): CodeGenerator;
}

@@ -118,3 +118,3 @@ /**

};
CodeGenerator.create = function (options, cliOptions, program, compilerHost, reflectorHostContext, resourceLoader) {
CodeGenerator.create = function (options, cliOptions, program, compilerHost, reflectorHostContext, resourceLoader, reflectorHost) {
resourceLoader = resourceLoader || {

@@ -139,6 +139,8 @@ get: function (s) {

var urlResolver = compiler.createOfflineCompileUrlResolver();
var usePathMapping = !!options.rootDirs && options.rootDirs.length > 0;
var reflectorHost = usePathMapping ?
new path_mapped_reflector_host_1.PathMappedReflectorHost(program, compilerHost, options, reflectorHostContext) :
new reflector_host_1.ReflectorHost(program, compilerHost, options, reflectorHostContext);
if (!reflectorHost) {
var usePathMapping = !!options.rootDirs && options.rootDirs.length > 0;
reflectorHost = usePathMapping ?
new path_mapped_reflector_host_1.PathMappedReflectorHost(program, compilerHost, options, reflectorHostContext) :
new reflector_host_1.ReflectorHost(program, compilerHost, options, reflectorHostContext);
}
var staticReflector = new static_reflector_1.StaticReflector(reflectorHost);

@@ -145,0 +147,0 @@ static_reflection_capabilities_1.StaticAndDynamicReflectionCapabilities.install(staticReflector);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc