Socket
Socket
Sign inDemoInstall

@react-spring/shared

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/shared - npm Package Compare versions

Comparing version 9.0.0-beta.30 to 9.0.0-beta.31

2

package.json
{
"name": "@react-spring/shared",
"version": "9.0.0-beta.30",
"version": "9.0.0-beta.31",
"description": "Globals and shared modules",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/react-spring/react-spring/tree/master/packages/shared#readme",

@@ -16,10 +16,14 @@ import { Interpolator, ExtrapolateType, InterpolatorConfig } from './interpolation';

* Interpolate the value with a custom interpolation function,
* a configuration object or keyframe-like ranges.
* a configuration object, or keyframe-like ranges.
*
* @example
*
* interpolate(alpha => `rgba(255, 165, 0, ${alpha})`)
* interpolate({ range: [0, 1], output: ['yellow', 'red'], extrapolate: 'clamp' })
* interpolate([0, 0.25, 1], ['yellow', 'orange', 'red'])
* value.to(alpha => `rgba(255, 165, 0, ${alpha})`)
* value.to({ range: [0, 1], output: ['yellow', 'red'], extrapolate: 'clamp' })
* value.to([0, 0.25, 1], ['yellow', 'orange', 'red'])
*/
to: Interpolator<Arrify<T>>;
/**
* @deprecated Use the `to` method instead. This will be removed in v10.
*/
interpolate: Interpolator<Arrify<T>>;

@@ -26,0 +30,0 @@ }

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