Socket
Socket
Sign inDemoInstall

staack

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

staack - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

dist/mod.d.ts

@@ -20,3 +20,4 @@ declare const INTERNAL: unique symbol;

}
type KeyProviderFn<T, HasDefault extends boolean> = (...args: undefined extends T ? [] : [value: T]) => KeyProvider<T, HasDefault>;
type MaybeParam<T> = [T] extends [undefined] ? [value?: undefined] : [value: T];
type KeyProviderFn<T, HasDefault extends boolean> = (...args: MaybeParam<T>) => KeyProvider<T, HasDefault>;
interface IKey<T, HasDefault extends boolean = boolean> {

@@ -95,2 +96,2 @@ Consumer: KeyConsumer<T, HasDefault>;

export { IKey, Key, KeyConsumer, KeyProvider, KeyProviderFn, MissingContextError, Staack, StaackCore, StaackCoreTuple, StaackCoreValue };
export { IKey, Key, KeyConsumer, KeyProvider, KeyProviderFn, MaybeParam, MissingContextError, Staack, StaackCore, StaackCoreTuple, StaackCoreValue };

2

package.json
{
"name": "staack",
"version": "3.0.0",
"version": "3.0.1",
"description": "A library to create type-safe opaque stacks",

@@ -5,0 +5,0 @@ "keywords": [

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