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

@tsdotnet/disposable

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsdotnet/disposable - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

typedoc.json

6

dist-esm/DisposableBase.js

@@ -6,3 +6,3 @@ /*!

import ObjectDisposedException from './ObjectDisposedException';
class DisposableBase {
export default class DisposableBase {
constructor(_disposableObjectName, __finalizer) {

@@ -47,9 +47,7 @@ this._disposableObjectName = _disposableObjectName;

/**
* Is called when this object is disposed. Should not be called directly.
* Is called when this object is disposed. Should NOT be called directly.
* Override this method to handle disposal.
* @private
*/
_onDispose() { }
}
export default DisposableBase;
//# sourceMappingURL=DisposableBase.js.map

@@ -6,3 +6,3 @@ /*!

import DisposableAware from './DisposableAware';
declare abstract class DisposableBase implements DisposableAware {
export default abstract class DisposableBase implements DisposableAware {
protected _disposableObjectName: string;

@@ -21,8 +21,6 @@ private readonly __finalizer?;

/**
* Is called when this object is disposed. Should not be called directly.
* Is called when this object is disposed. Should NOT be called directly.
* Override this method to handle disposal.
* @private
*/
protected _onDispose(): void;
}
export default DisposableBase;

@@ -49,5 +49,4 @@ "use strict";

/**
* Is called when this object is disposed. Should not be called directly.
* Is called when this object is disposed. Should NOT be called directly.
* Override this method to handle disposal.
* @private
*/

@@ -54,0 +53,0 @@ _onDispose() { }

{
"name": "@tsdotnet/disposable",
"version": "1.1.5",
"version": "1.1.6",
"description": "A disposable base class and minimal set of interfaces to properly implement an object disposal pattern.",

@@ -21,4 +21,4 @@ "author": "electricessence",

"build": "npm prune && npm install && npm run clean && copyfiles -u 1 src/**/*.d.ts dist && tsc && tsc -p tsconfig.esm.json",
"bump": "npm run precommit && npm version patch && npm run docs && git commit -m \"Updated docs.\" docs",
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --excludeNotExported --out docs src && node ./.build/create-nojekyll.js",
"bump": "npm run precommit && npm version patch && npm run docs && git commit -m \"Updated docs.\" docs && git push",
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --options typedoc.json --readme none && node ./.build/create-nojekyll.js",
"lint": "eslint src/**/*.ts",

@@ -25,0 +25,0 @@ "precommit": "npm run lint && npm run test && npm run build && npm run validate",

@@ -10,2 +10,2 @@ # ![alt text](https://avatars1.githubusercontent.com/u/64487547?s=30&v=4 "tsdotnet") tsdotnet / disposable

## Docs
[tsdotnet.github.io/disposable](https://tsdotnet.github.io/disposable/)
[tsdotnet.github.io/disposable](https://tsdotnet.github.io/disposable/)

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