@swear-js/core
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -1,3 +0,3 @@ | ||
export * from './createStore'; | ||
export * from './store/createStore'; | ||
export * from './createSwear'; | ||
export * from './types'; |
@@ -13,5 +13,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./createStore"), exports); | ||
__exportStar(require("./store/createStore"), exports); | ||
__exportStar(require("./createSwear"), exports); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare type SwearStoreType<T> = Record<string, T>; | ||
export declare type SwearStoreType = Map<string, any>; | ||
export declare type SwearId = string; | ||
@@ -14,3 +14,3 @@ export declare type SwearPatch = { | ||
export declare type SwearSubscriberOnUpdate<T> = (newValue: T) => void; | ||
export declare type SwearStoreSubscribers = Record<SwearId, SwearSubscriberOnUpdate<any>>; | ||
export declare type SwearStoreSubscribers = Map<SwearId, Map<string, SwearSubscriberOnUpdate<any>>>; | ||
export declare type SwearMutateType<T> = ((payload: T | ((prev: T) => T), tag?: string) => void) | (() => void); | ||
@@ -17,0 +17,0 @@ export declare type SwearType<T, Y> = [ |
{ | ||
"name": "@swear-js/core", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Simple observer state manager", | ||
@@ -33,5 +33,7 @@ "repository": { | ||
"typescript": "4.5.5", | ||
"utility-types": "^3.10.0" | ||
"utility-types": "^3.10.0", | ||
"uuid": "^8.3.2" | ||
}, | ||
"devDependencies": { | ||
"@types/uuid": "^8.3.4", | ||
"@typescript-eslint/eslint-plugin": "^5.19.0", | ||
@@ -48,3 +50,3 @@ "@typescript-eslint/parser": "^5.19.0", | ||
}, | ||
"gitHead": "51c80a56e5a450c35285aa94a74bc5731dba2fa4" | ||
"gitHead": "ac3cee333523191ba69de905eae64e99128fd95a" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18144
29
178
4
11
1
+ Addeduuid@^8.3.2
+ Addeduuid@8.3.2(transitive)