Socket
Socket
Sign inDemoInstall

ng-lazy-load-component

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-lazy-load-component - npm Package Compare versions

Comparing version 15.0.7 to 16.0.1

esm2022/lib/ng-lazy-load-component.component.mjs

0

index.d.ts

@@ -0,0 +0,0 @@ /**

16

lib/ng-lazy-load-component.component.d.ts
import { Injector, Type, ComponentRef, EventEmitter, OnDestroy, OnChanges } from '@angular/core';
import * as i0 from "@angular/core";
declare type ExtractEventEmitter<P> = P extends EventEmitter<infer T> ? T : never;
declare type ComponentChange<T, P extends keyof T> = {
type ExtractEventEmitter<P> = P extends EventEmitter<infer T> ? T : never;
type ComponentChange<T, P extends keyof T> = {
previousValue: T[P];

@@ -9,6 +9,6 @@ currentValue: T[P];

};
declare type ComponentChanges<T> = {
type ComponentChanges<T> = {
[P in keyof T]?: ComponentChange<T, P>;
};
export declare type NgLazyLoadComponentImporter = () => Promise<{
export type NgLazyLoadComponentImporter = () => Promise<{
component: Type<any>;

@@ -18,8 +18,8 @@ module?: Type<any>;

}>;
export declare type NgLazyLoadComponentOutput<T = Record<string, any>> = {
export type NgLazyLoadComponentOutput<T = Record<string, any>> = {
property: keyof T;
value: ExtractEventEmitter<T[keyof T]> | any;
};
export declare type NgLazyLoadComponentInput<T = Record<string, any>, P extends keyof T = keyof T> = T[P];
export declare type NgLazyLoadComponentMultiInput<T = Record<string, any>> = Partial<T>;
export type NgLazyLoadComponentInput<T = Record<string, any>, P extends keyof T = keyof T> = T[P];
export type NgLazyLoadComponentMultiInput<T = Record<string, any>> = Partial<T>;
export declare class NgLazyLoadComponentComponent implements OnDestroy, OnChanges {

@@ -87,4 +87,4 @@ private injector;

static ɵfac: i0.ɵɵFactoryDeclaration<NgLazyLoadComponentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgLazyLoadComponentComponent, "ng-lazy-load-component", never, { "lazyImporter": "lazyImporter"; "componentInput": "componentInput"; }, { "componentOutput": "componentOutput"; "loaded": "loaded"; "failed": "failed"; }, never, ["[loading]", "[error]"], false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgLazyLoadComponentComponent, "ng-lazy-load-component", never, { "lazyImporter": { "alias": "lazyImporter"; "required": false; }; "componentInput": { "alias": "componentInput"; "required": false; }; }, { "componentOutput": "componentOutput"; "loaded": "loaded"; "failed": "failed"; }, never, ["[loading]", "[error]"], false, never>;
}
export {};

@@ -0,0 +0,0 @@ import * as i0 from "@angular/core";

{
"name": "ng-lazy-load-component",
"version": "15.0.7",
"version": "16.0.1",
"description": "Lazy load Angular component into HTML template without routing.",

@@ -19,4 +19,4 @@ "repository": {

"peerDependencies": {
"@angular/common": "^15.0.0",
"@angular/core": "^15.0.0"
"@angular/common": ">15.0.0",
"@angular/core": ">15.0.0"
},

@@ -26,7 +26,3 @@ "dependencies": {

},
"module": "fesm2015/ng-lazy-load-component.mjs",
"es2020": "fesm2020/ng-lazy-load-component.mjs",
"esm2020": "esm2020/ng-lazy-load-component.mjs",
"fesm2020": "fesm2020/ng-lazy-load-component.mjs",
"fesm2015": "fesm2015/ng-lazy-load-component.mjs",
"module": "fesm2022/ng-lazy-load-component.mjs",
"typings": "index.d.ts",

@@ -39,7 +35,5 @@ "exports": {

"types": "./index.d.ts",
"esm2020": "./esm2020/ng-lazy-load-component.mjs",
"es2020": "./fesm2020/ng-lazy-load-component.mjs",
"es2015": "./fesm2015/ng-lazy-load-component.mjs",
"node": "./fesm2015/ng-lazy-load-component.mjs",
"default": "./fesm2020/ng-lazy-load-component.mjs"
"esm2022": "./esm2022/ng-lazy-load-component.mjs",
"esm": "./esm2022/ng-lazy-load-component.mjs",
"default": "./fesm2022/ng-lazy-load-component.mjs"
}

@@ -46,0 +40,0 @@ },

export * from './lib/ng-lazy-load-component.module';
export * from './lib/ng-lazy-load-component.component';
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