vscode-json-languageservice 4.1.4 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,10 +114,10 @@ export interface SchemaConfiguration {
114
114
  */
115
115
  uri: string;
116
116
  /**
117
- * A list of file path glob patterns that are associated to the schema. The '*' and '**' wildcards can be used.
118
- * Exclusion patterns starting with '!'.
119
- * For example: '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
120
- * A match succeeds when there is at least one pattern matching and last matching patter`n does not start with '!'.
117
+ * A list of glob patterns that describe for which file URIs the JSON schema will be used.
118
+ * '*' and '**' wildcards are supported. Exclusion patterns start with '!'.
119
+ * For example '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
120
+ * A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
121
121
  */
122
122
  fileMatch?: string[];
123
123
  /**
@@ -10,6 +10,8 @@ var __extends = (this && this.__extends) || (function () {
10
10
  return extendStatics(d, b);
11
11
  };
12
12
  return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
15
  extendStatics(d, b);
14
16
  function __() { this.constructor = d; }
15
17
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -114,10 +114,10 @@ export interface SchemaConfiguration {
114
114
  */
115
115
  uri: string;
116
116
  /**
117
- * A list of file path glob patterns that are associated to the schema. The '*' and '**' wildcards can be used.
118
- * Exclusion patterns starting with '!'.
119
- * For example: '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
120
- * A match succeeds when there is at least one pattern matching and last matching patter`n does not start with '!'.
117
+ * A list of glob patterns that describe for which file URIs the JSON schema will be used.
118
+ * '*' and '**' wildcards are supported. Exclusion patterns start with '!'.
119
+ * For example '*.schema.json', 'package.json', '!foo*.schema.json', 'foo/**\/BADRESP.json'.
120
+ * A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
121
121
  */
122
122
  fileMatch?: string[];
123
123
  /**
@@ -10,6 +10,8 @@ var __extends = (this && this.__extends) || (function () {
10
10
  return extendStatics(d, b);
11
11
  };
12
12
  return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
15
  extendStatics(d, b);
14
16
  function __() { this.constructor = d; }
15
17
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vscode-json-languageservice",
3
- "version": "4.1.4",
3
+ "version": "4.1.5",
4
4
  "description": "Language service for JSON",
5
5
  "main": "./lib/umd/jsonLanguageService.js",
6
6
  "typings": "./lib/umd/jsonLanguageService",