@codingame/monaco-editor-wrapper 3.4.0 → 3.4.2

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 (48) hide show
  1. package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
  2. package/dist/atd.js +90 -94
  3. package/dist/atd2.js +94 -90
  4. package/dist/css.worker.js +1 -1
  5. package/dist/d.js +3157 -84
  6. package/dist/d2.js +84 -3157
  7. package/dist/dart.js +510 -83
  8. package/dist/dart2.js +83 -510
  9. package/dist/diet.js +740 -82
  10. package/dist/diet2.js +82 -740
  11. package/dist/dml.js +155 -76
  12. package/dist/dml2.js +76 -155
  13. package/dist/dune-project.js +469 -53
  14. package/dist/dune-project2.js +53 -469
  15. package/dist/dune-workspace.js +287 -54
  16. package/dist/dune-workspace2.js +54 -287
  17. package/dist/dune.js +2948 -51
  18. package/dist/dune2.js +51 -2948
  19. package/dist/elixir.js +2335 -63
  20. package/dist/elixir2.js +63 -2335
  21. package/dist/features/cssContribution.js +1 -4
  22. package/dist/features/extensionConfigurations.js +24 -122
  23. package/dist/features/htmlContribution.js +4 -18
  24. package/dist/features/jsonContribution.js +1 -8
  25. package/dist/features/typescriptContribution.js +4 -8
  26. package/dist/{html (eex)2.js → html (eex).js} +0 -0
  27. package/dist/html.worker.js +1 -1
  28. package/dist/index.js +2178 -1355
  29. package/dist/index2.js +1354 -2186
  30. package/dist/json.worker.js +1 -1
  31. package/dist/main.js +282 -1427
  32. package/dist/ocaml.interface.js +273 -95
  33. package/dist/ocaml.interface2.js +95 -273
  34. package/dist/ocaml.js +884 -95
  35. package/dist/ocaml2.js +95 -884
  36. package/dist/r.js +657 -81
  37. package/dist/r2.js +81 -657
  38. package/dist/sdl.js +150 -78
  39. package/dist/sdl2.js +78 -150
  40. package/dist/solidity.js +1172 -56
  41. package/dist/solidity2.js +56 -1172
  42. package/dist/ts.worker.js +1 -1
  43. package/dist/vim.js +8 -8
  44. package/dist/vue-sugarss.js +390 -54
  45. package/dist/vue-sugarss2.js +54 -390
  46. package/dist/worker.js +1 -3
  47. package/package.json +29 -26
  48. package/stats.html +44 -34
File without changes
package/dist/atd.js CHANGED
@@ -1,114 +1,110 @@
1
- var autoClosingPairs = [
1
+ var name = "ATD";
2
+ var scopeName = "source.atd";
3
+ var fileTypes = [
4
+ "atd"
5
+ ];
6
+ var patterns = [
2
7
  {
3
- open: "{",
4
- close: "}"
8
+ include: "source.ocaml#comments"
5
9
  },
6
10
  {
7
- open: "[",
8
- close: "]"
11
+ include: "source.ocaml#strings"
9
12
  },
10
13
  {
11
- open: "(",
12
- close: ")"
14
+ include: "#annotations"
13
15
  },
14
16
  {
15
- open: "\"",
16
- close: "\"",
17
- notIn: [
18
- "string"
19
- ]
17
+ include: "#definitions"
20
18
  },
21
19
  {
22
- open: "(*",
23
- close: "*",
24
- notIn: [
25
- "string"
26
- ]
20
+ include: "#keywords"
27
21
  },
28
22
  {
29
- open: "[|",
30
- close: "|",
31
- notIn: [
32
- "string"
33
- ]
34
- }
35
- ];
36
- var brackets = [
37
- [
38
- "{",
39
- "}"
40
- ],
41
- [
42
- "[",
43
- "]"
44
- ],
45
- [
46
- "(",
47
- ")"
48
- ],
49
- [
50
- "[|",
51
- "|]"
52
- ]
53
- ];
54
- var comments = {
55
- blockComment: [
56
- "(*",
57
- "*)"
58
- ]
59
- };
60
- var surroundingPairs = [
61
- [
62
- "{",
63
- "}"
64
- ],
65
- [
66
- "[",
67
- "]"
68
- ],
69
- [
70
- "(",
71
- ")"
72
- ],
73
- [
74
- "'",
75
- "'"
76
- ],
77
- [
78
- "\"",
79
- "\""
80
- ]
81
- ];
82
- var indentationRules = {
83
- decreaseIndentPattern: "^\\s*(end|done|with|in|else)\\b|^\\s*;;",
84
- increaseIndentPattern: "\\b(begin|object)\\s*$|\\blet [a-zA-Z0-9_-]+( [^ ]+)* =\\s*$|method!?[ \\t]+.*=[ \\t]*$|->[ \\t]*$|\\b(for|while)(_lwt)?[ \\t]+.*[ \\t]+do[ \\t]*$|(\\btry(_lwt)?$|\\bif\\s+.*\\sthen$|\\belse|[:=]\\s*sig|=\\s*struct)\\s*$",
85
- indentNextLinePattern: "(?!\\bif.*then.*(else.*|(;|[ \\t]in)[ \\t]*$))\\bif|\\bthen[ \\t]*$|\\belse[ \\t]*$$"
86
- };
87
- var onEnterRules = [
23
+ include: "#types"
24
+ },
88
25
  {
89
- beforeText: "\\(\\*\\*",
90
- afterText: "\\*\\)",
91
- action: {
92
- indent: "none",
93
- appendText: " "
94
- }
26
+ include: "source.ocaml#operators"
95
27
  },
96
28
  {
97
- beforeText: "\\(\\*",
98
- afterText: "\\*\\)",
99
- action: {
100
- indent: "none",
101
- appendText: " "
29
+ include: "source.ocaml#identifiers"
30
+ }
31
+ ];
32
+ var repository = {
33
+ annotations: {
34
+ patterns: [
35
+ {
36
+ begin: "(<)[[:space:]]*([[:lower:]_][[:word:]']*)",
37
+ end: ">",
38
+ beginCaptures: {
39
+ "1": {
40
+ name: "keyword.other.atd"
41
+ },
42
+ "2": {
43
+ name: "keyword.other.atd"
44
+ }
45
+ },
46
+ endCaptures: [
47
+ {
48
+ name: "keyword.other.atd"
49
+ }
50
+ ],
51
+ patterns: [
52
+ {
53
+ include: "$self"
54
+ }
55
+ ]
56
+ }
57
+ ]
58
+ },
59
+ definitions: {
60
+ match: "\\b(type)[[:space:]]+('[[:alpha:]][[:word:]']*[[:space:]]+|\\(.*\\)[[:space:]]*)?([[:lower:]_][[:word:]']*)",
61
+ captures: {
62
+ "1": {
63
+ name: "keyword.other.atd"
64
+ },
65
+ "2": {
66
+ patterns: [
67
+ {
68
+ include: "$self"
69
+ }
70
+ ]
71
+ },
72
+ "3": {
73
+ name: "entity.name.function.binding.atd"
74
+ }
102
75
  }
76
+ },
77
+ keywords: {
78
+ name: "keyword.other.atd",
79
+ match: "\\b(type|of|inherit)\\b(?!')"
80
+ },
81
+ types: {
82
+ patterns: [
83
+ {
84
+ comment: "type parameter",
85
+ name: "storage.type.ocaml.atd",
86
+ match: "'[[:alpha:]][[:word:]']*\\b"
87
+ },
88
+ {
89
+ comment: "builtin type",
90
+ name: "support.type.ocaml.atd",
91
+ match: "\\b(unit|bool|int|float|string|abstract)\\b"
92
+ }
93
+ ]
103
94
  }
95
+ };
96
+ var information_for_contributors = [
97
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
98
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
99
+ "Once accepted there, we are happy to receive an update request."
104
100
  ];
105
101
  var atd = {
106
- autoClosingPairs: autoClosingPairs,
107
- brackets: brackets,
108
- comments: comments,
109
- surroundingPairs: surroundingPairs,
110
- indentationRules: indentationRules,
111
- onEnterRules: onEnterRules
102
+ name: name,
103
+ scopeName: scopeName,
104
+ fileTypes: fileTypes,
105
+ patterns: patterns,
106
+ repository: repository,
107
+ information_for_contributors: information_for_contributors
112
108
  };
113
109
 
114
- export { autoClosingPairs, brackets, comments, atd as default, indentationRules, onEnterRules, surroundingPairs };
110
+ export { atd as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
package/dist/atd2.js CHANGED
@@ -1,110 +1,114 @@
1
- var name = "ATD";
2
- var scopeName = "source.atd";
3
- var fileTypes = [
4
- "atd"
5
- ];
6
- var patterns = [
7
- {
8
- include: "source.ocaml#comments"
9
- },
10
- {
11
- include: "source.ocaml#strings"
12
- },
1
+ var autoClosingPairs = [
13
2
  {
14
- include: "#annotations"
3
+ open: "{",
4
+ close: "}"
15
5
  },
16
6
  {
17
- include: "#definitions"
7
+ open: "[",
8
+ close: "]"
18
9
  },
19
10
  {
20
- include: "#keywords"
11
+ open: "(",
12
+ close: ")"
21
13
  },
22
14
  {
23
- include: "#types"
15
+ open: "\"",
16
+ close: "\"",
17
+ notIn: [
18
+ "string"
19
+ ]
24
20
  },
25
21
  {
26
- include: "source.ocaml#operators"
22
+ open: "(*",
23
+ close: "*",
24
+ notIn: [
25
+ "string"
26
+ ]
27
27
  },
28
28
  {
29
- include: "source.ocaml#identifiers"
29
+ open: "[|",
30
+ close: "|",
31
+ notIn: [
32
+ "string"
33
+ ]
30
34
  }
31
35
  ];
32
- var repository = {
33
- annotations: {
34
- patterns: [
35
- {
36
- begin: "(<)[[:space:]]*([[:lower:]_][[:word:]']*)",
37
- end: ">",
38
- beginCaptures: {
39
- "1": {
40
- name: "keyword.other.atd"
41
- },
42
- "2": {
43
- name: "keyword.other.atd"
44
- }
45
- },
46
- endCaptures: [
47
- {
48
- name: "keyword.other.atd"
49
- }
50
- ],
51
- patterns: [
52
- {
53
- include: "$self"
54
- }
55
- ]
56
- }
57
- ]
58
- },
59
- definitions: {
60
- match: "\\b(type)[[:space:]]+('[[:alpha:]][[:word:]']*[[:space:]]+|\\(.*\\)[[:space:]]*)?([[:lower:]_][[:word:]']*)",
61
- captures: {
62
- "1": {
63
- name: "keyword.other.atd"
64
- },
65
- "2": {
66
- patterns: [
67
- {
68
- include: "$self"
69
- }
70
- ]
71
- },
72
- "3": {
73
- name: "entity.name.function.binding.atd"
74
- }
36
+ var brackets = [
37
+ [
38
+ "{",
39
+ "}"
40
+ ],
41
+ [
42
+ "[",
43
+ "]"
44
+ ],
45
+ [
46
+ "(",
47
+ ")"
48
+ ],
49
+ [
50
+ "[|",
51
+ "|]"
52
+ ]
53
+ ];
54
+ var comments = {
55
+ blockComment: [
56
+ "(*",
57
+ "*)"
58
+ ]
59
+ };
60
+ var surroundingPairs = [
61
+ [
62
+ "{",
63
+ "}"
64
+ ],
65
+ [
66
+ "[",
67
+ "]"
68
+ ],
69
+ [
70
+ "(",
71
+ ")"
72
+ ],
73
+ [
74
+ "'",
75
+ "'"
76
+ ],
77
+ [
78
+ "\"",
79
+ "\""
80
+ ]
81
+ ];
82
+ var indentationRules = {
83
+ decreaseIndentPattern: "^\\s*(end|done|with|in|else)\\b|^\\s*;;",
84
+ increaseIndentPattern: "\\b(begin|object)\\s*$|\\blet [a-zA-Z0-9_-]+( [^ ]+)* =\\s*$|method!?[ \\t]+.*=[ \\t]*$|->[ \\t]*$|\\b(for|while)(_lwt)?[ \\t]+.*[ \\t]+do[ \\t]*$|(\\btry(_lwt)?$|\\bif\\s+.*\\sthen$|\\belse|[:=]\\s*sig|=\\s*struct)\\s*$",
85
+ indentNextLinePattern: "(?!\\bif.*then.*(else.*|(;|[ \\t]in)[ \\t]*$))\\bif|\\bthen[ \\t]*$|\\belse[ \\t]*$$"
86
+ };
87
+ var onEnterRules = [
88
+ {
89
+ beforeText: "\\(\\*\\*",
90
+ afterText: "\\*\\)",
91
+ action: {
92
+ indent: "none",
93
+ appendText: " "
75
94
  }
76
95
  },
77
- keywords: {
78
- name: "keyword.other.atd",
79
- match: "\\b(type|of|inherit)\\b(?!')"
80
- },
81
- types: {
82
- patterns: [
83
- {
84
- comment: "type parameter",
85
- name: "storage.type.ocaml.atd",
86
- match: "'[[:alpha:]][[:word:]']*\\b"
87
- },
88
- {
89
- comment: "builtin type",
90
- name: "support.type.ocaml.atd",
91
- match: "\\b(unit|bool|int|float|string|abstract)\\b"
92
- }
93
- ]
96
+ {
97
+ beforeText: "\\(\\*",
98
+ afterText: "\\*\\)",
99
+ action: {
100
+ indent: "none",
101
+ appendText: " "
102
+ }
94
103
  }
95
- };
96
- var information_for_contributors = [
97
- "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
98
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
99
- "Once accepted there, we are happy to receive an update request."
100
104
  ];
101
105
  var atd = {
102
- name: name,
103
- scopeName: scopeName,
104
- fileTypes: fileTypes,
105
- patterns: patterns,
106
- repository: repository,
107
- information_for_contributors: information_for_contributors
106
+ autoClosingPairs: autoClosingPairs,
107
+ brackets: brackets,
108
+ comments: comments,
109
+ surroundingPairs: surroundingPairs,
110
+ indentationRules: indentationRules,
111
+ onEnterRules: onEnterRules
108
112
  };
109
113
 
110
- export { atd as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
114
+ export { autoClosingPairs, brackets, comments, atd as default, indentationRules, onEnterRules, surroundingPairs };