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

@ngneat/until-destroy

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngneat/until-destroy - npm Package Compare versions

Comparing version 7.1.3 to 7.1.4

2

bundles/ngneat-until-destroy.umd.js

@@ -49,3 +49,3 @@ (function (global, factory) {

function getDef(type) {
return type.ɵdir || type.ɵcmp;
return type.ɵcmp || type.ɵdir;
}

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

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

!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngneat/until-destroy",["exports","rxjs","rxjs/operators"],n):n(((t=t||self).ngneat=t.ngneat||{},t.ngneat["until-destroy"]={}),t.rxjs,t.rxjs.operators)}(this,(function(t,n,r){"use strict";function e(t){return"function"==typeof t}var o=Symbol("__destroy"),i=Symbol("__decoratorApplied");function s(t){t[i]=!0}function u(t){t[o]||(t[o]=new n.Subject)}function c(t){t[o]&&(t[o].next(),t[o].complete(),t[o]=null)}function f(t){return t.ɵdir||t.ɵcmp}function a(t){return!!t.ɵprov}function p(t){t&&e(t.unsubscribe)&&t.unsubscribe()}function d(t,n){var r=n.arrayName,e=n.checkProperties,o=n.blackList;return function(){if(t&&t.call(this),c(this),r)return function(t){Array.isArray(t)&&t.forEach(p)}(this[r]);if(e)for(var n in this)o&&o.includes(n)||p(this[n])}}t.UntilDestroy=function(t){return void 0===t&&(t={}),function(n){a(n)?function(t,n){t.prototype.ngOnDestroy=d(t.prototype.ngOnDestroy,n),s(t)}(n,t):function(t,n){var r=f(t);r.onDestroy=d(r.onDestroy,n),s(r)}(n,t)}},t.untilDestroyed=function(t,n){return function(s){return"string"==typeof n?function(t,n){var r=t[n];if(!1===e(r))throw new Error(t.constructor.name+" is using untilDestroyed but doesn't implement "+n);u(t),t[n]=function(){e(r)&&r.apply(this,arguments),c(this),t[n]=r}}(t,n):(!function(t){var n=t.constructor;if(!(a(n)?n:f(n))[i])throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(t),u(t)),s.pipe(r.takeUntil(t[o]))}},Object.defineProperty(t,"__esModule",{value:!0})}));
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngneat/until-destroy",["exports","rxjs","rxjs/operators"],n):n(((t=t||self).ngneat=t.ngneat||{},t.ngneat["until-destroy"]={}),t.rxjs,t.rxjs.operators)}(this,(function(t,n,r){"use strict";function e(t){return"function"==typeof t}var o=Symbol("__destroy"),i=Symbol("__decoratorApplied");function s(t){t[i]=!0}function u(t){t[o]||(t[o]=new n.Subject)}function c(t){t[o]&&(t[o].next(),t[o].complete(),t[o]=null)}function f(t){return t.ɵcmp||t.ɵdir}function a(t){return!!t.ɵprov}function p(t){t&&e(t.unsubscribe)&&t.unsubscribe()}function d(t,n){var r=n.arrayName,e=n.checkProperties,o=n.blackList;return function(){if(t&&t.call(this),c(this),r)return function(t){Array.isArray(t)&&t.forEach(p)}(this[r]);if(e)for(var n in this)o&&o.includes(n)||p(this[n])}}t.UntilDestroy=function(t){return void 0===t&&(t={}),function(n){a(n)?function(t,n){t.prototype.ngOnDestroy=d(t.prototype.ngOnDestroy,n),s(t)}(n,t):function(t,n){var r=f(t);r.onDestroy=d(r.onDestroy,n),s(r)}(n,t)}},t.untilDestroyed=function(t,n){return function(s){return"string"==typeof n?function(t,n){var r=t[n];if(!1===e(r))throw new Error(t.constructor.name+" is using untilDestroyed but doesn't implement "+n);u(t),t[n]=function(){e(r)&&r.apply(this,arguments),c(this),t[n]=r}}(t,n):(!function(t){var n=t.constructor;if(!(a(n)?n:f(n))[i])throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(t),u(t)),s.pipe(r.takeUntil(t[o]))}},Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=ngneat-until-destroy.umd.min.js.map

@@ -44,3 +44,3 @@ import { Subject } from 'rxjs';

export function getDef(type) {
return type.ɵdir || type.ɵcmp;
return type.ɵcmp || type.ɵdir;
}

@@ -54,2 +54,2 @@ /**

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nbmVhdC91bnRpbC1kZXN0cm95LyIsInNvdXJjZXMiOlsibGliL2ludGVybmFscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBRS9CLE1BQU0sVUFBVSxVQUFVLENBQUMsTUFBZTtJQUN4QyxPQUFPLE9BQU8sTUFBTSxLQUFLLFVBQVUsQ0FBQztBQUN0QyxDQUFDO0FBRUQ7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQWtCLE1BQU0sQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUUxRDs7R0FFRztBQUNILE1BQU0saUJBQWlCLEdBQWtCLE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0FBRXRFLE1BQU0sVUFBVSxlQUFlLENBQzdCLGFBQXNGO0lBRXJGLGFBQXFCLENBQUMsaUJBQWlCLENBQUMsR0FBRyxJQUFJLENBQUM7QUFDbkQsQ0FBQztBQVFELE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxRQUFhO0lBQ2xELE1BQU0sV0FBVyxHQUFHLFFBQVEsQ0FBQyxXQUFXLENBQUM7SUFDekMsTUFBTSxhQUFhLEdBQUcsZ0JBQWdCLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO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WFzc2lnbiB0aGlzIHByb3BlcnR5IHRodXMgaW4gdGhlIGZ1dHVyZVxuICAgIC8vIHdlIHdpbGwgYmUgYWJsZSB0byBjcmVhdGUgbmV3IHN1YmplY3Qgb24gdGhlIHNhbWUgaW5zdGFuY2UuXG4gICAgaW5zdGFuY2VbREVTVFJPWV0gPSBudWxsO1xuICB9XG59XG5cbi8qKlxuICogQXMgZGlyZWN0aXZlIGFuZCBjb21wb25lbnQgZGVmaW5pdGlvbnMgYXJlIGNvbnNpZGVyZWQgcHJpdmF0ZSBBUEksXG4gKiBzbyB0aG9zZSBwcm9wZXJ0aWVzIGFyZSBwcmVmaXhlZCB3aXRoIEFuZ3VsYXIncyBtYXJrZXIgZm9yIFwicHJpdmF0ZVwiXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBnZXREZWY8VD4oXG4gIHR5cGU6IERpcmVjdGl2ZVR5cGU8VD4gfCBDb21wb25lbnRUeXBlPFQ+XG4pOiBEaXJlY3RpdmVEZWY8VD4gfCBDb21wb25lbnREZWY8VD4ge1xuICByZXR1cm4gKHR5cGUgYXMgQ29tcG9uZW50VHlwZTxUPikuybVjbXAgfHwgKHR5cGUgYXMgRGlyZWN0aXZlVHlwZTxUPikuybVkaXI7XG59XG5cbi8qKlxuICogRGV0ZXJtaW5lcyB3aGV0aGVyIHRoZSBwcm92aWRlZCBgdGFyZ2V0YCBpcyBzb21lIGZ1bmN0aW9uXG4gKiBkZWNvcmF0ZWQgd2l0aCBgQEluamVjdGFibGUoKWBcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzSW5qZWN0YWJsZVR5cGUodGFyZ2V0OiBhbnkpOiB0YXJnZXQgaXMgSW5qZWN0YWJsZVR5cGU8dW5rbm93bj4ge1xuICByZXR1cm4gISF0YXJnZXQuybVwcm92O1xufVxuIl19

@@ -44,3 +44,3 @@ import { Subject } from 'rxjs';

export function getDef(type) {
return type.ɵdir || type.ɵcmp;
return type.ɵcmp || type.ɵdir;
}

@@ -54,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VbREVTVFJPWV0gPSBudWxsO1xuICB9XG59XG5cbi8qKlxuICogQXMgZGlyZWN0aXZlIGFuZCBjb21wb25lbnQgZGVmaW5pdGlvbnMgYXJlIGNvbnNpZGVyZWQgcHJpdmF0ZSBBUEksXG4gKiBzbyB0aG9zZSBwcm9wZXJ0aWVzIGFyZSBwcmVmaXhlZCB3aXRoIEFuZ3VsYXIncyBtYXJrZXIgZm9yIFwicHJpdmF0ZVwiXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBnZXREZWY8VD4oXG4gIHR5cGU6IERpcmVjdGl2ZVR5cGU8VD4gfCBDb21wb25lbnRUeXBlPFQ+XG4pOiBEaXJlY3RpdmVEZWY8VD4gfCBDb21wb25lbnREZWY8VD4ge1xuICByZXR1cm4gKHR5cGUgYXMgQ29tcG9uZW50VHlwZTxUPikuybVjbXAgfHwgKHR5cGUgYXMgRGlyZWN0aXZlVHlwZTxUPikuybVkaXI7XG59XG5cbi8qKlxuICogRGV0ZXJtaW5lcyB3aGV0aGVyIHRoZSBwcm92aWRlZCBgdGFyZ2V0YCBpcyBzb21lIGZ1bmN0aW9uXG4gKiBkZWNvcmF0ZWQgd2l0aCBgQEluamVjdGFibGUoKWBcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzSW5qZWN0YWJsZVR5cGUodGFyZ2V0OiBhbnkpOiB0YXJnZXQgaXMgSW5qZWN0YWJsZVR5cGU8dW5rbm93bj4ge1xuICByZXR1cm4gISF0YXJnZXQuybVwcm92O1xufVxuIl19

@@ -46,3 +46,3 @@ import { Subject } from 'rxjs';

function getDef(type) {
return type.ɵdir || type.ɵcmp;
return type.ɵcmp || type.ɵdir;
}

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

@@ -46,3 +46,3 @@ import { Subject } from 'rxjs';

function getDef(type) {
return type.ɵdir || type.ɵcmp;
return type.ɵcmp || type.ɵdir;
}

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

@@ -5,3 +5,3 @@ {

"description": "RxJS operator that unsubscribes when Angular component is destroyed",
"version": "7.1.3",
"version": "7.1.4",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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