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

@swear-js/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swear-js/core - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

lib/constants.d.ts

2

lib/index.d.ts

@@ -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

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