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

@bunt/unit

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bunt/unit - npm Package Compare versions

Comparing version 0.18.1 to 0.18.2

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

## [0.18.2](https://github.com/izatop/bunt/compare/v0.18.1...v0.18.2) (2021-05-24)
### Bug Fixes
* code ([5dcfcff](https://github.com/izatop/bunt/commit/5dcfcff4ab78bf76a0a8b8c3e5f1229c893019fd))
* disposable ([793b469](https://github.com/izatop/bunt/commit/793b469f3f5515fc1a2a0ed625f3a9c673dbd715))
* typings ([dc5722e](https://github.com/izatop/bunt/commit/dc5722ee2e7fd817f800608c99b14c3852aea0e9))
## [0.18.1](https://github.com/izatop/bunt/compare/v0.18.0...v0.18.1) (2021-05-24)

@@ -8,0 +21,0 @@

8

dist/Application/Disposable.js

@@ -19,8 +19,4 @@ "use strict";

const finish = target.dispose;
const newDisposer = new Disposer_1.Disposer(target.constructor.name, () => finish.call(this));
Reflect.defineProperty(target, "dispose", {
value: function () {
return newDisposer.dispose();
},
});
const newDisposer = new Disposer_1.Disposer(target.constructor.name, () => finish.call(target));
Reflect.defineProperty(target, "dispose", { value: () => newDisposer.dispose() });
collection.set(target, newDisposer);

@@ -27,0 +23,0 @@ return newDisposer;

@@ -12,7 +12,7 @@ import { HeartbeatDisposer, IRunnable } from "./interfaces";

*/
static create(target: unknown, disposer?: HeartbeatDisposer): Heartbeat;
static create(target: IRunnable, disposer?: HeartbeatDisposer): Heartbeat;
static watch(runnable: IRunnable): Promise<void>;
static destroy(target: unknown): void;
static destroy(target: IRunnable): void;
destroy(error?: Error): void;
watch(): Promise<void>;
}
{
"name": "@bunt/unit",
"version": "0.18.1",
"version": "0.18.2",
"keywords": [

@@ -29,6 +29,6 @@ "typescript"

"dependencies": {
"@bunt/util": "^0.18.0"
"@bunt/util": "^0.18.2"
},
"license": "MIT",
"gitHead": "9b7005b18639871f88aff2f0d43b7b101e79fb26"
"gitHead": "d86dc6215808231f6d644cba8154938f42674710"
}

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