@rive-app/react-canvas
Advanced tools
@@ -24,7 +24,7 @@ import { Layout, RiveParameters, Rive as Rive$1, RiveFileParameters, RiveFile, ViewModelInstance, ViewModelInstanceArtboard, decodeImage, StateMachineInput, ViewModel, Bounds } from '@rive-app/canvas'; | ||
| /** | ||
| * Specify a starting Layout object to set Fill and Alignment for the drawing surface. See docs at https://rive.app/community/doc/layout/docBl81zd1GB for more on layout configuration. | ||
| * Specify a starting Layout object to set Fill and Alignment for the drawing surface. See docs at https://rive.app/docs/runtimes/react/layouts for more on layout configuration. | ||
| */ | ||
| layout?: Layout; | ||
| /** | ||
| * For `@rive-app/react-webgl`, sets this property to maintain a single WebGL context for multiple canvases. **We recommend to keep the default value** when rendering multiple Rive instances on a page. | ||
| * For `@rive-app/react-webgl2`, sets this property to maintain a single WebGL context for multiple canvases. **We recommend to keep the default value** when rendering multiple Rive instances on a page. | ||
| */ | ||
@@ -31,0 +31,0 @@ useOffscreenRenderer?: boolean; |
+2
-2
| { | ||
| "name": "@rive-app/react-canvas", | ||
| "version": "4.27.3", | ||
| "version": "4.28.0", | ||
| "description": "React wrapper around the @rive-app/canvas library", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
| "dependencies": { | ||
| "@rive-app/canvas": "2.35.4" | ||
| "@rive-app/canvas": "2.37.1" | ||
| }, | ||
@@ -24,0 +24,0 @@ "peerDependencies": { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
-100%39487
-0.01%+ Added
- Removed
Updated