@codingame/monaco-vscode-files-service-override
Advanced tools
Comparing version 1.82.6 to 1.83.0-next.0
{ | ||
"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 }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12866
225
2
+ Added@codingame/monaco-vscode-api@1.83.0-next.0(transitive)
+ Addedmonaco-editor@0.44.0(transitive)
- Removed@codingame/monaco-vscode-api@1.82.6(transitive)
- Removedmonaco-editor@0.43.0(transitive)
Updatedmonaco-editor@0.44.0
Updatedvscode@npm:@codingame/monaco-vscode-api@1.83.0-next.0