New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rive-app/canvas-advanced-single

Package Overview
Dependencies
Maintainers
4
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.6.1 to 2.7.0

2

package.json
{
"name": "@rive-app/canvas-advanced-single",
"version": "2.6.1",
"version": "2.7.0",
"description": "Rive's lightweight low-level canvas based web api all in one js file.",

@@ -5,0 +5,0 @@ "main": "canvas_advanced_single.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