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

@types/wicg-file-system-access

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/wicg-file-system-access - npm Package Compare versions

Comparing version 2020.9.5 to 2020.9.6

wicg-file-system-access/ts5.0/index.d.ts

20

wicg-file-system-access/index.d.ts

@@ -82,8 +82,8 @@ // Type definitions for non-npm package File System Access API 2020.09

type WriteParams =
| { type: 'write'; position?: number | undefined; data: BufferSource | Blob | string }
| { type: 'seek'; position: number }
| { type: 'truncate'; size: number };
// type WriteParams =
// | { type: 'write'; position?: number | undefined; data: BufferSource | Blob | string }
// | { type: 'seek'; position: number }
// | { type: 'truncate'; size: number };
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
// type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;

@@ -96,7 +96,7 @@ // TODO: remove this once https://github.com/microsoft/TSJS-lib-generator/issues/881 is fixed.

class FileSystemWritableFileStream extends WritableStream {
write(data: FileSystemWriteChunkType): Promise<void>;
seek(position: number): Promise<void>;
truncate(size: number): Promise<void>;
}
// class FileSystemWritableFileStream extends WritableStream {
// write(data: FileSystemWriteChunkType): Promise<void>;
// seek(position: number): Promise<void>;
// truncate(size: number): Promise<void>;
// }

@@ -103,0 +103,0 @@ interface FileSystemFileHandle extends FileSystemHandle {

{
"name": "@types/wicg-file-system-access",
"version": "2020.9.5",
"version": "2020.9.6",
"description": "TypeScript definitions for File System Access API",

@@ -16,2 +16,9 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wicg-file-system-access",

"types": "index.d.ts",
"typesVersions": {
"<=5.0": {
"*": [
"ts5.0/*"
]
}
},
"repository": {

@@ -24,4 +31,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "56672f6a126639189c1d92b7321f7743b79a93b0b0156487ecb68d450bd58d69",
"typesPublisherContentHash": "eb1bd0e3ba1481c46796baf58e8f13cfe69231d882b1e520749a2074583c87c6",
"typeScriptVersion": "4.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 28 Jan 2022 21:31:31 GMT
* Last updated: Thu, 06 Apr 2023 19:03:16 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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