@codingame/monaco-editor-wrapper 3.5.2 → 3.6.0

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.
Files changed (70) hide show
  1. package/dist/COBOL.tmLanguage.js +22 -6
  2. package/dist/JavaScript.tmLanguage.js +2 -2
  3. package/dist/JavaScriptReact.tmLanguage.js +2 -2
  4. package/dist/TypeScript.tmLanguage.js +2 -2
  5. package/dist/TypeScriptReact.tmLanguage.js +2 -2
  6. package/dist/_monaco-editor_commonjs-external.js +8 -1
  7. package/dist/angular.js +6 -0
  8. package/dist/buildignore.r.js +5 -0
  9. package/dist/{COBOL.js → cobol.js} +2 -2
  10. package/dist/cobol2.js +71 -47
  11. package/dist/cpp.tmLanguage.js +808 -4380
  12. package/dist/cpptools.js +1896 -1867
  13. package/dist/css.tmLanguage.js +1 -1
  14. package/dist/d.js +3 -0
  15. package/dist/d3.js +369 -288
  16. package/dist/dart.js +37 -24
  17. package/dist/dart3.js +46 -6
  18. package/dist/features/extensionConfigurations.js +2 -1
  19. package/dist/features/jsonContribution.d.ts +1 -1
  20. package/dist/features/typescriptContribution.js +1 -1
  21. package/dist/go.mod.js +8 -0
  22. package/dist/go.mod.tmGrammar.js +182 -0
  23. package/dist/go.sum.tmGrammar.js +55 -0
  24. package/dist/go.work.js +8 -0
  25. package/dist/govulncheck.tmGrammar.js +138 -0
  26. package/dist/html.tmLanguage.js +4 -4
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index2.js +89 -18
  29. package/dist/java2.js +80 -2
  30. package/dist/javascript.js +1 -1
  31. package/dist/javascriptreact.js +1 -1
  32. package/dist/lua.tmLanguage.js +104 -7
  33. package/dist/lua2.js +98 -26
  34. package/dist/main.js +151 -29
  35. package/dist/markdown-vue.js +1 -1
  36. package/dist/namespace.r.js +88 -0
  37. package/dist/ocaml3.js +8 -1
  38. package/dist/rbuildignore.js +39 -0
  39. package/dist/rnamespace.js +283 -0
  40. package/dist/scalameta.js +12 -5
  41. package/dist/shell-unix-bash.tmLanguage.js +1193 -528
  42. package/dist/solargraph.js +2 -2
  43. package/dist/sql.tmLanguage.js +134 -46
  44. package/dist/style.d.ts +1 -0
  45. package/dist/svelte.js +3 -1
  46. package/dist/svelte.svelte-vscode.js +11 -14
  47. package/dist/svlangserver.js +2 -2
  48. package/dist/tcl.tmlanguage.yaml.js +1 -1
  49. package/dist/theme-defaults~dark_plus_experimental.js +146 -0
  50. package/dist/theme-defaults~dark_vs.js +6 -2
  51. package/dist/theme-defaults~light_plus_experimental.js +159 -0
  52. package/dist/theme-defaults~light_vs.js +4 -2
  53. package/dist/tools/EditorOpenHandlerRegistry.d.ts +1 -1
  54. package/dist/typescript-language-features.js +48 -45
  55. package/dist/typescript.js +1 -1
  56. package/dist/typescriptreact.js +1 -1
  57. package/dist/volar-vue.js +51 -18
  58. package/dist/vscode-R.js +12 -1
  59. package/dist/vscode-go-go.js +276 -0
  60. package/dist/vscode-go.js +1604 -0
  61. package/dist/vscode-python.js +14 -9
  62. package/dist/vue-directives.js +1 -1
  63. package/dist/vue-interpolations.js +1 -1
  64. package/dist/vue-sfc-style-variable-injection.js +1 -1
  65. package/dist/vue.tmLanguage.js +44 -12
  66. package/dist/worker.d.ts +1 -1
  67. package/package.json +30 -27
  68. package/stats.html +2462 -329
  69. package/dist/COBOL Copybook.js +0 -6
  70. package/dist/cobol-snippets.js +0 -5
@@ -5,7 +5,8 @@ var vscodePython = [
5
5
  "default": [],
6
6
  "description": "List of paths to libraries and the like that need to be imported by auto complete engine. E.g. when using Google App SDK, the paths are not in system path, hence need to be added into this list.",
7
7
  "scope": 4,
8
- "type": "array"
8
+ "type": "array",
9
+ "uniqueItems": true
9
10
  },
10
11
  "python.condaPath": {
11
12
  "default": "",
@@ -39,7 +40,7 @@ var vscodePython = [
39
40
  },
40
41
  "python.experiments.optInto": {
41
42
  "default": [],
42
- "description": "List of experiment to opt into. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/Experiments for more details.",
43
+ "description": "List of experiment to opt into. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/AB-Experiments for more details.",
43
44
  "items": {
44
45
  "enum": [
45
46
  "All",
@@ -48,11 +49,12 @@ var vscodePython = [
48
49
  ]
49
50
  },
50
51
  "scope": 2,
51
- "type": "array"
52
+ "type": "array",
53
+ "uniqueItems": true
52
54
  },
53
55
  "python.experiments.optOutFrom": {
54
56
  "default": [],
55
- "description": "List of experiment to opt out of. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/Experiments for more details.",
57
+ "description": "List of experiment to opt out of. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/AB-Experiments for more details.",
56
58
  "items": {
57
59
  "enum": [
58
60
  "All",
@@ -61,7 +63,8 @@ var vscodePython = [
61
63
  ]
62
64
  },
63
65
  "scope": 2,
64
- "type": "array"
66
+ "type": "array",
67
+ "uniqueItems": true
65
68
  },
66
69
  "python.formatting.autopep8Args": {
67
70
  "default": [],
@@ -260,7 +263,8 @@ var vscodePython = [
260
263
  "type": "string"
261
264
  },
262
265
  "scope": 4,
263
- "type": "array"
266
+ "type": "array",
267
+ "uniqueItems": true
264
268
  },
265
269
  "python.linting.lintOnSave": {
266
270
  "default": true,
@@ -558,7 +562,7 @@ var vscodePython = [
558
562
  "python.tensorBoard.logDirectory": {
559
563
  "default": "",
560
564
  "description": "Set this setting to your preferred TensorBoard log directory to skip log directory prompt when starting TensorBoard.",
561
- "scope": 1,
565
+ "scope": 4,
562
566
  "type": "string"
563
567
  },
564
568
  "python.terminal.activateEnvInCurrentTerminal": {
@@ -581,7 +585,7 @@ var vscodePython = [
581
585
  },
582
586
  "python.terminal.focusAfterLaunch": {
583
587
  "default": false,
584
- "description": "When launching a python process, whether to focus on the terminal.",
588
+ "description": "When launching a python terminal, whether to focus the cursor on the terminal.",
585
589
  "scope": 4,
586
590
  "type": "boolean"
587
591
  },
@@ -664,7 +668,8 @@ var vscodePython = [
664
668
  "type": "string"
665
669
  },
666
670
  "scope": 2,
667
- "type": "array"
671
+ "type": "array",
672
+ "uniqueItems": true
668
673
  },
669
674
  "python.venvPath": {
670
675
  "default": "",
@@ -9,7 +9,7 @@ var patterns = [
9
9
  ];
10
10
  var scopeName = "vue.directives";
11
11
  var information_for_contributors = [
12
- "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
12
+ "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vscode-vue/",
13
13
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
14
14
  "Once accepted there, we are happy to receive an update request."
15
15
  ];
@@ -9,7 +9,7 @@ var patterns = [
9
9
  ];
10
10
  var scopeName = "vue.interpolations";
11
11
  var information_for_contributors = [
12
- "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
12
+ "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vscode-vue/",
13
13
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
14
14
  "Once accepted there, we are happy to receive an update request."
15
15
  ];
@@ -46,7 +46,7 @@ var repository = {
46
46
  };
47
47
  var scopeName = "vue.sfc.style.variable.injection";
48
48
  var information_for_contributors = [
49
- "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
49
+ "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vscode-vue/",
50
50
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
51
51
  "Once accepted there, we are happy to receive an update request."
52
52
  ];
@@ -502,6 +502,38 @@ var patterns = [
502
502
  }
503
503
  ]
504
504
  },
505
+ {
506
+ begin: "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)json5\\b\\2)",
507
+ beginCaptures: {
508
+ "1": {
509
+ name: "entity.name.tag.$1.html.vue"
510
+ }
511
+ },
512
+ end: "(</)(\\1)\\s*(?=>)",
513
+ endCaptures: {
514
+ "1": {
515
+ name: "punctuation.definition.tag.begin.html.vue"
516
+ },
517
+ "2": {
518
+ name: "entity.name.tag.$2.html.vue"
519
+ }
520
+ },
521
+ patterns: [
522
+ {
523
+ include: "#tag-stuff"
524
+ },
525
+ {
526
+ begin: "(?<=>)",
527
+ end: "(?=<\\/)",
528
+ name: "source.json5",
529
+ patterns: [
530
+ {
531
+ include: "source.json5"
532
+ }
533
+ ]
534
+ }
535
+ ]
536
+ },
505
537
  {
506
538
  begin: "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)yaml\\b\\2)",
507
539
  beginCaptures: {
@@ -1140,19 +1172,19 @@ var repository = {
1140
1172
  "vue-interpolations": {
1141
1173
  patterns: [
1142
1174
  {
1143
- begin: "\\{\\{",
1144
- beginCaptures: [
1145
- {
1146
- name: "punctuation.definition.tag.begin.html.vue"
1175
+ begin: "(\\{\\{)",
1176
+ beginCaptures: {
1177
+ "1": {
1178
+ name: "punctuation.definition.interpolation.begin.html.vue"
1147
1179
  }
1148
- ],
1149
- end: "\\}\\}",
1150
- endCaptures: [
1151
- {
1152
- name: "punctuation.definition.tag.end.html.vue"
1180
+ },
1181
+ end: "(\\}\\})",
1182
+ endCaptures: {
1183
+ "1": {
1184
+ name: "punctuation.definition.interpolation.end.html.vue"
1153
1185
  }
1154
- ],
1155
- name: "expression.embbeded.vue",
1186
+ },
1187
+ name: "expression.embedded.vue",
1156
1188
  patterns: [
1157
1189
  {
1158
1190
  begin: "\\G",
@@ -1170,7 +1202,7 @@ var repository = {
1170
1202
  }
1171
1203
  };
1172
1204
  var information_for_contributors = [
1173
- "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/extensions/vscode-vue-language-features/",
1205
+ "This file has been converted from https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vscode-vue/",
1174
1206
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
1175
1207
  "Once accepted there, we are happy to receive an update request."
1176
1208
  ];
package/dist/worker.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as monaco from 'monaco-editor';
2
2
  interface WrappedWorker {
3
3
  new (): Worker;
4
4
  }
5
- export declare type WorkerLoader = () => WrappedWorker | Promise<WrappedWorker>;
5
+ export type WorkerLoader = () => WrappedWorker | Promise<WrappedWorker>;
6
6
  export declare function registerWorkerLoader(label: string, workerLoader: WorkerLoader): void;
7
7
  declare global {
8
8
  interface Window extends monaco.Window {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-editor-wrapper",
3
- "version": "3.5.2",
3
+ "version": "3.6.0",
4
4
  "private": false,
5
5
  "description": "Enhanced Monaco editor with TextMate grammars and more",
6
6
  "scripts": {
@@ -67,58 +67,61 @@
67
67
  ],
68
68
  "dependencies": {
69
69
  "monaco-editor": "npm:@codingame/monaco-editor@^0.34.0",
70
- "vscode": "npm:@codingame/monaco-vscode-api@~1.69.6",
70
+ "vscode": "npm:@codingame/monaco-vscode-api@~1.69.14",
71
71
  "vscode-oniguruma": "^1.6.2",
72
72
  "vscode-textmate": "^7.0.3"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/core": "7.19.3",
75
+ "@babel/core": "7.20.12",
76
76
  "@babel/plugin-proposal-class-properties": "7.18.6",
77
- "@babel/plugin-proposal-optional-chaining": "7.18.9",
78
- "@babel/preset-env": "7.19.4",
77
+ "@babel/plugin-proposal-optional-chaining": "7.20.7",
78
+ "@babel/preset-env": "7.20.2",
79
79
  "@babel/preset-typescript": "7.18.6",
80
- "@babel/runtime": "7.19.4",
80
+ "@babel/runtime": "7.20.13",
81
+ "@codingame/commitlint-config-codingame": "^1.0.5",
81
82
  "@codingame/eslint-config": "^1.1.6",
83
+ "@codingame/semantic-release-rules": "^1.0.0",
82
84
  "@codingame/tsconfig": "^1.1.1",
83
- "@rollup/plugin-alias": "4.0.0",
84
- "@rollup/plugin-babel": "6.0.0",
85
- "@rollup/plugin-commonjs": "23.0.0",
86
- "@rollup/plugin-json": "5.0.0",
87
- "@rollup/plugin-node-resolve": "15.0.0",
88
- "@rollup/plugin-typescript": "^9.0.1",
85
+ "@commitlint/cli": "^17.4.2",
86
+ "@rollup/plugin-alias": "4.0.3",
87
+ "@rollup/plugin-babel": "6.0.3",
88
+ "@rollup/plugin-commonjs": "24.0.1",
89
+ "@rollup/plugin-json": "6.0.0",
90
+ "@rollup/plugin-node-resolve": "15.0.1",
91
+ "@rollup/plugin-typescript": "^11.0.0",
89
92
  "@types/ini": "1.3.31",
90
93
  "@types/js-yaml": "^4.0.5",
91
- "@types/node": "18.11.2",
94
+ "@types/node": "18.11.18",
92
95
  "@types/rollup-plugin-node-builtins": "^2.1.2",
93
96
  "@types/vscode": "~1.69.1",
94
- "@typescript-eslint/eslint-plugin": "5.40.1",
95
- "@typescript-eslint/parser": "5.40.1",
97
+ "@typescript-eslint/eslint-plugin": "5.48.2",
98
+ "@typescript-eslint/parser": "5.48.2",
96
99
  "conventional-changelog-conventionalcommits": "^5.0.0",
97
100
  "cson-parser": "4.0.9",
98
- "deep-equal": "2.0.5",
99
- "eslint": "8.25.0",
101
+ "deep-equal": "2.2.0",
102
+ "eslint": "8.32.0",
100
103
  "eslint-config-standard": "17.0.0",
101
- "eslint-plugin-import": "2.26.0",
104
+ "eslint-plugin-import": "2.27.5",
102
105
  "eslint-plugin-node": "11.1.0",
103
- "eslint-plugin-promise": "6.1.0",
106
+ "eslint-plugin-promise": "6.1.1",
104
107
  "eslint-plugin-unused-imports": "2.0.0",
105
- "fast-plist": "0.1.2",
108
+ "fast-plist": "0.1.3",
106
109
  "ini": "3.0.1",
107
110
  "js-yaml": "^4.1.0",
108
- "json5": "2.2.1",
111
+ "json5": "2.2.3",
109
112
  "monaco-emacs": "^0.3.0",
110
113
  "monaco-vim": "^0.3.5",
111
- "postcss": "8.4.18",
112
- "rollup": "3.2.3",
114
+ "postcss": "8.4.21",
115
+ "rollup": "3.10.1",
113
116
  "rollup-plugin-json5": "1.0.0",
114
117
  "rollup-plugin-node-builtins": "^2.1.2",
115
118
  "rollup-plugin-string": "^3.0.0",
116
119
  "rollup-plugin-terser": "^7.0.2",
117
- "rollup-plugin-visualizer": "5.8.3",
120
+ "rollup-plugin-visualizer": "5.9.0",
118
121
  "rollup-plugin-web-worker-loader": "1.6.1",
119
122
  "ts-node": "10.9.1",
120
- "tslib": "^2.4.0",
121
- "typescript": "4.8.4"
123
+ "tslib": "^2.4.1",
124
+ "typescript": "4.9.4"
122
125
  },
123
126
  "browserslist": [
124
127
  "defaults",
@@ -133,6 +136,6 @@
133
136
  "npm": "8.15.0"
134
137
  },
135
138
  "overrides": {
136
- "rollup": "3.2.3"
139
+ "rollup": "3.10.1"
137
140
  }
138
141
  }