Socket
Socket
Sign inDemoInstall

angular2-take-until-destroy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-take-until-destroy - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/angular2-take-until-destroy.js

@@ -13,5 +13,5 @@ import { Subject } from 'rxjs/Subject';

originalDestroy && typeof originalDestroy === 'function' && originalDestroy.apply(this, arguments);
this._takeUntilDestroy$ && this._takeUntilDestroy$.complete();
this._takeUntilDestroy$ && this._takeUntilDestroy$.next() && this._takeUntilDestroy$.complete();
};
}
//# sourceMappingURL=angular2-take-until-destroy.js.map
{
"name": "angular2-take-until-destroy",
"version": "2.0.0",
"version": "2.0.1",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "description": "Add take until component destroy for easy unsubscribe when the component destroyed",

@@ -1,2 +0,4 @@

# Angular 2+ - Unsubscribe for pros [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
[![Build Status](https://travis-ci.org/NetanelBasal/angular2-take-until-destroy.svg?branch=master)](https://travis-ci.org/NetanelBasal/angular2-take-until-destroy)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
# Angular 2+ - Unsubscribe for pros

@@ -17,3 +19,3 @@ ##### Declarative way to unsubscribe from observables when the component destroyed

@TakeUntilDestroy
export class InboxComponent {
export class InboxComponent implements OnDestroy {
componentDestroy;

@@ -20,0 +22,0 @@ constructor( ) {

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