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

amos

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amos - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/box.d.ts

@@ -34,4 +34,2 @@ import { SignalFactory } from './signal';

[__magicType]: JSONState<R>;
} : S extends (infer E)[] ? {
[__magicType]: JSONState<E>[];
} : S extends object ? {

@@ -38,0 +36,0 @@ [P in keyof S]: JSONState<S[P]>;

2

package.json
{
"name": "amos",
"version": "0.1.4",
"version": "0.1.5",
"description": "A decentralized state manager for react",

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

@@ -6,3 +6,3 @@ /*

import { Box } from './box';
import { Box, JSONState } from './box';
import { logout } from './signal.spec';

@@ -15,2 +15,21 @@ import { createStore } from './store';

export function testTs() {
interface Foo {
id: number;
}
interface Bar {
name: string;
}
interface Zoo {
toJSON(): [Foo, Bar];
}
const zoo: JSONState<Zoo> = void 0 as any;
zoo[0].id;
zoo[1].name;
}
export interface TestStateModel {

@@ -17,0 +36,0 @@ greets: string[];

@@ -39,4 +39,2 @@ /*

? { [__magicType]: JSONState<R> }
: S extends (infer E)[]
? { [__magicType]: JSONState<E>[] }
: S extends object

@@ -43,0 +41,0 @@ ? {

Sorry, the diff of this file is not supported yet

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