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

@tauri-apps/plugin-fs

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tauri-apps/plugin-fs - npm Package Compare versions

Comparing version 2.0.0-beta.3 to 2.0.0-beta.4

21

dist-js/index.js

@@ -77,5 +77,5 @@ export { BaseDirectory } from '@tauri-apps/api/path';

size: r.size,
mtime: r.mtime != null ? new Date(r.mtime) : null,
atime: r.atime != null ? new Date(r.atime) : null,
birthtime: r.birthtime != null ? new Date(r.birthtime) : null,
mtime: r.mtime !== null ? new Date(r.mtime) : null,
atime: r.atime !== null ? new Date(r.atime) : null,
birthtime: r.birthtime !== null ? new Date(r.birthtime) : null,
readonly: r.readonly,

@@ -391,3 +391,5 @@ fileAttributes: r.fileAttributes,

});
return Uint8Array.from(arr);
return arr instanceof ArrayBuffer
? new Uint8Array(arr)
: Uint8Array.from(arr);
}

@@ -437,3 +439,3 @@ /**

async next() {
if (this.rid == null) {
if (this.rid === null) {
this.rid = await invoke("plugin:fs|read_text_file_lines", {

@@ -594,6 +596,7 @@ path: pathStr,

}
await invoke("plugin:fs|write_file", {
path: path instanceof URL ? path.toString() : path,
data: Array.from(data),
options,
await invoke("plugin:fs|write_file", data, {
headers: {
path: path instanceof URL ? path.toString() : path,
options: JSON.stringify(options),
},
});

@@ -600,0 +603,0 @@ }

{
"name": "@tauri-apps/plugin-fs",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"description": "Access the file system.",

@@ -24,3 +24,3 @@ "license": "MIT or APACHE-2.0",

"dependencies": {
"@tauri-apps/api": "2.0.0-beta.11"
"@tauri-apps/api": "2.0.0-beta.12"
},

@@ -27,0 +27,0 @@ "scripts": {

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