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

@react-spring/shared

Package Overview
Dependencies
Maintainers
1
Versions
130
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.5.2 to 9.5.3

2

dist/declarations/src/helpers.d.ts

@@ -24,3 +24,3 @@ import { Lookup, Arrify, AnyFn, Any } from '@react-spring/types';

export declare function eachProp<T extends object, This>(obj: T, fn: (this: This, value: T extends any[] ? T[number] : T[keyof T], key: string) => void, ctx?: This): void;
export declare const toArray: <T>(a: T) => Exclude<T, void> extends readonly any[] ? (readonly any[] & Exclude<T, void>)[number][] extends readonly any[] & Exclude<T, void> ? readonly (Exclude<T, void> extends readonly (infer U)[] ? U : Exclude<T, void>)[] : readonly any[] & Exclude<T, void> : readonly (Exclude<T, void> extends readonly (infer U_1)[] ? U_1 : Exclude<T, void>)[];
export declare const toArray: <T>(a: T) => Exclude<T, void> extends infer T_1 ? T_1 extends Exclude<T, void> ? T_1 extends readonly any[] ? T_1[number][] extends T_1 ? readonly (Exclude<T, void> extends infer T_2 ? T_2 extends Exclude<T, void> ? T_2 extends readonly (infer U)[] ? U : T_2 : never : never)[] : T_1 : readonly (Exclude<T, void> extends infer T_3 ? T_3 extends Exclude<T, void> ? T_3 extends readonly (infer U_1)[] ? U_1 : T_3 : never : never)[] : never : never;
/** Copy the `queue`, then iterate it after the `queue` is cleared */

@@ -27,0 +27,0 @@ export declare function flush<P, T>(queue: Map<P, T>, iterator: (entry: [P, T]) => void): void;

@@ -496,3 +496,3 @@ 'use strict';

function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {

@@ -510,3 +510,2 @@ var source = arguments[i];

};
return _extends.apply(this, arguments);

@@ -806,5 +805,3 @@ }

enumerable: true,
get: function () {
return rafz.raf;
}
get: function () { return rafz.raf; }
});

@@ -811,0 +808,0 @@ exports.FluidValue = FluidValue;

@@ -496,3 +496,3 @@ 'use strict';

function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {

@@ -510,3 +510,2 @@ var source = arguments[i];

};
return _extends.apply(this, arguments);

@@ -806,5 +805,3 @@ }

enumerable: true,
get: function () {
return rafz.raf;
}
get: function () { return rafz.raf; }
});

@@ -811,0 +808,0 @@ exports.FluidValue = FluidValue;

@@ -493,3 +493,3 @@ import { raf } from '@react-spring/rafz';

function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {

@@ -507,3 +507,2 @@ var source = arguments[i];

};
return _extends.apply(this, arguments);

@@ -510,0 +509,0 @@ }

{
"name": "@react-spring/shared",
"version": "9.5.2",
"version": "9.5.3",
"description": "Globals and shared modules",

@@ -31,8 +31,8 @@ "main": "dist/react-spring-shared.cjs.js",

"dependencies": {
"@react-spring/rafz": "~9.5.2",
"@react-spring/types": "~9.5.2"
"@react-spring/rafz": "~9.5.3",
"@react-spring/types": "~9.5.3"
},
"peerDependencies": {
"react": "^16.8.0 || >=17.0.0 || >=18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.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