@codingame/monaco-vscode-configuration-service-override 38.0.1 → 38.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-configuration-service-override",
3
- "version": "38.0.1",
3
+ "version": "38.0.3",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - configuration service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "38.0.1",
19
- "@codingame/monaco-vscode-files-service-override": "38.0.1"
18
+ "@codingame/monaco-vscode-api": "38.0.3",
19
+ "@codingame/monaco-vscode-files-service-override": "38.0.3"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -611,7 +611,7 @@ let ConfigurationEditing = class ConfigurationEditing {
611
611
  const configurationScope = configurationProperties[operation.key]?.scope;
612
612
  if (!operation.workspaceStandAloneConfigurationKey) {
613
613
  const validKeys = ( this.configurationService.keys()).default;
614
- if (validKeys.indexOf(operation.key) < 0 && !OVERRIDE_PROPERTY_REGEX.test(operation.key) && operation.value !== undefined) {
614
+ if (( validKeys.indexOf(operation.key)) < 0 && !OVERRIDE_PROPERTY_REGEX.test(operation.key) && operation.value !== undefined) {
615
615
  throw this.toConfigurationEditingError(ConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY, target, operation);
616
616
  }
617
617
  }
@@ -707,7 +707,7 @@ let ConfigurationEditing = class ConfigurationEditing {
707
707
  };
708
708
  }
709
709
  const keyPrefix = `${key}.`;
710
- if (config.key.indexOf(keyPrefix) === 0) {
710
+ if (( config.key.indexOf(keyPrefix)) === 0) {
711
711
  const jsonPath = this.isWorkspaceConfigurationResource(resource) ? [key, config.key.substring(keyPrefix.length)] : [config.key.substring(keyPrefix.length)];
712
712
  return {
713
713
  key: jsonPath[jsonPath.length - 1],
@@ -127,10 +127,10 @@ class Configuration extends Configuration$1 {
127
127
  compare(other) {
128
128
  const compare = (fromKeys, toKeys, overrideIdentifier) => {
129
129
  const keys = [];
130
- keys.push(...toKeys.filter(key => fromKeys.indexOf(key) === -1));
131
- keys.push(...fromKeys.filter(key => toKeys.indexOf(key) === -1));
130
+ keys.push(...toKeys.filter(key => ( fromKeys.indexOf(key)) === -1));
131
+ keys.push(...fromKeys.filter(key => ( toKeys.indexOf(key)) === -1));
132
132
  keys.push(...fromKeys.filter(key => {
133
- if (toKeys.indexOf(key) === -1) {
133
+ if (( toKeys.indexOf(key)) === -1) {
134
134
  return false;
135
135
  }
136
136
  if (!equals(this.getValue(key, {