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

@codingame/monaco-vscode-files-service-override

Package Overview
Dependencies
Maintainers
6
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-vscode-files-service-override - npm Package Compare versions

Comparing version 1.82.6 to 1.83.0-next.0

6

package.json
{
"name": "@codingame/monaco-vscode-files-service-override",
"version": "1.82.6",
"version": "1.83.0-next.0",
"keywords": [],

@@ -21,5 +21,5 @@ "author": {

"dependencies": {
"vscode": "npm:@codingame/monaco-vscode-api@1.82.6",
"monaco-editor": "0.43.0"
"vscode": "npm:@codingame/monaco-vscode-api@1.83.0-next.0",
"monaco-editor": "0.44.0"
}
}
import { Event } from 'vscode/vscode/vs/base/common/event';
import { Disposable, IDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
import { ReadableStreamEvents } from 'vscode/vscode/vs/base/common/stream';
import { URI } from 'vscode/vscode/vs/base/common/uri';
import { IFileSystemProviderWithFileReadWriteCapability, FileSystemProviderCapabilities, IStat, FileType, IFileWriteOptions, IFileOverwriteOptions, IFileDeleteOptions, IFileChange, IWatchOptions } from 'vscode/vscode/vs/platform/files/common/files';
import { IFileSystemProviderWithFileReadWriteCapability, IFileSystemProviderWithOpenReadWriteCloseCapability, IFileSystemProviderWithFileReadStreamCapability, IFileSystemProviderWithFileAtomicReadCapability, IFileSystemProviderWithFileAtomicWriteCapability, IFileSystemProviderWithFileAtomicDeleteCapability, FileSystemProviderCapabilities, IStat, FileType, IFileWriteOptions, IFileOpenOptions, IFileOverwriteOptions, IFileDeleteOptions, IFileChange, IWatchOptions } from 'vscode/vscode/vs/platform/files/common/files';
declare class File implements IStat {
type: FileType.File;
ctime: number;
readonly type: FileType.File;
readonly ctime: number;
mtime: number;

@@ -16,11 +17,13 @@ size: number;

declare class Directory implements IStat {
type: FileType.Directory;
ctime: number;
readonly type: FileType.Directory;
readonly ctime: number;
mtime: number;
size: number;
name: string;
entries: Map<string, File | Directory>;
readonly entries: Map<string, File | Directory>;
constructor(name: string);
}
declare class InMemoryFileSystemProvider extends Disposable implements IFileSystemProviderWithFileReadWriteCapability {
declare class InMemoryFileSystemProvider extends Disposable implements IFileSystemProviderWithFileReadWriteCapability, IFileSystemProviderWithOpenReadWriteCloseCapability, IFileSystemProviderWithFileReadStreamCapability, IFileSystemProviderWithFileAtomicReadCapability, IFileSystemProviderWithFileAtomicWriteCapability, IFileSystemProviderWithFileAtomicDeleteCapability {
private memoryFdCounter;
private readonly fdMemory;
private _onDidChangeCapabilities;

@@ -35,3 +38,8 @@ readonly onDidChangeCapabilities: Event<void>;

readFile(resource: URI): Promise<Uint8Array>;
readFileStream(resource: URI): ReadableStreamEvents<Uint8Array>;
writeFile(resource: URI, content: Uint8Array, opts: IFileWriteOptions): Promise<void>;
open(resource: URI, opts: IFileOpenOptions): Promise<number>;
close(fd: number): Promise<void>;
read(fd: number, pos: number, data: Uint8Array, offset: number, length: number): Promise<number>;
write(fd: number, pos: number, data: Uint8Array, offset: number, length: number): Promise<number>;
rename(from: URI, to: URI, opts: IFileOverwriteOptions): Promise<void>;

@@ -50,4 +58,5 @@ delete(resource: URI, opts: IFileDeleteOptions): Promise<void>;

private _fireSoon;
dispose(): void;
}
export { InMemoryFileSystemProvider };
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