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

@tauri-apps/api

Package Overview
Dependencies
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tauri-apps/api - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

dpi.js

@@ -203,3 +203,3 @@ import { SERIALIZE_TO_IPC_FN } from './core.js';

toPhysical(scaleFactor) {
return new PhysicalPosition(this.x * scaleFactor, this.x * scaleFactor);
return new PhysicalPosition(this.x * scaleFactor, this.y * scaleFactor);
}

@@ -256,3 +256,3 @@ [SERIALIZE_TO_IPC_FN]() {

toLogical(scaleFactor) {
return new LogicalPosition(this.x / scaleFactor, this.x / scaleFactor);
return new LogicalPosition(this.x / scaleFactor, this.y / scaleFactor);
}

@@ -259,0 +259,0 @@ [SERIALIZE_TO_IPC_FN]() {

@@ -9,2 +9,12 @@ /**

* ```
*
* ### Vanilla JS API
*
* The above import syntax is for JavaScript/TypeScript with a bundler. If you're using vanilla JavaScript, you can use the global `window.__TAURI__` object instead. It requires `app.withGlobalTauri` configuration option enabled.
*
* @example
* ```js
* const { event, window: tauriWindow, path } = window.__TAURI__;
* ```
*
* @module

@@ -11,0 +21,0 @@ */

{
"name": "@tauri-apps/api",
"version": "2.1.0",
"version": "2.1.1",
"description": "Tauri API definitions",

@@ -5,0 +5,0 @@ "funding": {

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