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

monaco-json

Package Overview
Dependencies
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-json - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

4

package.json
{
"name": "monaco-json",
"version": "2.4.0",
"version": "2.5.0",
"description": "JSON plugin for the Monaco Editor",

@@ -29,5 +29,5 @@ "scripts": {

"uglify-js": "^3.4.9",
"vscode-json-languageservice": "3.3.0-next.5",
"vscode-json-languageservice": "3.3.0-next.6",
"vscode-languageserver-types": "3.14.0"
}
}

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import { TextDocument, Position, CompletionItem, CompletionList, Hover, Range, SymbolInformation, Diagnostic, TextEdit, FormattingOptions, MarkedString } from '../vscode-languageserver-types/main';

@@ -66,2 +65,1 @@ import { JSONCompletion } from './services/jsonCompletion';

}
//# sourceMappingURL=jsonLanguageService.js.map

@@ -1,6 +0,1 @@

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import { Range, TextEdit, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind, MarkupKind } from '../vscode-languageserver-types/main';

@@ -66,2 +61,1 @@ export { Range, TextEdit, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind };

})(ClientCapabilities || (ClientCapabilities = {}));
//# sourceMappingURL=jsonLanguageTypes.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
var __extends = (this && this.__extends) || (function () {

@@ -13,3 +12,3 @@ var extendStatics = function (d, b) {

return extendStatics(d, b);
};
}
return function (d, b) {

@@ -1218,2 +1217,1 @@ extendStatics(d, b);

}
//# sourceMappingURL=jsonParser.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import * as nls from '../../../fillers/vscode-nls';

@@ -529,2 +528,1 @@ var localize = nls.loadMessageBundle();

}
//# sourceMappingURL=configuration.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import * as Parser from '../parser/jsonParser';

@@ -840,2 +839,1 @@ import * as Json from '../../jsonc-parser/main';

export { JSONCompletion };
//# sourceMappingURL=jsonCompletion.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import * as Parser from '../parser/jsonParser';

@@ -195,2 +194,1 @@ import * as Strings from '../utils/strings';

}
//# sourceMappingURL=jsonDocumentSymbols.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import { Position } from '../../vscode-languageserver-types/main';

@@ -122,2 +121,1 @@ import { createScanner } from '../../jsonc-parser/main';

}
//# sourceMappingURL=jsonFolding.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import * as Parser from '../parser/jsonParser';

@@ -108,2 +107,1 @@ import { Range } from '../../vscode-languageserver-types/main';

}
//# sourceMappingURL=jsonHover.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import * as Json from '../../jsonc-parser/main';

@@ -474,2 +473,1 @@ import URI from '../../vscode-uri/index';

}
//# sourceMappingURL=jsonSchemaService.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import { Range } from '../../vscode-languageserver-types/main';

@@ -64,2 +63,1 @@ import { createScanner } from '../../jsonc-parser/main';

}
//# sourceMappingURL=jsonSelectionRanges.js.map

@@ -5,3 +5,3 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
import { UnresolvedSchema } from './jsonSchemaService';
import { Diagnostic, DiagnosticSeverity, Range } from '../../vscode-languageserver-types/main';

@@ -84,3 +84,6 @@ import { ErrorCode } from '../jsonLanguageTypes';

if (schema) {
return this.promise.resolve(getDiagnostics(schema));
var id = schema.id || ('schemaservice://untitled/' + idCounter++);
return this.jsonSchemaService.resolveSchemaContent(new UnresolvedSchema(schema), id, {}).then(function (resolvedSchema) {
return getDiagnostics(resolvedSchema);
});
}

@@ -94,2 +97,3 @@ return this.jsonSchemaService.getSchemaForResource(textDocument.uri, jsonDocument).then(function (schema) {

export { JSONValidation };
var idCounter = 0;
function schemaAllowsComments(schemaRef) {

@@ -114,2 +118,1 @@ if (schemaRef && typeof schemaRef === 'object') {

}
//# sourceMappingURL=jsonValidation.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
var Digit0 = 48;

@@ -72,2 +71,1 @@ var Digit9 = 57;

}
//# sourceMappingURL=colors.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
export function stringifyObject(obj, indent, stringifyLiteral) {

@@ -45,2 +44,1 @@ if (obj !== null && typeof obj === 'object') {

}
//# sourceMappingURL=json.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
export function equals(one, other) {

@@ -68,2 +67,1 @@ if (one === other) {

}
//# sourceMappingURL=objects.js.map

@@ -5,3 +5,2 @@ /*---------------------------------------------------------------------------------------------

*--------------------------------------------------------------------------------------------*/
'use strict';
export function startsWith(haystack, needle) {

@@ -47,2 +46,1 @@ if (haystack.length < needle.length) {

}
//# sourceMappingURL=strings.js.map
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-json version: 2.4.0(20a7a9955776db2f5b8aad7675f302104f87e564)
* monaco-json version: 2.5.0(d9372e494455263f6e92265cc27bdd615e597e6f)
* Released under the MIT license

@@ -5,0 +5,0 @@ * https://github.com/Microsoft/monaco-json/blob/master/LICENSE.md

/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-json version: 2.4.0(20a7a9955776db2f5b8aad7675f302104f87e564)
* monaco-json version: 2.5.0(d9372e494455263f6e92265cc27bdd615e597e6f)
* Released under the MIT license

@@ -5,0 +5,0 @@ * https://github.com/Microsoft/monaco-json/blob/master/LICENSE.md

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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