Socket
Socket
Sign inDemoInstall

intact-angular

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intact-angular - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

dist/lib/intact-angular.d.ts

@@ -35,3 +35,3 @@ import Intact from 'intact/dist/index';

ngAfterViewChecked(): boolean;
destroy(lastVNode: any, nextVNode: any, parentDom: any): void;
destroy(lastVNode: any, nextVNode: any, parentDom: any, fromSelf: any): void;
ngOnDestroy(): void;

@@ -38,0 +38,0 @@ _normalizeProps(): {

@@ -150,5 +150,5 @@ import * as tslib_1 from "tslib";

};
IntactAngular.prototype.destroy = function (lastVNode, nextVNode, parentDom) {
if (this._isAngular) {
// maybe the parent that is Angular element has been destroyed by Angular
IntactAngular.prototype.destroy = function (lastVNode, nextVNode, parentDom, fromSelf) {
if (!fromSelf && this._isAngular) {
// maybe the parent which is an Angular element has been destroyed by Angular
if (this._hasDestroyedByAngular)

@@ -169,3 +169,3 @@ return;

this._hasDestroyedByAngular = true;
_super.prototype.destroy.call(this);
this.destroy(null, null, null, true);
};

@@ -172,0 +172,0 @@ IntactAngular.prototype._normalizeProps = function () {

@@ -183,5 +183,5 @@ import Intact from 'intact/dist/index';

destroy(lastVNode, nextVNode, parentDom) {
if (this._isAngular) {
// maybe the parent that is Angular element has been destroyed by Angular
destroy(lastVNode, nextVNode, parentDom, fromSelf) {
if (!fromSelf && this._isAngular) {
// maybe the parent which is an Angular element has been destroyed by Angular
if (this._hasDestroyedByAngular) return;

@@ -202,3 +202,3 @@

this._hasDestroyedByAngular = true;
super.destroy();
this.destroy(null, null, null, true);
}

@@ -205,0 +205,0 @@

{
"name": "intact-angular",
"version": "0.1.2",
"version": "0.1.3",
"scripts": {

@@ -34,3 +34,3 @@ "ng": "ng",

"@angular-builders/custom-webpack": "^8.2.0",
"@angular-devkit/build-angular": "~0.803.1",
"@angular-devkit/build-angular": "^0.803.21",
"@angular/animations": "~8.2.3",

@@ -37,0 +37,0 @@ "@angular/cli": "~8.3.1",

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