Socket
Socket
Sign inDemoInstall

@react-spring/konva

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/konva - npm Package Compare versions

Comparing version 9.0.0-canary.808.14.192785c to 9.0.0-canary.808.15.d4e5904

4

index.d.ts

@@ -20,3 +20,3 @@ import { ElementType, ForwardRefExoticComponent, CSSProperties } from 'react';

declare type AnimatedProps<Props extends object> = {
[P in keyof Props]: (P extends 'ref' | 'key' ? Props[P] : AnimatedProp<Props[P]>);
[P in keyof Props]: P extends 'ref' | 'key' ? Props[P] : AnimatedProp<Props[P]>;
};

@@ -32,4 +32,4 @@ declare type AnimatedProp<T> = [T, T] extends [infer T, infer DT] ? [DT] extends [never] ? never : DT extends void ? undefined : DT extends object ? [AssignableKeys<DT, CSSProperties>] extends [never] ? DT extends ReadonlyArray<any> ? AnimatedStyles<DT> : DT : AnimatedStyle<T> : DT | AnimatedLeaf<T> : never;

} : DT | AnimatedLeaf<T> : never;
declare type AnimatedLeaf<T> = [T] extends [object] ? never : FluidValue<Exclude<T, object | void>>;
declare type AnimatedLeaf<T> = Exclude<T, object | void> | Extract<T, ReadonlyArray<number | string>> extends infer U ? [U] extends [never] ? never : FluidValue<U | Exclude<T, object | void>> : never;
export { AnimatedComponent, AnimatedProps, animated as a, animated };
{
"name": "@react-spring/konva",
"version": "9.0.0-canary.808.14.192785c",
"version": "9.0.0-canary.808.15.d4e5904",
"description": "Cross-platform animation engine for React",

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

"@babel/runtime": "^7.3.1",
"@react-spring/animated": "9.0.0-canary.808.14.192785c",
"@react-spring/core": "9.0.0-canary.808.14.192785c",
"@react-spring/shared": "9.0.0-canary.808.14.192785c"
"@react-spring/animated": "9.0.0-canary.808.15.d4e5904",
"@react-spring/core": "9.0.0-canary.808.15.d4e5904",
"@react-spring/shared": "9.0.0-canary.808.15.d4e5904"
},

@@ -36,0 +36,0 @@ "devDependencies": {

@@ -34,5 +34,5 @@ import { CSSProperties, ForwardRefExoticComponent } from 'react'

export type AnimatedProps<Props extends object> = {
[P in keyof Props]: (P extends 'ref' | 'key'
[P in keyof Props]: P extends 'ref' | 'key'
? Props[P]
: AnimatedProp<Props[P]>)
: AnimatedProp<Props[P]>
}

@@ -79,5 +79,9 @@

// An animated value that is not an object
type AnimatedLeaf<T> = [T] extends [object]
? never
: FluidValue<Exclude<T, object | void>>
// An animated primitive (or an array of them)
type AnimatedLeaf<T> =
| Exclude<T, object | void>
| Extract<T, ReadonlyArray<number | string>> extends infer U
? [U] extends [never]
? never
: FluidValue<U | Exclude<T, object | void>>
: never

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