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

@rive-app/canvas

Package Overview
Dependencies
Maintainers
4
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/canvas - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

2

package.json
{
"name": "@rive-app/canvas",
"version": "1.0.21",
"version": "1.0.22",
"description": "Rive's canvas based web api.",

@@ -5,0 +5,0 @@ "main": "rive.js",

@@ -318,2 +318,9 @@ import * as rc from './rive_advanced.mjs';

resizeToCanvas(): void;
/**
* Accounts for devicePixelRatio as a multiplier to render the size of the canvas drawing surface.
* Uses the size of the backing canvas to set new width/height attributes. Need to re-render
* and resize the layout to match the new drawing surface afterwards. Useful function for consumers
* to include in a window resize listener
*/
resizeDrawingSurfaceToCanvas(): void;
get source(): string;

@@ -320,0 +327,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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