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

@nguniversal/module-map-ngfactory-loader

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nguniversal/module-map-ngfactory-loader - npm Package Compare versions

Comparing version 5.0.0 to 6.0.0-rc.0

typings/esm5/public_api.d.ts

2

bundles/module-map-ngfactory-loader.umd.js

@@ -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

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