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

@rive-app/canvas-advanced-lite

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/canvas-advanced-lite - npm Package Compare versions

Comparing version 0.1.1 to 2.7.0

2

package.json
{
"name": "@rive-app/canvas-advanced-lite",
"version": "0.1.1",
"version": "2.7.0",
"description": "Rive's lite low-level canvas based web api.",

@@ -5,0 +5,0 @@ "main": "canvas_advanced.mjs",

@@ -32,4 +32,4 @@ interface RiveOptions {

StrokeJoin: typeof StrokeJoin;
decodeImage: Function;
decodeFont: Function;
decodeImage: DecodeFont;
decodeFont: DecodeFont;

@@ -264,2 +264,21 @@ /**

export class Image {
unref(): void;
}
export interface ImageCallback {
(image: Image): void;
}
export interface DecodeImage {
(bytes: Uint8Array, callback: ImageCallback): void;
}
export class Font {
unref(): void;
}
export interface FontCallback {
(font: Font): void;
}
export interface DecodeFont {
(bytes: Uint8Array, callback: FontCallback): void;
}
//////////

@@ -869,8 +888,7 @@ // File //

export declare class FileAssetLoader {
}
export declare class FileAssetLoader {}
export declare class CustomFileAssetLoader extends FileAssetLoader {
constructor({loadContents}: {loadContents:Function});
loadContents(asset: FileAsset, bytes:any): boolean;
constructor({ loadContents }: { loadContents: Function });
loadContents(asset: FileAsset, bytes: any): boolean;
}

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