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

unctx

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unctx - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/index.d.ts

@@ -38,3 +38,3 @@ interface UseContext<T> {

declare const useContext: <T>(key: string) => () => T;
declare type AsyncFunction<T> = () => Promise<T>;
type AsyncFunction<T> = () => Promise<T>;
declare function executeAsync<T>(function_: AsyncFunction<T>): [Promise<T>, () => void];

@@ -41,0 +41,0 @@ declare function withAsyncContext<T = any>(function_: AsyncFunction<T>, transformed?: boolean): AsyncFunction<T>;

{
"name": "unctx",
"version": "2.1.0",
"version": "2.1.1",
"description": "Composition-api in Vanilla js",

@@ -45,14 +45,14 @@ "repository": "unjs/unctx",

"@types/estree": "^1.0.0",
"@types/jest": "^29.2.2",
"@types/jest": "^29.2.3",
"@types/node": "^18.11.9",
"@vitest/coverage-c8": "^0.25.2",
"eslint": "^8.27.0",
"@vitest/coverage-c8": "^0.25.3",
"eslint": "^8.28.0",
"eslint-config-unjs": "^0.0.2",
"jiti": "^1.16.0",
"standard-version": "^9.5.0",
"typescript": "^4.8.4",
"unbuild": "^0.9.4",
"vitest": "^0.25.2"
"typescript": "^4.9.3",
"unbuild": "^1.0.1",
"vitest": "^0.25.3"
},
"packageManager": "pnpm@7.16.0",
"packageManager": "pnpm@7.17.1",
"scripts": {

@@ -59,0 +59,0 @@ "build": "unbuild",

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