@codingame/monaco-vscode-model-service-override
Advanced tools
Comparing version 5.3.0 to 6.0.0
{ | ||
"name": "@codingame/monaco-vscode-model-service-override", | ||
"version": "5.3.0", | ||
"version": "6.0.0", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@5.3.0" | ||
"vscode": "npm:@codingame/monaco-vscode-api@6.0.0" | ||
} | ||
} |
@@ -7,2 +7,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { TextResourceEditorModel } from 'vscode/vscode/vs/workbench/common/editor/textResourceEditorModel'; | ||
import { TextFileResolveReason } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles'; | ||
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service'; | ||
@@ -13,2 +14,3 @@ import { Schemas } from 'vscode/vscode/vs/base/common/network'; | ||
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service'; | ||
import 'vscode/vscode/vs/platform/instantiation/common/extensions'; | ||
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo.service'; | ||
@@ -52,3 +54,3 @@ import { ModelUndoRedoParticipant } from '../../../../editor/common/services/modelUndoRedoParticipant.js'; | ||
if (this.fileService.hasProvider(resource)) { | ||
const model = await this.textFileService.files.resolve(resource, { reason: 2 }); | ||
const model = await this.textFileService.files.resolve(resource, { reason: TextFileResolveReason.REFERENCE }); | ||
if (this.ensureResolvedModel(model, key)) { | ||
@@ -55,0 +57,0 @@ return model; |
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
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
12502
260
+ Added@codingame/monaco-vscode-api@6.0.0(transitive)
+ Added@codingame/monaco-vscode-base-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-files-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-host-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@6.0.0(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@6.0.0(transitive)
- Removed@codingame/monaco-vscode-api@5.3.0(transitive)
- Removed@codingame/monaco-vscode-base-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-files-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-host-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@5.3.0(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@5.3.0(transitive)