@nguniversal/module-map-ngfactory-loader
Advanced tools
Comparing version 5.0.0 to 6.0.0-rc.0
@@ -140,4 +140,2 @@ /** | ||
]; | ||
/** @nocollapse */ | ||
ModuleMapLoaderModule.ctorParameters = function () { return []; }; | ||
return ModuleMapLoaderModule; | ||
@@ -144,0 +142,0 @@ }()); |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@nguniversal/module-map-ngfactory-loader",["exports","@angular/core"],o):o((e.nguniversal=e.nguniversal||{},e.nguniversal.moduleMapNgfactoryLoader={}),e.ng.core)}(this,function(e,o){"use strict";function r(e){return{provide:t,useValue:e}}var t=new o.InjectionToken("MODULE_MAP"),n=function(){function e(e,o){this.compiler=e,this.moduleMap=o}return e.prototype.load=function(e){var r=this.compiler instanceof o.Compiler,t=this.moduleMap[e];if(!t)throw new Error(e+" did not exist in the MODULE_MAP");return r?this.loadFactory(t):this.loadAndCompile(t)},e.prototype.loadFactory=function(e){return new Promise(function(o){return o(e)})},e.prototype.loadAndCompile=function(e){return this.compiler.compileModuleAsync(e)},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:o.Compiler},{type:void 0,decorators:[{type:o.Inject,args:[t]}]}]},e}(),i=function(){function e(){}return e.withMap=function(o){return{ngModule:e,providers:[{provide:t,useValue:o}]}},e.decorators=[{type:o.NgModule,args:[{providers:[{provide:o.NgModuleFactoryLoader,useClass:n}]}]}],e.ctorParameters=function(){return[]},e}();e.provideModuleMap=r,e.ModuleMapLoaderModule=i,e.MODULE_MAP=t,e.ModuleMapNgFactoryLoader=n,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@nguniversal/module-map-ngfactory-loader",["exports","@angular/core"],o):o((e.nguniversal=e.nguniversal||{},e.nguniversal.moduleMapNgfactoryLoader={}),e.ng.core)}(this,function(e,o){"use strict";function r(e){return{provide:t,useValue:e}}var t=new o.InjectionToken("MODULE_MAP"),n=function(){function e(e,o){this.compiler=e,this.moduleMap=o}return e.prototype.load=function(e){var r=this.compiler instanceof o.Compiler,t=this.moduleMap[e];if(!t)throw new Error(e+" did not exist in the MODULE_MAP");return r?this.loadFactory(t):this.loadAndCompile(t)},e.prototype.loadFactory=function(e){return new Promise(function(o){return o(e)})},e.prototype.loadAndCompile=function(e){return this.compiler.compileModuleAsync(e)},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:o.Compiler},{type:void 0,decorators:[{type:o.Inject,args:[t]}]}]},e}(),i=function(){function e(){}return e.withMap=function(o){return{ngModule:e,providers:[{provide:t,useValue:o}]}},e.decorators=[{type:o.NgModule,args:[{providers:[{provide:o.NgModuleFactoryLoader,useClass:n}]}]}],e}();e.provideModuleMap=r,e.ModuleMapLoaderModule=i,e.MODULE_MAP=t,e.ModuleMapNgFactoryLoader=n,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=module-map-ngfactory-loader.umd.min.js.map |
@@ -115,4 +115,2 @@ /** | ||
]; | ||
/** @nocollapse */ | ||
ModuleMapLoaderModule.ctorParameters = () => []; | ||
@@ -119,0 +117,0 @@ /** |
@@ -136,4 +136,2 @@ /** | ||
]; | ||
/** @nocollapse */ | ||
ModuleMapLoaderModule.ctorParameters = function () { return []; }; | ||
return ModuleMapLoaderModule; | ||
@@ -140,0 +138,0 @@ }()); |
{ | ||
"name": "@nguniversal/module-map-ngfactory-loader", | ||
"version": "5.0.0", | ||
"version": "6.0.0-rc.0", | ||
"description": "NgFactoryLoader which uses a Map to load ngfactories without lazy loading", | ||
"main": "./bundles/module-map-ngfactory-loader.umd.js", | ||
"module": "./esm5/module-map-ngfactory-loader.es5.js", | ||
"es2015": "./esm2015/module-map-ngfactory-loader.js", | ||
"typings": "./module-map-ngfactory-loader.d.ts", | ||
"license": "MIT", | ||
@@ -17,6 +13,9 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": "^5.0.0", | ||
"@angular/core": "^5.0.0", | ||
"@angular/platform-server": "^5.0.0" | ||
"@angular/common": "NG_VERSION", | ||
"@angular/core": "NG_VERSION", | ||
"@angular/platform-server": "NG_VERSION" | ||
}, | ||
"ng-update": { | ||
"packageGroup": "NG_UPDATE_PACKAGE_GROUP" | ||
}, | ||
"repository": { | ||
@@ -23,0 +22,0 @@ "type": "git", |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export * from './public-api'; | ||
export * from './public_api'; | ||
export { ModuleMap as ɵa } from './src/module-map'; |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export * from './public-api'; | ||
export * from './public_api'; | ||
export { ModuleMap as ɵa } from './src/module-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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
45015
626
2