@react-spring/shared
Advanced tools
Comparing version 9.5.2 to 9.5.3
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86432
2562
1
Updated@react-spring/rafz@~9.5.3
Updated@react-spring/types@~9.5.3