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

@leight/context

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leight/context - npm Package Compare versions

Comparing version 0.5.27 to 0.5.29

3

lib/api/index.d.ts
import { type IStateCreatorProps, type IStoreApi, type IStoreProps, type StoreApi } from "@leight/zustand";
import { type FC, type ReactNode } from "react";
export type IContextRender<TContext> = (context: TContext) => ReactNode;
export type IProviderChildren<TContext> = ReactNode | IContextRender<TContext>;
export type IProviderChildren<TContext> = ReactNode | FC<TContext>;
export type IStoreProviderProps<TStoreProps extends IStoreProps> = {

@@ -6,0 +5,0 @@ children: IProviderChildren<IStoreApi<TStoreProps>>;

{
"version": "0.5.27",
"version": "0.5.29",
"name": "@leight/context",

@@ -28,13 +28,15 @@ "description": "Common context stuff.",

"lint": "eslint src",
"cleanup": "del-cli .turbo lib tsconfig.tsbuildinfo src/**/*.{d.ts,d.ts.map,js,js.map}"
"cleanup": "concurrently npm:cleanup:*",
"cleanup:sdk": "del-cli src/sdk/**",
"cleanup:lib": "del-cli .turbo lib tsconfig.tsbuildinfo src/**/*.{d.ts,d.ts.map,js,js.map}"
},
"dependencies": {
"@leight/zustand": "^0.5.64",
"@leight/zustand": "^0.5.66",
"react": "^18.2.0"
},
"devDependencies": {
"@leight/esbuild": "^0.5.43",
"@leight/eslint-config-eslint": "^0.5.52",
"@leight/tsconfig": "^0.5.66",
"@leight/turbowatch": "^0.5.31",
"@leight/esbuild": "^0.5.45",
"@leight/eslint-config-eslint": "^0.5.54",
"@leight/tsconfig": "^0.5.68",
"@leight/turbowatch": "^0.5.33",
"@types/node": "^18.15.0",

@@ -41,0 +43,0 @@ "@types/react": "^18.0.28",

@@ -12,7 +12,5 @@ import {

export type IContextRender<TContext> = (context: TContext) => ReactNode;
export type IProviderChildren<TContext> =
ReactNode
| IContextRender<TContext>;
| FC<TContext>;

@@ -19,0 +17,0 @@ export type IStoreProviderProps<TStoreProps extends IStoreProps> =

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