New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ng2-rx-collector

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-rx-collector - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

2

package.json
{
"name": "ng2-rx-collector",
"version": "0.1.1",
"version": "0.2.0",
"description": "Angular 2 garbage collector for RxJS subscriptions",

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

@@ -20,3 +20,3 @@ # ng2-rx-collector

Import the `Collected` decorator and `CollectorEvent` data type which will do all the magic.
Import the `Collected` decorator and `CollectorEvent` data type (actually you can use `any` instead of `CollectorEvent` if this feels better) which will do all the magic.

@@ -33,3 +33,3 @@ ```ts

@Collected() private collected = new CollectorEvent();
@Collected() private collected: CollectorEvent;

@@ -70,3 +70,3 @@ }

import { Component } from '@angular/core';
import { Collected, CollectedEvent } from './src';
import { Collected, CollectorEvent } from './src';
import { timer } from './timer';

@@ -79,3 +79,3 @@

@Collected() private collected: CollectedEvent;
@Collected() private collected: CollectorEvent;

@@ -82,0 +82,0 @@ public ngOnInit() {

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