react-konva
Advanced tools
Comparing version 18.0.0-0 to 18.1.0-0
@@ -12,3 +12,3 @@ /** | ||
import ReactFiberReconciler from 'react-reconciler'; | ||
import { LegacyRoot } from 'react-reconciler/constants'; | ||
import { ConcurrentRoot } from 'react-reconciler/constants'; | ||
import * as HostConfig from './ReactKonvaHostConfig'; | ||
@@ -47,3 +47,3 @@ import { applyNodeProps, toggleStrictMode } from './makeUpdates'; | ||
_setRef(stage.current); | ||
fiberRef.current = KonvaRenderer.createContainer(stage.current, LegacyRoot, false, null); | ||
fiberRef.current = KonvaRenderer.createContainer(stage.current, ConcurrentRoot, false, null); | ||
KonvaRenderer.updateContainer(props.children, fiberRef.current); | ||
@@ -50,0 +50,0 @@ return () => { |
@@ -74,3 +74,3 @@ /** | ||
_setRef(stage.current); | ||
fiberRef.current = exports.KonvaRenderer.createContainer(stage.current, constants_1.LegacyRoot, false, null); | ||
fiberRef.current = exports.KonvaRenderer.createContainer(stage.current, constants_1.ConcurrentRoot, false, null); | ||
exports.KonvaRenderer.updateContainer(props.children, fiberRef.current); | ||
@@ -77,0 +77,0 @@ return () => { |
@@ -5,3 +5,3 @@ { | ||
"description": "React binding to canvas element via Konva framework", | ||
"version": "18.0.0-0", | ||
"version": "18.1.0-0", | ||
"keywords": [ | ||
@@ -21,4 +21,4 @@ "react", | ||
"dependencies": { | ||
"react-reconciler": "~0.27.0", | ||
"scheduler": "^0.21.0" | ||
"react-reconciler": "~0.28.0", | ||
"scheduler": "^0.22.0" | ||
}, | ||
@@ -48,14 +48,14 @@ "targets": { | ||
"devDependencies": { | ||
"@types/chai": "^4.3.0", | ||
"@types/mocha": "^9.1.0", | ||
"@types/react": "18.0.1", | ||
"@types/chai": "^4.3.1", | ||
"@types/mocha": "^9.1.1", | ||
"@types/react": "18.0.8", | ||
"chai": "4.3.6", | ||
"konva": "^8.3.5", | ||
"mocha-headless-chrome": "^4.0.0", | ||
"parcel": "^2.4.1", | ||
"parcel": "^2.5.0", | ||
"process": "^0.11.10", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"sinon": "^13.0.1", | ||
"typescript": "^4.6.3", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0", | ||
"sinon": "^13.0.2", | ||
"typescript": "^4.6.4", | ||
"use-image": "^1.0.12", | ||
@@ -62,0 +62,0 @@ "util": "^0.12.4" |
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
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
57654
+ Addedreact-reconciler@0.28.0(transitive)
+ Addedscheduler@0.22.0(transitive)
- Removedreact-reconciler@0.27.0(transitive)
- Removedscheduler@0.21.0(transitive)
Updatedreact-reconciler@~0.28.0
Updatedscheduler@^0.22.0