@tsdotnet/disposable
Advanced tools
Comparing version 1.1.23 to 1.1.24
@@ -8,3 +8,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const ObjectDisposedException_1 = (0, tslib_1.__importDefault)(require("./ObjectDisposedException")); | ||
const ObjectDisposedException_1 = tslib_1.__importDefault(require("./ObjectDisposedException")); | ||
class DisposableBase { | ||
@@ -11,0 +11,0 @@ constructor(disposableObjectName, finalizer) { |
@@ -6,4 +6,4 @@ /*! | ||
import Disposable from './Disposable'; | ||
export declare type DisposableItem = Disposable | null | undefined; | ||
export declare type DisposableItemArray = DisposableItem[] | null | undefined; | ||
export type DisposableItem = Disposable | null | undefined; | ||
export type DisposableItemArray = DisposableItem[] | null | undefined; | ||
/** | ||
@@ -10,0 +10,0 @@ * Takes any number of disposables as arguments and attempts to dispose them. |
@@ -9,9 +9,9 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const DisposableBase_1 = (0, tslib_1.__importDefault)(require("./DisposableBase")); | ||
const DisposableBase_1 = tslib_1.__importDefault(require("./DisposableBase")); | ||
exports.DisposableBase = DisposableBase_1.default; | ||
const dispose_1 = (0, tslib_1.__importDefault)(require("./dispose")); | ||
const dispose_1 = tslib_1.__importDefault(require("./dispose")); | ||
exports.dispose = dispose_1.default; | ||
const ObjectDisposedException_1 = (0, tslib_1.__importDefault)(require("./ObjectDisposedException")); | ||
const ObjectDisposedException_1 = tslib_1.__importDefault(require("./ObjectDisposedException")); | ||
exports.ObjectDisposedException = ObjectDisposedException_1.default; | ||
exports.default = DisposableBase_1.default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tsdotnet/disposable", | ||
"version": "1.1.23", | ||
"version": "1.1.24", | ||
"description": "A disposable base class and minimal set of interfaces to properly implement an object disposal pattern.", | ||
@@ -28,3 +28,3 @@ "author": "electricessence", | ||
"preversion": "run-p lint test", | ||
"postversion": "git push && git push --tags && npm run-script docs && git commit -m \"Updated docs.\" docs && git push", | ||
"postversion": "git push && git push --tags && npm run-script docs && git add -A && git commit -m \"Updated docs.\" docs && git push", | ||
"test": "mocha -r ts-node/register tests/**/*.ts", | ||
@@ -42,25 +42,25 @@ "validate": "node ./.build/validate-package.js" | ||
"devDependencies": { | ||
"@types/chai": "^4.3.0", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^17.0.17", | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"@typescript-eslint/parser": "^5.11.0", | ||
"chai": "^4.3.6", | ||
"@types/chai": "^4.3.4", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.11.17", | ||
"@typescript-eslint/eslint-plugin": "^5.46.1", | ||
"@typescript-eslint/parser": "^5.46.1", | ||
"chai": "^4.3.7", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.8.0", | ||
"eslint": "^8.30.0", | ||
"eslint-config-typescript": "^3.0.0", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"mocha": "^9.2.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"mocha": "^10.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.5.0", | ||
"typedoc": "^0.22.11", | ||
"typescript": "^4.5.5" | ||
"ts-node": "^10.9.1", | ||
"typedoc": "^0.23.22", | ||
"typescript": "^4.9.4" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.1" | ||
"tslib": "^2.4.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39144
Updatedtslib@^2.4.1