Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(deps): Bump react-merge-refs to 2.1.1 #1842

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"maath": "^0.10.7",
"meshline": "^3.1.6",
"react-composer": "^5.0.3",
"react-merge-refs": "^1.1.0",
"react-merge-refs": "^2.1.1",
"stats-gl": "^2.0.0",
"stats.js": "^0.17.0",
"suspend-react": "^0.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/core/Detailed.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { LOD, Object3D } from 'three'
import { useFrame } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { ForwardRefComponent } from '../helpers/ts-utils'

type Props = JSX.IntrinsicElements['lOD'] & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Effects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import { RGBAFormat, HalfFloatType, WebGLRenderTarget, UnsignedByteType } from 'three'
import { ReactThreeFiber, extend, useThree, useFrame } from '@react-three/fiber'
import { EffectComposer, RenderPass, ShaderPass, GammaCorrectionShader } from 'three-stdlib'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { ForwardRefComponent } from '../helpers/ts-utils'

type Props = ReactThreeFiber.Node<EffectComposer, typeof EffectComposer> & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Float.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { useFrame } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import * as THREE from 'three'
import { ForwardRefComponent } from '../helpers/ts-utils'

Expand Down
2 changes: 1 addition & 1 deletion src/core/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import * as React from 'react'
import * as THREE from 'three'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { extend, useFrame } from '@react-three/fiber'
import { shaderMaterial } from './shaderMaterial'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/core/Instances.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as THREE from 'three'
import * as React from 'react'
import { ReactThreeFiber, extend, useFrame } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import Composer from 'react-composer'
import { ForwardRefComponent } from '../helpers/ts-utils'
import { setUpdateRange } from '../helpers/deprecated'
Expand Down
2 changes: 1 addition & 1 deletion src/core/Lightformer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { applyProps, ReactThreeFiber, useThree } from '@react-three/fiber'
import * as React from 'react'
import * as THREE from 'three'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { ForwardRefComponent } from '../helpers/ts-utils'

export type LightProps = JSX.IntrinsicElements['mesh'] & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/MarchingCubes.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as THREE from 'three'
import * as React from 'react'
import { Color, Group } from 'three'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { MarchingCubes as MarchingCubesImpl } from 'three-stdlib'
import { useFrame } from '@react-three/fiber'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/core/MeshReflectorMaterial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
HalfFloatType,
} from 'three'
import { useFrame, useThree, extend } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'

import { BlurPass } from '../materials/BlurPass'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/core/OrthographicCamera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as THREE from 'three'
import * as React from 'react'
import { OrthographicCamera as OrthographicCameraImpl } from 'three'
import { useThree, useFrame } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { useFBO } from './useFBO'
import { ForwardRefComponent } from '../helpers/ts-utils'

Expand Down
2 changes: 1 addition & 1 deletion src/core/PerspectiveCamera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as THREE from 'three'
import * as React from 'react'
import { PerspectiveCamera as PerspectiveCameraImpl } from 'three'
import { useFrame, useThree } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { useFBO } from './useFBO'
import { ForwardRefComponent } from '../helpers/ts-utils'

Expand Down
2 changes: 1 addition & 1 deletion src/core/Points.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as THREE from 'three'
import * as React from 'react'
import { ReactThreeFiber, extend, useFrame } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { ForwardRefComponent } from '../helpers/ts-utils'

declare global {
Expand Down
2 changes: 1 addition & 1 deletion src/core/PositionalAudio.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { AudioLoader, AudioListener, PositionalAudio as PositionalAudioImpl } from 'three'
import { useThree, useLoader } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { ForwardRefComponent } from '../helpers/ts-utils'

type Props = JSX.IntrinsicElements['positionalAudio'] & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/QuadraticBezierLine.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { QuadraticBezierCurve3, Vector3 } from 'three'
import { Line2 } from 'three-stdlib'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { Line, LineProps } from './Line'
import { Object3DNode } from '@react-three/fiber'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/core/Reflector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
HalfFloatType,
} from 'three'
import { useFrame, useThree, extend } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'

import { BlurPass } from '../materials/BlurPass'
import { MeshReflectorMaterialProps, MeshReflectorMaterial } from '../materials/MeshReflectorMaterial'
Expand Down
2 changes: 1 addition & 1 deletion src/core/ScreenSizer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Object3DProps, useFrame } from '@react-three/fiber'
import * as React from 'react'
import { forwardRef, useRef } from 'react'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { Object3D, Vector3 } from 'three'
import { calculateScaleFactor } from './calculateScaleFactor'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/core/ScreenSpace.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Group } from 'three'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { useFrame } from '@react-three/fiber'
import { ForwardRefComponent } from '../helpers/ts-utils'

Expand Down
2 changes: 1 addition & 1 deletion src/core/Segments.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as THREE from 'three'
import * as React from 'react'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { extend, useFrame, ReactThreeFiber } from '@react-three/fiber'
import { Line2, LineSegmentsGeometry, LineMaterial, LineMaterialParameters } from 'three-stdlib'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/core/SpotLight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
} from 'three'
import { useFrame, useThree } from '@react-three/fiber'
import { FullScreenQuad } from 'three-stdlib'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { SpotLightMaterial } from '../materials/SpotLightMaterial'

// eslint-disable-next-line
Expand Down
2 changes: 1 addition & 1 deletion src/web/ScrollControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as THREE from 'three'
import * as React from 'react'
import * as ReactDOM from 'react-dom/client'
import { context as fiberContext, RootState, useFrame, useThree } from '@react-three/fiber'
import mergeRefs from 'react-merge-refs'
import { mergeRefs } from 'react-merge-refs'
import { DomEvent } from '@react-three/fiber/dist/declarations/src/core/events'
import { easing } from 'maath'
import { ForwardRefComponent } from '../helpers/ts-utils'
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11485,10 +11485,10 @@ react-lifecycles-compat@^3.0.4:
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==

react-merge-refs@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06"
integrity sha512-alTKsjEL0dKH/ru1Iyn7vliS2QRcBp9zZPGoWxUOvRGWPUYgjo+V01is7p04It6KhgrzhJGnIj9GgX8W4bZoCQ==
react-merge-refs@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-2.1.1.tgz#e46763f8f1b881c0226ee54a1a2a10ffefba0233"
integrity sha512-jLQXJ/URln51zskhgppGJ2ub7b2WFKGq3cl3NYKtlHoTG+dN2q7EzWrn3hN3EgPsTMvpR9tpq5ijdp7YwFZkag==

react-reconciler@^0.27.0:
version "0.27.0"
Expand Down Expand Up @@ -13152,25 +13152,25 @@ trim-newlines@^3.0.0:
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==

troika-three-text@^0.47.2:
version "0.47.2"
resolved "https://registry.yarnpkg.com/troika-three-text/-/troika-three-text-0.47.2.tgz#fdf89059c010563bb829262b20c41f69ca79b712"
integrity sha512-qylT0F+U7xGs+/PEf3ujBdJMYWbn0Qci0kLqI5BJG2kW1wdg4T1XSxneypnF05DxFqJhEzuaOR9S2SjiyknMng==
troika-three-text@^0.49.0:
version "0.49.0"
resolved "https://registry.yarnpkg.com/troika-three-text/-/troika-three-text-0.49.0.tgz#bc2dc1924250c477cd39316cd83585dee12550e0"
integrity sha512-sn9BNC6eIX8OO3iAkPwjecJ7Pn21Ve8P1UNFMNeQzXx759rrqS4i4pSZs7FLMYdWyCKVXBFGimBySFwRKLjq/Q==
dependencies:
bidi-js "^1.0.2"
troika-three-utils "^0.47.2"
troika-worker-utils "^0.47.2"
troika-three-utils "^0.49.0"
troika-worker-utils "^0.49.0"
webgl-sdf-generator "1.1.1"

troika-three-utils@^0.47.2:
version "0.47.2"
resolved "https://registry.yarnpkg.com/troika-three-utils/-/troika-three-utils-0.47.2.tgz#af49ca694245dce631963d5fefe4e8e1b8af9044"
integrity sha512-/28plhCxfKtH7MSxEGx8e3b/OXU5A0xlwl+Sbdp0H8FXUHKZDoksduEKmjQayXYtxAyuUiCRunYIv/8Vi7aiyg==
troika-three-utils@^0.49.0:
version "0.49.0"
resolved "https://registry.yarnpkg.com/troika-three-utils/-/troika-three-utils-0.49.0.tgz#3fbdbf8783740ce3c1f7acac642e7e957ea4f090"
integrity sha512-umitFL4cT+Fm/uONmaQEq4oZlyRHWwVClaS6ZrdcueRvwc2w+cpNQ47LlJKJswpqtMFWbEhOLy0TekmcPZOdYA==

troika-worker-utils@^0.47.2:
version "0.47.2"
resolved "https://registry.yarnpkg.com/troika-worker-utils/-/troika-worker-utils-0.47.2.tgz#e7c5de5f37d56c072b13fa8112bb844e048ff46c"
integrity sha512-mzss4MeyzUkYBppn4x5cdAqrhBHFEuVmMMgLMTyFV23x6GvQMyo+/R5E5Lsbrt7WSt5RfvewjcwD1DChRTA9lA==
troika-worker-utils@^0.49.0:
version "0.49.0"
resolved "https://registry.yarnpkg.com/troika-worker-utils/-/troika-worker-utils-0.49.0.tgz#e5e200a09d2e0e4eb9fe818a83effa912e2ec4b4"
integrity sha512-1xZHoJrG0HFfCvT/iyN41DvI/nRykiBtHqFkGaGgJwq5iXfIZFBiPPEHFpPpgyKM3Oo5ITHXP5wM2TNQszYdVg==

ts-dedent@^2.0.0, ts-dedent@^2.2.0:
version "2.2.0"
Expand Down
Loading