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

@gez/class-state

Package Overview
Dependencies
Maintainers
2
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gez/class-state - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

dist/connect.d.ts

@@ -80,2 +80,2 @@ import { type State, type StateContext } from './create';

*/
export declare function foreignStore<T extends StoreConstructor>(Store: T, name: string, cacheKey?: string): InstanceType<T>;
export declare function foreignStore<T extends StoreConstructor>(Store: T, name: string, cacheKey?: string): InstanceType<T> | null;

@@ -16,3 +16,3 @@ {

"devDependencies": {
"@gez/lint": "0.0.12",
"@gez/lint": "0.0.13",
"@types/node": "20.12.12",

@@ -28,3 +28,3 @@ "@vitest/coverage-v8": "1.6.0",

},
"version": "0.0.12",
"version": "0.0.13",
"type": "module",

@@ -47,3 +47,3 @@ "private": false,

],
"gitHead": "ee7626290d17f5085c2d0d032a895ba55ee292a6"
"gitHead": "63213505157e59a21b42f9c14a54fcc1288858eb"
}

@@ -278,3 +278,3 @@ /* eslint-disable @typescript-eslint/no-this-alias */

cacheKey?: string
): InstanceType<T> {
): InstanceType<T> | null {
if (!currentStateContext) {

@@ -289,3 +289,3 @@ throw new Error('No state context found');

}
return new Store(cacheKey);
return null;
}

@@ -292,0 +292,0 @@

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