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

@wry/context

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wry/context - npm Package Compare versions

Comparing version 0.4.4 to 0.5.0

2

lib/context.d.ts

@@ -7,3 +7,3 @@ /// <reference types="node" />

declare function setTimeoutWithContext(callback: () => any, delay: number): NodeJS.Timer;
export declare function asyncFromGen<TArgs extends any[], TResult>(genFn: (...args: TArgs) => IterableIterator<TResult>): (...args: TArgs) => Promise<TResult>;
export declare function asyncFromGen<TArgs extends any[]>(genFn: (...args: TArgs) => any): (...args: TArgs) => Promise<any>;
export declare function wrapYieldingFiberMethods<F extends Function>(Fiber: F): F;

@@ -8,6 +8,6 @@ declare const makeSlotClass: () => {

};
bind<TArgs extends any[], TResult>(callback: (...args: TArgs) => TResult): (...args: TArgs) => TResult;
noContext<TResult, TArgs extends any[], TThis = any>(callback: (this: TThis, ...args: TArgs) => TResult, args?: TArgs | undefined, thisArg?: TThis | undefined): TResult;
bind<TArgs_1 extends any[], TResult_1>(callback: (...args: TArgs_1) => TResult_1): (...args: TArgs_1) => TResult_1;
noContext<TResult_2, TArgs_2 extends any[], TThis_1 = any>(callback: (this: TThis_1, ...args: TArgs_2) => TResult_2, args?: TArgs_2 | undefined, thisArg?: TThis_1 | undefined): TResult_2;
};
export declare const Slot: ReturnType<typeof makeSlotClass>;
export {};
{
"name": "@wry/context",
"version": "0.4.4",
"version": "0.5.0",
"author": "Ben Newman <ben@eloper.dev>",

@@ -29,6 +29,5 @@ "description": "Manage contextual information needed by (a)synchronous tasks without explicitly passing objects around",

"dependencies": {
"@types/node": ">=6",
"tslib": "^1.9.3"
},
"gitHead": "50e7d6181b0b937ad54b543118e823ad98e2bca9"
"gitHead": "1060dc2e752f0f9c6040456bc70a693a13d5b478"
}

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