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

@zsviczian/excalidraw

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zsviczian/excalidraw - npm Package Compare versions

Comparing version 0.9.0-obsidian-12 to 0.9.0-obsidian-13

dist/excalidraw-assets-dev/image-7e0eecf06fd4ae95db83.js

2

package.json
{
"name": "@zsviczian/excalidraw",
"version": "0.9.0-obsidian-12",
"version": "0.9.0-obsidian-13",
"main": "main.js",

@@ -5,0 +5,0 @@ "types": "types/packages/excalidraw/index.d.ts",

@@ -5,6 +5,6 @@ export declare const IV_LENGTH_BYTES = 12;

export declare const getImportedKey: (key: string, usage: KeyUsage) => Promise<CryptoKey>;
export declare const encryptData: (key: string, data: Uint8Array | Blob | File | string) => Promise<{
export declare const encryptData: (key: string, data: Uint8Array | ArrayBuffer | Blob | File | string) => Promise<{
encryptedBuffer: ArrayBuffer;
iv: Uint8Array;
}>;
export declare const decryptData: (iv: ArrayBuffer, encrypted: ArrayBuffer, privateKey: string) => Promise<ArrayBuffer>;
export declare const decryptData: (iv: Uint8Array, encrypted: Uint8Array | ArrayBuffer, privateKey: string) => Promise<ArrayBuffer>;

@@ -1,13 +0,13 @@

import { AppState } from "../types";
import { ExcalidrawElement, ImageId, InitializedExcalidrawImageElement } from "./types";
import { AppClassProperties, AppState } from "../types";
import { ExcalidrawElement, FileId, InitializedExcalidrawImageElement } from "./types";
/** NOTE: updates cache even if already populated with given image. Thus,
* you should filter out the images upstream if you want to optimize this. */
export declare const updateImageCache: ({ imageElements, files, imageCache, }: {
imageElements: readonly InitializedExcalidrawImageElement[];
export declare const updateImageCache: ({ fileIds, files, imageCache, }: {
fileIds: FileId[];
files: AppState["files"];
imageCache: Map<ImageId, HTMLImageElement>;
imageCache: AppClassProperties["imageCache"];
}) => Promise<{
imageCache: Map<ImageId, HTMLImageElement>;
didUpdate: boolean;
imageCache: Map<FileId, HTMLImageElement | Promise<HTMLImageElement>>;
updatedFiles: Map<FileId, true>;
}>;
export declare const getInitializedImageElements: (elements: readonly ExcalidrawElement[]) => InitializedExcalidrawImageElement[];

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

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

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