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

@rbxts/charm

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbxts/charm - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "@rbxts/charm",
"version": "0.5.0",
"version": "0.5.1",
"description": "Atomic state management for Roblox",

@@ -5,0 +5,0 @@ "main": "src/init.lua",

@@ -246,3 +246,12 @@ export = Charm;

type DataTypes = {
[P in keyof CheckableTypes as P extends keyof CheckablePrimitives ? never : P]: CheckableTypes[P];
};
/**
* A type that should not be made partial in patches.
*/
type DataType = DataTypes[keyof DataTypes];
/**
* A partial patch that can be applied to the state to update it. Represents

@@ -262,5 +271,7 @@ * the difference between the current state and the next state.

? readonly (SyncPatch<T> | None | undefined)[]
: State extends object
? { readonly [P in keyof State]?: SyncPatch<State[P]> }
: State);
: State extends DataType
? State
: State extends object
? { readonly [P in keyof State]?: SyncPatch<State[P]> }
: State);

@@ -267,0 +278,0 @@ /**

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