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

@hazae41/disposer

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

@hazae41/disposer - npm Package Compare versions

Comparing version 2.0.17 to 2.0.18

6

dist/types/mods/dispose/dispose.d.ts

@@ -1,3 +0,1 @@

import { PromiseOrPromiseLike } from '../../libs/promises/index.js';
declare class Disposer<T> implements Disposable {

@@ -11,3 +9,3 @@ readonly inner: T;

get(): T;
await<T>(this: Disposer<PromiseOrPromiseLike<T>>): Promise<void>;
await<T>(this: Disposer<Promise<T>>): Promise<void>;
}

@@ -22,5 +20,5 @@ declare class AsyncDisposer<T> implements AsyncDisposable {

get(): T;
await<T>(this: AsyncDisposer<PromiseOrPromiseLike<T>>): Promise<void>;
await<T>(this: AsyncDisposer<Promise<T>>): Promise<void>;
}
export { AsyncDisposer, Disposer };
{
"type": "module",
"name": "@hazae41/disposer",
"version": "2.0.17",
"version": "2.0.18",
"description": "Helpers for Disposable",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/disposer",

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