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

signia

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signia - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

8

index.d.ts

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

/* Excluded from this release type: _Computed */
/**

@@ -320,6 +318,4 @@ * Creates a computed signal.

*/
export declare function getComputedInstance<Obj extends object, Prop extends keyof Obj>(obj: Obj, propertyName: Prop): _Computed<Obj[Prop], unknown> | undefined;
export declare function getComputedInstance<Obj extends object, Prop extends keyof Obj>(obj: Obj, propertyName: Prop): Computed<Obj[Prop]>;
/* Excluded from this release type: HistoryBuffer */
/**

@@ -357,4 +353,2 @@ * Returns true if the given value is an [[Atom]].

declare type RangeTuple<Diff> = [fromEpoch: number, toEpoch: number, diff: Diff];
/**

@@ -361,0 +355,0 @@ * Starts a new effect scheduler, executing the effect immediately.

4

package.json

@@ -5,3 +5,3 @@ {

"description": "A tiny little drawing reactive state management library.",
"version": "0.0.5",
"version": "0.0.6",
"author": "tldraw GB Ltd.",

@@ -40,3 +40,3 @@ "homepage": "https://tldraw.dev",

},
"gitHead": "17100591fb0032b40f35525ff7e06bb1e66d96ca",
"gitHead": "3973df0f68f4205663eb7b655f5e27ac84c03dce",
"module": "dist/index.mjs",

@@ -43,0 +43,0 @@ "source": "src/index.ts",

@@ -270,3 +270,3 @@ /* eslint-disable prefer-rest-params */

propertyName: Prop
) {
): Computed<Obj[Prop]> {
// deref to make sure it exists first

@@ -280,3 +280,3 @@ const key = Symbol.for('__signia__computed__' + propertyName.toString())

}
return inst
return inst as any
}

@@ -283,0 +283,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