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

@trademe/ng-defer-load

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trademe/ng-defer-load - npm Package Compare versions

Comparing version 3.1.0-beta.2 to 3.1.0-beta.3

12

dist/defer-load.directive.js

@@ -34,3 +34,4 @@ "use strict";

DeferLoadDirective.prototype.ngOnInit = function () {
if (common_1.isPlatformServer(this.platformId) && this.preRender === true) {
if ((common_1.isPlatformServer(this.platformId) && this.preRender === true) ||
(common_1.isPlatformBrowser(this.platformId) && this.fallbackEnabled === false && !this.hasCompatibleBrowser())) {
this.load();

@@ -47,9 +48,4 @@ }

}
else {
if (this.fallbackEnabled === true) {
this.addScrollListeners();
}
else {
this.load();
}
else if (this.fallbackEnabled === true) {
this.addScrollListeners();
}

@@ -56,0 +52,0 @@ }

{
"name": "@trademe/ng-defer-load",
"version": "3.1.0-beta.2",
"version": "3.1.0-beta.3",
"description": "Angular directive to load elements lazily",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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