@lvce-editor/shared-process 0.11.0 → 0.11.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.
- package/extensions/builtin.language-basics-css/src/tokenizeCss.js +3 -0
- package/extensions/builtin.language-basics-shellscript/src/tokenizeShellScript.js +1 -1
- package/extensions/builtin.theme-slime/color-theme.json +4 -0
- package/extensions/builtin.vscode-icons/icon-theme.json +24 -0
- package/extensions/builtin.vscode-icons/icons/file_type_datadog.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_esphome.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_light_esphome.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_light_mailing.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_mailing.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/file_type_pythowo.svg +1 -0
- package/extensions/builtin.vscode-icons/icons/folder_type_datadog.svg +66 -0
- package/extensions/builtin.vscode-icons/icons/folder_type_datadog_opened.svg +1 -0
- package/package.json +6 -64
- package/src/parts/CliLink/CliLink.js +2 -2
- package/src/parts/DirentType/DirentType.js +11 -13
- package/src/parts/Error/FileNotFoundError.js +2 -2
- package/src/parts/{FileSystemErrorCodes/FileSystemErrorCodes.js → ErrorCodes/ErrorCodes.js} +0 -0
- package/src/parts/ExtensionHostHelperProcessIpc/ExtensionHostHelperProcessIpc.js +51 -0
- package/src/parts/ExtensionLink/ExtensionLink.js +2 -2
- package/src/parts/ExtensionManifest/ExtensionManifest.js +3 -3
- package/src/parts/ExtensionManifests/ExtensionManifestsFromFolder.js +2 -2
- package/src/parts/FileSystem/FileSystem.js +7 -7
- package/src/parts/ParentIpc/ParentIpc.js +8 -1
- package/src/parts/Platform/Platform.js +11 -2
|
@@ -190,6 +190,9 @@ export const tokenizeLine = (line, lineState) => {
|
|
|
190
190
|
} else if ((next = part.match(RE_SELECTOR))) {
|
|
191
191
|
token = TokenType.CssSelector
|
|
192
192
|
state = State.AfterSelector
|
|
193
|
+
} else if ((next = part.match(RE_SELECTOR_ID))) {
|
|
194
|
+
token = TokenType.CssSelectorId
|
|
195
|
+
state = State.AfterSelector
|
|
193
196
|
} else if ((next = part.match(RE_COMMA))) {
|
|
194
197
|
token = TokenType.Punctuation
|
|
195
198
|
state = State.AfterSelector
|
|
@@ -57,7 +57,7 @@ const RE_STRING_DOUBLE_QUOTE_CONTENT = /^[^"]+/
|
|
|
57
57
|
const RE_KEYWORD =
|
|
58
58
|
/^(?:alias|bg|bind|break|builtin|caller|cd|command|compgen|complete|dirs|disown|echo|enable|eval|exec|exit|false|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|read|readonly|set|shift|shopt|source|suspend|test|times|trap|true|type|ulimit|umask|unalias|unset|wait)\b/
|
|
59
59
|
|
|
60
|
-
const RE_VARIABLE_NAME = /^[a-zA-Z\_]+/
|
|
60
|
+
const RE_VARIABLE_NAME = /^[a-zA-Z\_\/\-]+/
|
|
61
61
|
const RE_PUNCTUATION = /^[:,;\{\}\[\]\.=\(\)<>]/
|
|
62
62
|
const RE_NUMERIC = /^\d+/
|
|
63
63
|
|
|
@@ -78,6 +78,8 @@
|
|
|
78
78
|
"_fd_light_cypress_open": "/icons/folder_type_light_cypress_opened.svg",
|
|
79
79
|
"_fd_dapr": "/icons/folder_type_dapr.svg",
|
|
80
80
|
"_fd_dapr_open": "/icons/folder_type_dapr_opened.svg",
|
|
81
|
+
"_fd_datadog": "/icons/folder_type_datadog.svg",
|
|
82
|
+
"_fd_datadog_open": "/icons/folder_type_datadog_opened.svg",
|
|
81
83
|
"_fd_db": "/icons/folder_type_db.svg",
|
|
82
84
|
"_fd_db_open": "/icons/folder_type_db_opened.svg",
|
|
83
85
|
"_fd_debian": "/icons/folder_type_debian.svg",
|
|
@@ -439,6 +441,7 @@
|
|
|
439
441
|
"_f_dartlang": "/icons/file_type_dartlang.svg",
|
|
440
442
|
"_f_dartlang_generated": "/icons/file_type_dartlang_generated.svg",
|
|
441
443
|
"_f_dartlang_ignore": "/icons/file_type_dartlang_ignore.svg",
|
|
444
|
+
"_f_datadog": "/icons/file_type_datadog.svg",
|
|
442
445
|
"_f_db": "/icons/file_type_db.svg",
|
|
443
446
|
"_f_light_db": "/icons/file_type_light_db.svg",
|
|
444
447
|
"_f_delphi": "/icons/file_type_delphi.svg",
|
|
@@ -487,6 +490,8 @@
|
|
|
487
490
|
"_f_erlang": "/icons/file_type_erlang.svg",
|
|
488
491
|
"_f_esbuild": "/icons/file_type_esbuild.svg",
|
|
489
492
|
"_f_eslint": "/icons/file_type_eslint.svg",
|
|
493
|
+
"_f_esphome": "/icons/file_type_esphome.svg",
|
|
494
|
+
"_f_light_esphome": "/icons/file_type_light_esphome.svg",
|
|
490
495
|
"_f_excel": "/icons/file_type_excel.svg",
|
|
491
496
|
"_f_expo": "/icons/file_type_expo.svg",
|
|
492
497
|
"_f_light_expo": "/icons/file_type_light_expo.svg",
|
|
@@ -662,6 +667,8 @@
|
|
|
662
667
|
"_f_lua": "/icons/file_type_lua.svg",
|
|
663
668
|
"_f_luau": "/icons/file_type_luau.svg",
|
|
664
669
|
"_f_lync": "/icons/file_type_lync.svg",
|
|
670
|
+
"_f_mailing": "/icons/file_type_mailing.svg",
|
|
671
|
+
"_f_light_mailing": "/icons/file_type_light_mailing.svg",
|
|
665
672
|
"_f_manifest": "/icons/file_type_manifest.svg",
|
|
666
673
|
"_f_manifest_bak": "/icons/file_type_manifest_bak.svg",
|
|
667
674
|
"_f_manifest_skip": "/icons/file_type_manifest_skip.svg",
|
|
@@ -802,6 +809,7 @@
|
|
|
802
809
|
"_f_light_purescript": "/icons/file_type_light_purescript.svg",
|
|
803
810
|
"_f_pyret": "/icons/file_type_pyret.svg",
|
|
804
811
|
"_f_python": "/icons/file_type_python.svg",
|
|
812
|
+
"_f_pythowo": "/icons/file_type_pythowo.svg",
|
|
805
813
|
"_f_pytyped": "/icons/file_type_pytyped.svg",
|
|
806
814
|
"_f_pyup": "/icons/file_type_pyup.svg",
|
|
807
815
|
"_f_q": "/icons/file_type_q.svg",
|
|
@@ -1149,6 +1157,8 @@
|
|
|
1149
1157
|
"cypress.config.mjs": "_f_cypress",
|
|
1150
1158
|
".boringignore": "_f_darcs",
|
|
1151
1159
|
".pubignore": "_f_dartlang_ignore",
|
|
1160
|
+
"service.datadog.yaml": "_f_datadog",
|
|
1161
|
+
"datadog-ci.json": "_f_datadog",
|
|
1152
1162
|
"deno.json": "_f_deno",
|
|
1153
1163
|
"deno.jsonc": "_f_deno",
|
|
1154
1164
|
"dependabot.yml": "_f_dependabot",
|
|
@@ -1418,6 +1428,7 @@
|
|
|
1418
1428
|
"lint-staged.config.mjs": "_f_lintstagedrc",
|
|
1419
1429
|
"lint-staged.config.js": "_f_lintstagedrc",
|
|
1420
1430
|
"lint-staged.config.cjs": "_f_lintstagedrc",
|
|
1431
|
+
"mailing.config.json": "_f_mailing",
|
|
1421
1432
|
"manifest": "_f_manifest",
|
|
1422
1433
|
"manifest.bak": "_f_manifest_bak",
|
|
1423
1434
|
"manifest.skip": "_f_manifest_skip",
|
|
@@ -2064,6 +2075,8 @@
|
|
|
2064
2075
|
"cypress": "_fd_cypress",
|
|
2065
2076
|
".dapr": "_fd_dapr",
|
|
2066
2077
|
"dapr": "_fd_dapr",
|
|
2078
|
+
"datadog": "_fd_datadog",
|
|
2079
|
+
".datadog": "_fd_datadog",
|
|
2067
2080
|
"db": "_fd_db",
|
|
2068
2081
|
"database": "_fd_db",
|
|
2069
2082
|
"sql": "_fd_db",
|
|
@@ -2322,6 +2335,7 @@
|
|
|
2322
2335
|
".tools": "_fd_tools",
|
|
2323
2336
|
"util": "_fd_tools",
|
|
2324
2337
|
"utils": "_fd_tools",
|
|
2338
|
+
"utilities": "_fd_tools",
|
|
2325
2339
|
".travis": "_fd_travis",
|
|
2326
2340
|
".trunk": "_fd_trunk",
|
|
2327
2341
|
"typescript": "_fd_typescript",
|
|
@@ -2458,6 +2472,8 @@
|
|
|
2458
2472
|
"cypress": "_fd_cypress_open",
|
|
2459
2473
|
".dapr": "_fd_dapr_open",
|
|
2460
2474
|
"dapr": "_fd_dapr_open",
|
|
2475
|
+
"datadog": "_fd_datadog_open",
|
|
2476
|
+
".datadog": "_fd_datadog_open",
|
|
2461
2477
|
"db": "_fd_db_open",
|
|
2462
2478
|
"database": "_fd_db_open",
|
|
2463
2479
|
"sql": "_fd_db_open",
|
|
@@ -2716,6 +2732,7 @@
|
|
|
2716
2732
|
".tools": "_fd_tools_open",
|
|
2717
2733
|
"util": "_fd_tools_open",
|
|
2718
2734
|
"utils": "_fd_tools_open",
|
|
2735
|
+
"utilities": "_fd_tools_open",
|
|
2719
2736
|
".travis": "_fd_travis_open",
|
|
2720
2737
|
".trunk": "_fd_trunk_open",
|
|
2721
2738
|
"typescript": "_fd_typescript_open",
|
|
@@ -3077,6 +3094,7 @@
|
|
|
3077
3094
|
"pro": "_f_prolog",
|
|
3078
3095
|
"pub": "_f_publisher",
|
|
3079
3096
|
"puz": "_f_publisher",
|
|
3097
|
+
"pyowo": "_f_pythowo",
|
|
3080
3098
|
"q": "_f_q",
|
|
3081
3099
|
"qbs": "_f_qbs",
|
|
3082
3100
|
"qvd": "_f_qlikview",
|
|
@@ -3129,12 +3147,16 @@
|
|
|
3129
3147
|
"spec.mjs": "_f_testjs",
|
|
3130
3148
|
"test.ts": "_f_testts",
|
|
3131
3149
|
"test.tsx": "_f_testts",
|
|
3150
|
+
"test.mts": "_f_testts",
|
|
3132
3151
|
"spec.ts": "_f_testts",
|
|
3133
3152
|
"spec.tsx": "_f_testts",
|
|
3153
|
+
"spec.mts": "_f_testts",
|
|
3134
3154
|
"e2e-test.ts": "_f_testts",
|
|
3135
3155
|
"e2e-test.tsx": "_f_testts",
|
|
3156
|
+
"e2e-test.mts": "_f_testts",
|
|
3136
3157
|
"e2e-spec.ts": "_f_testts",
|
|
3137
3158
|
"e2e-spec.tsx": "_f_testts",
|
|
3159
|
+
"e2e-spec.mts": "_f_testts",
|
|
3138
3160
|
"texi": "_f_tex",
|
|
3139
3161
|
"tikz": "_f_tex",
|
|
3140
3162
|
"csv": "_f_text",
|
|
@@ -3320,6 +3342,7 @@
|
|
|
3320
3342
|
"erb": "_f_erb",
|
|
3321
3343
|
"html.erb": "_f_erb",
|
|
3322
3344
|
"erlang": "_f_erlang",
|
|
3345
|
+
"esphome": "_f_esphome",
|
|
3323
3346
|
"falcon": "_f_falcon",
|
|
3324
3347
|
"fql": "_f_fauna",
|
|
3325
3348
|
"fortran": "_f_fortran",
|
|
@@ -3490,6 +3513,7 @@
|
|
|
3490
3513
|
"purescript": "_f_purescript",
|
|
3491
3514
|
"pyret": "_f_pyret",
|
|
3492
3515
|
"python": "_f_python",
|
|
3516
|
+
"pythowo": "_f_pythowo",
|
|
3493
3517
|
"qlik": "_f_qlikview",
|
|
3494
3518
|
"qml": "_f_qml",
|
|
3495
3519
|
"qsharp": "_f_qsharp",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title>file_type_rust</title><g transform="matrix(.032852 0 0 .032852 3.022 1.8624)"><path d="m584.65 49.556-506.77 58.406-11.799 132.15s43.067 494.97 42.477 493.2c-0.58996-1.7699 60.578 39.195 60.578 39.195s23.451 83.457 107.98 61.068c84.531-22.389 37.507-124.43 30.75-137.67-6.7572-13.246 31.953 36.231 31.953 36.231l46.845-5.6177 7.3802 61.543 372.65-67.16-22.19-268.56z" fill="#fff"/><path class="st0" d="m670.38 608.27-71.24-46.99-59.43 99.27-69.12-20.21-60.86 92.89 3.12 29.24 330.9-60.97-19.22-206.75zm-308.59-89.14 53.09-7.3c8.59 3.86 14.57 5.33 24.87 7.95 16.04 4.18 34.61 8.19 62.11-5.67 6.4-3.17 19.73-15.36 25.12-22.31l217.52-39.46 22.19 268.56-372.65 67.16zm404.06-96.77-21.47 4.09-41.25-426.18-702.86 81.5 86.59 702.68 82.27-11.94c-6.57-9.38-16.8-20.73-34.27-35.26-24.23-20.13-15.66-54.32-1.37-75.91 18.91-36.48 116.34-82.84 110.82-141.15-1.98-21.2-5.35-48.8-25.03-67.71-0.74 7.85 0.59 15.41 0.59 15.41s-8.08-10.31-12.11-24.37c-4-5.39-7.14-7.11-11.39-14.31-3.03 8.33-2.63 17.99-2.63 17.99s-6.61-15.62-7.68-28.8c-3.92 5.9-4.91 17.11-4.91 17.11s-8.59-24.62-6.63-37.88c-3.92-11.54-15.54-34.44-12.25-86.49 21.45 15.03 68.67 11.46 87.07-15.66 6.11-8.98 10.29-33.5-3.05-81.81-8.57-30.98-29.79-77.11-38.06-94.61l-0.99 0.71c4.36 14.1 13.35 43.66 16.8 57.99 10.44 43.47 13.24 58.6 8.34 78.64-4.17 17.42-14.17 28.82-39.52 41.56-25.35 12.78-58.99-18.32-61.12-20.04-24.63-19.62-43.68-51.63-45.81-67.18-2.21-17.02 9.81-27.24 15.87-41.16-8.67 2.48-18.34 6.88-18.34 6.88s11.54-11.94 25.77-22.27c5.89-3.9 9.35-6.38 15.56-11.54-8.99-0.15-16.29 0.11-16.29 0.11s14.99-8.1 30.53-14c-11.37-0.5-22.25-0.08-22.25-0.08s33.45-14.96 59.87-25.94c18.17-7.45 35.92-5.25 45.89 9.17 13.09 18.89 26.84 29.15 55.98 35.51 17.89-7.93 23.33-12.01 45.81-18.13 19.79-21.76 35.33-24.58 35.33-24.58s-7.71 7.07-9.77 18.18c11.22-8.84 23.52-16.22 23.52-16.22s-4.76 5.88-9.2 15.22l1.03 1.53c13.09-7.85 28.48-14.04 28.48-14.04s-4.4 5.56-9.56 12.76c9.87-0.08 29.89 0.42 37.66 1.3 45.87 1.01 55.39-48.99 72.99-55.26 22.04-7.87 31.89-12.63 69.45 24.26 32.23 31.67 57.41 88.36 44.91 101.06-10.48 10.54-31.16-4.11-54.08-32.68-12.11-15.13-21.27-33.01-25.56-55.74-3.62-19.18-17.71-30.31-17.71-30.31s8.18 18.18 8.18 34.24c0 8.77 1.1 41.56 15.16 59.96-1.39 2.69-2.04 13.31-3.58 15.34-16.36-19.77-51.49-33.92-57.22-38.09 19.39 15.89 63.96 52.39 81.08 87.37 16.19 33.08 6.65 63.4 14.84 71.25 2.33 2.25 34.82 42.73 41.07 63.07 10.9 35.45 0.65 72.7-13.62 95.81l-39.85 6.21c-5.83-1.62-9.76-2.43-14.99-5.46 2.88-5.1 8.61-17.82 8.67-20.44l-2.25-3.95c-12.4 17.57-33.18 34.63-50.44 44.43-22.59 12.8-48.63 10.83-65.58 5.58-48.11-14.84-93.6-47.35-104.57-55.89 0 0-0.34 6.82 1.73 8.35 12.13 13.68 39.92 38.43 66.78 55.68l-57.26 6.3 27.07 210.78c-12 1.72-13.87 2.56-27.01 4.43-11.58-40.91-33.73-67.62-57.94-83.18-21.35-13.72-50.8-16.81-78.99-11.23l-1.81 2.1c19.6-2.04 42.74 0.8 66.51 15.85 23.33 14.75 42.13 52.85 49.05 75.79 8.86 29.32 14.99 60.68-8.86 93.92-16.97 23.63-66.51 36.69-106.53 8.44 10.69 17.19 25.14 31.25 44.59 33.9 28.88 3.92 56.29-1.09 75.16-20.46 16.11-16.56 24.65-51.19 22.4-87.66l25.49-3.7 9.2 65.46 421.98-50.81zm-256.73-177.77c-1.18 2.69-3.03 4.45-0.25 13.2l0.17 0.5 0.44 1.13 1.16 2.62c5.01 10.24 10.51 19.9 19.7 24.83 2.38-0.4 4.84-0.67 7.39-0.8 8.63-0.38 14.08 0.99 17.54 2.85 0.31-1.72 0.38-4.24 0.19-7.95-0.67-12.97 2.57-35.03-22.36-46.64-9.41-4.37-22.61-3.02-27.01 2.43 0.8 0.1 1.52 0.27 2.08 0.46 6.65 2.33 2.14 4.62 0.95 7.37m69.87 121.02c-3.27-1.8-18.55-1.09-29.29 0.19-20.46 2.41-42.55 9.51-47.39 13.29-8.8 6.8-4.8 18.66 1.7 23.53 18.23 13.62 34.21 22.75 51.08 20.53 10.36-1.36 19.49-17.76 25.96-32.64 4.43-10.25 4.43-21.31-2.06-24.9m-181.14-104.96c5.77-5.48-28.74-12.68-55.52 5.58-19.75 13.47-20.38 42.35-1.47 58.72 1.89 1.62 3.45 2.77 4.91 3.71 5.52-2.6 11.81-5.23 19.05-7.58 12.23-3.97 22.4-6.02 30.76-7.11 4-4.47 8.65-12.34 7.49-26.59-1.58-19.33-16.23-16.26-5.22-26.73" clip-rule="evenodd" fill="#632ca6" fill-rule="evenodd"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>file_type_esphome</title><path d="M26.54,8.146v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.4,0v-1.6a1.016,1.016,0,0,1,.989-1.027.989.989,0,0,1,1.027.95q0,.039,0,.078v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.4,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.055,0v1.6M28.557,23.29v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.408,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.446,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37.076v1.712a1.027,1.027,0,1,1-2.017,0V23.366" style="fill:none;stroke:#eee;stroke-width:1.031628607691953px"/><path d="M29.089,8.146H9a.381.381,0,0,0-.381.381V22.986A.407.407,0,0,0,9,23.328H29.089a.409.409,0,0,0,.381-.381V8.488a.409.409,0,0,0-.381-.381Z" style="stroke:#eee;stroke-width:1.031628607691953px"/><path d="M22.354,15.452v-1.9H21.67v1.218l-2.587-2.587-4.376,4.376h1.1v2.968h6.545V16.555h1.1Z" style="fill:#eee"/><path d="M8.542,22.453H2.53V20.931H7.058V19.485H2.53V17.963H7.058V16.479H2.53V14.995H7.058V13.549H2.53V8.983" style="fill:none;stroke:#eee;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.031628607691953px"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>file_type_light_esphome</title><path d="M26.54,8.146v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.4,0v-1.6a1.016,1.016,0,0,1,.989-1.027.989.989,0,0,1,1.027.95q0,.039,0,.078v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.4,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.017,0v1.6m-5.441,0v-1.6a1.027,1.027,0,1,1,2.055,0v1.6M28.557,23.29v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.408,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.446,0v1.75a1.027,1.027,0,1,1-2.017,0V23.29m-1.37.076v1.712a1.027,1.027,0,1,1-2.017,0V23.366" style="fill:none;stroke:#000;stroke-width:1.031628607691953px"/><path d="M29.089,8.146H9a.381.381,0,0,0-.381.381V22.986A.407.407,0,0,0,9,23.328H29.089a.409.409,0,0,0,.381-.381V8.488a.409.409,0,0,0-.381-.381Z" style="fill:none;stroke:#000;stroke-width:1.031628607691953px"/><path d="M22.354,15.452v-1.9H21.67v1.218l-2.587-2.587-4.376,4.376h1.1v2.968h6.545V16.555h1.1Z"/><path d="M8.542,22.453H2.53V20.931H7.058V19.485H2.53V17.963H7.058V16.479H2.53V14.995H7.058V13.549H2.53V8.983" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.031628607691953px"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32"><defs><mask id="mask" x="4.83" y="21.4" width="22.34" height="8.56" maskUnits="userSpaceOnUse"><g id="mask0_521_430" data-name="mask0 521 430"><rect x="4.83" y="25.5" width="22.34" height="4.47" style="fill:#c4c4c4"/></g></mask></defs><title>file_type_light_mailing</title><g style="mask:url(#mask)"><path d="M16,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,16,23.63Zm0-2.23a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,16,21.4Z" style="fill-rule:evenodd"/><path d="M23,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,23,23.63Zm0-2.23a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,23,21.4Z" style="fill-rule:evenodd"/><path d="M9,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,9,23.63ZM9,21.4a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,9,21.4Z" style="fill-rule:evenodd"/></g><circle cx="16" cy="12.65" r="10.61"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 32"><defs><mask id="mask" x="4.83" y="21.4" width="22.34" height="8.56" maskUnits="userSpaceOnUse"><g id="mask0_521_430" data-name="mask0 521 430"><rect x="4.83" y="25.5" width="22.34" height="4.47" style="fill:#c4c4c4"/></g></mask></defs><title>file_type_mailing</title><g style="mask:url(#mask)"><path d="M16,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,16,23.63Zm0-2.23a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,16,21.4Z" style="fill-rule:evenodd;fill:#d2d2d2"/><path d="M23,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,23,23.63Zm0-2.23a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,23,21.4Z" style="fill-rule:evenodd;fill:#d2d2d2"/><path d="M9,23.63a2.05,2.05,0,1,0,2,2.05A2,2,0,0,0,9,23.63ZM9,21.4a4.28,4.28,0,1,0,4.21,4.28A4.24,4.24,0,0,0,9,21.4Z" style="fill-rule:evenodd;fill:#d2d2d2"/></g><circle cx="16" cy="12.65" r="10.61" style="fill:#d2d2d2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>file_type_pythowo</title><path d="M23.082,10.625v2.755a3.979,3.979,0,0,1-3.875,3.933h-6.2a3.164,3.164,0,0,0-3.1,3.152v5.907c0,1.681,1.462,2.67,3.1,3.152a10.379,10.379,0,0,0,6.2,0c1.562-.452,3.1-1.362,3.1-3.152V24.008h-6.2v-.788h9.3c1.8,0,2.475-1.258,3.1-3.145a10.646,10.646,0,0,0,0-6.3c-.446-1.795-1.3-3.145-3.1-3.145ZM19.6,25.584a1.182,1.182,0,1,1-1.164,1.178A1.171,1.171,0,0,1,19.6,25.584ZM3.034,2" style="fill:#e94475"/><path d="M24.008,2a.215.215,0,0,0-.082.012,2.57,2.57,0,0,1-1.475,1c-.5.084-.979.239-1.483.28a2.612,2.612,0,0,0-1.885.887l.048.055c-.246-.04-.491-.074-.731-.1-.034,0,.172-.371.008-.338l-.2.041s.1-.228.06-.3c-.1.031-.3.343-.3.343s-.114-.168-.2-.168c-.055.1.022.358.022.358-.554-.049-1.1-.069-1.618-.075h-.2a17.713,17.713,0,0,0-2.964.253c-2.625.464-3.1,1.434-3.1,3.225V9.837h6.2v.788H7.58a3.872,3.872,0,0,0-2.729,1.063,1.875,1.875,0,0,0-.726-.492c.069.246.134.494.223.734a2.094,2.094,0,0,0-1.314.392,1.857,1.857,0,0,0,.884.055A1.024,1.024,0,0,0,3.38,13a1.534,1.534,0,0,0,.589-.018,4.8,4.8,0,0,0-.264.791,11.6,11.6,0,0,0,0,6.3C4.146,21.911,5.2,23.219,7,23.219H9.135V20.385a3.942,3.942,0,0,1,3.875-3.854h6.2a3.125,3.125,0,0,0,3.1-3.152V7.868l.013.015a.174.174,0,0,1-.013-.046V7.771c.039-.131.3-.167.4-.264.1-.216-.184-.286-.305-.4a2.2,2.2,0,0,0,.764-.421.234.234,0,0,0,.062-.292,1.85,1.85,0,0,0-.362-.21c.414-.251.566-.729.832-1.1.1-.134,0-.251-.106-.337.2-.268.4-.537.582-.817l-.081-.2q-.173.06-.343.126c.343-.418.1-.983.342-1.434C24.176,2.286,24.175,2.015,24.008,2Zm-.527,1.2c.074.4-.353.61-.486.937a4.366,4.366,0,0,1-.9,2.249,2.443,2.443,0,0,1-.219.217c-.043.029-.086.072-.133.1a.188.188,0,0,1-.113.038.144.144,0,0,1-.042-.009.979.979,0,0,1-.486-.538.353.353,0,0,1,.044-.086h0a.612.612,0,0,1,.216-.171l.06-.034A.878.878,0,0,0,21.6,5.8a.4.4,0,0,0,.061-.07,2.7,2.7,0,0,0-.654.109l-.11-.1c.124-.172.244-.349.353-.531.027-.045.057-.088.082-.134a1.483,1.483,0,0,0-.164.06h0c-.1.044-.2.095-.3.145l-.081.039-.067.03a1.493,1.493,0,0,1-.189.068c-.028.008-.056.015-.085.02l-.039.007a.832.832,0,0,1-.134.01.213.213,0,0,1-.034-.152.242.242,0,0,1,.024-.07h0a.365.365,0,0,1,.043-.065.694.694,0,0,1,.123-.113,1.364,1.364,0,0,1,.132-.085.7.7,0,0,1,.136-.071l.1-.04h0c.119-.049.232-.106.266-.238a1.467,1.467,0,0,0-.545.074c-.066.02-.13.044-.195.07-.178.07-.353.149-.53.221l-.216-.246.006-.024.012-.033a.825.825,0,0,1,.216-.284l0,0c.031-.028.062-.058.092-.08.845-.637,1.964-.537,2.938-.817.235-.055.4-.283.647-.287ZM12.62,5.9a1.182,1.182,0,1,1-1.164,1.186A1.177,1.177,0,0,1,12.62,5.9Z" style="fill:#2298d3"/></svg>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 32 32"
|
|
4
|
+
version="1.1"
|
|
5
|
+
id="svg349"
|
|
6
|
+
sodipodi:docname="folder_type_datadogi.svg"
|
|
7
|
+
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
|
8
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
12
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
13
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
14
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
15
|
+
<defs
|
|
16
|
+
id="defs353" />
|
|
17
|
+
<sodipodi:namedview
|
|
18
|
+
id="namedview351"
|
|
19
|
+
pagecolor="#ffffff"
|
|
20
|
+
bordercolor="#000000"
|
|
21
|
+
borderopacity="0.25"
|
|
22
|
+
inkscape:showpageshadow="2"
|
|
23
|
+
inkscape:pageopacity="0.0"
|
|
24
|
+
inkscape:pagecheckerboard="0"
|
|
25
|
+
inkscape:deskcolor="#d1d1d1"
|
|
26
|
+
showgrid="false"
|
|
27
|
+
inkscape:zoom="14.75"
|
|
28
|
+
inkscape:cx="20.135593"
|
|
29
|
+
inkscape:cy="18.847458"
|
|
30
|
+
inkscape:window-width="1920"
|
|
31
|
+
inkscape:window-height="1129"
|
|
32
|
+
inkscape:window-x="-8"
|
|
33
|
+
inkscape:window-y="-8"
|
|
34
|
+
inkscape:window-maximized="1"
|
|
35
|
+
inkscape:current-layer="svg349" />
|
|
36
|
+
<title
|
|
37
|
+
id="title343">folder_type_circleci</title>
|
|
38
|
+
<path
|
|
39
|
+
d="M27.5,5.5H18.2L16.1,9.7H4.4V26.5H29.6V5.5Zm0,4.2H19.3l1.1-2.1h7.1Z"
|
|
40
|
+
style="fill:#632ca6;fill-opacity:1"
|
|
41
|
+
id="path345" />
|
|
42
|
+
<g
|
|
43
|
+
transform="matrix(0.02453872,0,0,0.02453872,11.25919,10.063413)"
|
|
44
|
+
id="g27">
|
|
45
|
+
<path
|
|
46
|
+
d="M 584.65,49.556 77.88,107.962 66.081,240.112 c 0,0 43.067,494.97 42.477,493.2 -0.58996,-1.7699 60.578,39.195 60.578,39.195 0,0 23.451,83.457 107.98,61.068 84.531,-22.389 37.507,-124.43 30.75,-137.67 -6.7572,-13.246 31.953,36.231 31.953,36.231 l 46.845,-5.6177 7.3802,61.543 372.65,-67.16 -22.19,-268.56 z"
|
|
47
|
+
fill="#ffffff"
|
|
48
|
+
id="path23" />
|
|
49
|
+
<path
|
|
50
|
+
class="st0"
|
|
51
|
+
d="m 670.38,608.27 -71.24,-46.99 -59.43,99.27 -69.12,-20.21 -60.86,92.89 3.12,29.24 330.9,-60.97 -19.22,-206.75 z m -308.59,-89.14 53.09,-7.3 c 8.59,3.86 14.57,5.33 24.87,7.95 16.04,4.18 34.61,8.19 62.11,-5.67 6.4,-3.17 19.73,-15.36 25.12,-22.31 L 744.5,452.34 766.69,720.9 394.04,788.06 Z M 765.85,422.36 744.38,426.45 703.13,0.27 0.27,81.77 86.86,784.45 169.13,772.51 c -6.57,-9.38 -16.8,-20.73 -34.27,-35.26 -24.23,-20.13 -15.66,-54.32 -1.37,-75.91 18.91,-36.48 116.34,-82.84 110.82,-141.15 -1.98,-21.2 -5.35,-48.8 -25.03,-67.71 -0.74,7.85 0.59,15.41 0.59,15.41 0,0 -8.08,-10.31 -12.11,-24.37 -4,-5.39 -7.14,-7.11 -11.39,-14.31 -3.03,8.33 -2.63,17.99 -2.63,17.99 0,0 -6.61,-15.62 -7.68,-28.8 -3.92,5.9 -4.91,17.11 -4.91,17.11 0,0 -8.59,-24.62 -6.63,-37.88 -3.92,-11.54 -15.54,-34.44 -12.25,-86.49 21.45,15.03 68.67,11.46 87.07,-15.66 6.11,-8.98 10.29,-33.5 -3.05,-81.81 -8.57,-30.98 -29.79,-77.11 -38.06,-94.61 l -0.99,0.71 c 4.36,14.1 13.35,43.66 16.8,57.99 10.44,43.47 13.24,58.6 8.34,78.64 -4.17,17.42 -14.17,28.82 -39.52,41.56 -25.35,12.78 -58.99,-18.32 -61.12,-20.04 -24.63,-19.62 -43.68,-51.63 -45.81,-67.18 -2.21,-17.02 9.81,-27.24 15.87,-41.16 -8.67,2.48 -18.34,6.88 -18.34,6.88 0,0 11.54,-11.94 25.77,-22.27 5.89,-3.9 9.35,-6.38 15.56,-11.54 -8.99,-0.15 -16.29,0.11 -16.29,0.11 0,0 14.99,-8.1 30.53,-14 -11.37,-0.5 -22.25,-0.08 -22.25,-0.08 0,0 33.45,-14.96 59.87,-25.94 18.17,-7.45 35.92,-5.25 45.89,9.17 13.09,18.89 26.84,29.15 55.98,35.51 17.89,-7.93 23.33,-12.01 45.81,-18.13 19.79,-21.76 35.33,-24.58 35.33,-24.58 0,0 -7.71,7.07 -9.77,18.18 11.22,-8.84 23.52,-16.22 23.52,-16.22 0,0 -4.76,5.88 -9.2,15.22 l 1.03,1.53 c 13.09,-7.85 28.48,-14.04 28.48,-14.04 0,0 -4.4,5.56 -9.56,12.76 9.87,-0.08 29.89,0.42 37.66,1.3 45.87,1.01 55.39,-48.99 72.99,-55.26 22.04,-7.87 31.89,-12.63 69.45,24.26 32.23,31.67 57.41,88.36 44.91,101.06 -10.48,10.54 -31.16,-4.11 -54.08,-32.68 -12.11,-15.13 -21.27,-33.01 -25.56,-55.74 -3.62,-19.18 -17.71,-30.31 -17.71,-30.31 0,0 8.18,18.18 8.18,34.24 0,8.77 1.1,41.56 15.16,59.96 -1.39,2.69 -2.04,13.31 -3.58,15.34 -16.36,-19.77 -51.49,-33.92 -57.22,-38.09 19.39,15.89 63.96,52.39 81.08,87.37 16.19,33.08 6.65,63.4 14.84,71.25 2.33,2.25 34.82,42.73 41.07,63.07 10.9,35.45 0.65,72.7 -13.62,95.81 l -39.85,6.21 c -5.83,-1.62 -9.76,-2.43 -14.99,-5.46 2.88,-5.1 8.61,-17.82 8.67,-20.44 l -2.25,-3.95 c -12.4,17.57 -33.18,34.63 -50.44,44.43 -22.59,12.8 -48.63,10.83 -65.58,5.58 -48.11,-14.84 -93.6,-47.35 -104.57,-55.89 0,0 -0.34,6.82 1.73,8.35 12.13,13.68 39.92,38.43 66.78,55.68 l -57.26,6.3 27.07,210.78 c -12,1.72 -13.87,2.56 -27.01,4.43 -11.58,-40.91 -33.73,-67.62 -57.94,-83.18 -21.35,-13.72 -50.8,-16.81 -78.99,-11.23 l -1.81,2.1 c 19.6,-2.04 42.74,0.8 66.51,15.85 23.33,14.75 42.13,52.85 49.05,75.79 8.86,29.32 14.99,60.68 -8.86,93.92 -16.97,23.63 -66.51,36.69 -106.53,8.44 10.69,17.19 25.14,31.25 44.59,33.9 28.88,3.92 56.29,-1.09 75.16,-20.46 16.11,-16.56 24.65,-51.19 22.4,-87.66 l 25.49,-3.7 9.2,65.46 421.98,-50.81 z M 509.12,244.59 c -1.18,2.69 -3.03,4.45 -0.25,13.2 l 0.17,0.5 0.44,1.13 1.16,2.62 c 5.01,10.24 10.51,19.9 19.7,24.83 2.38,-0.4 4.84,-0.67 7.39,-0.8 8.63,-0.38 14.08,0.99 17.54,2.85 0.31,-1.72 0.38,-4.24 0.19,-7.95 -0.67,-12.97 2.57,-35.03 -22.36,-46.64 -9.41,-4.37 -22.61,-3.02 -27.01,2.43 0.8,0.1 1.52,0.27 2.08,0.46 6.65,2.33 2.14,4.62 0.95,7.37 m 69.87,121.02 c -3.27,-1.8 -18.55,-1.09 -29.29,0.19 -20.46,2.41 -42.55,9.51 -47.39,13.29 -8.8,6.8 -4.8,18.66 1.7,23.53 18.23,13.62 34.21,22.75 51.08,20.53 10.36,-1.36 19.49,-17.76 25.96,-32.64 4.43,-10.25 4.43,-21.31 -2.06,-24.9 M 397.85,260.65 c 5.77,-5.48 -28.74,-12.68 -55.52,5.58 -19.75,13.47 -20.38,42.35 -1.47,58.72 1.89,1.62 3.45,2.77 4.91,3.71 5.52,-2.6 11.81,-5.23 19.05,-7.58 12.23,-3.97 22.4,-6.02 30.76,-7.11 4,-4.47 8.65,-12.34 7.49,-26.59 -1.58,-19.33 -16.23,-16.26 -5.22,-26.73"
|
|
52
|
+
clip-rule="evenodd"
|
|
53
|
+
fill="#632ca6"
|
|
54
|
+
fill-rule="evenodd"
|
|
55
|
+
id="path25" />
|
|
56
|
+
</g>
|
|
57
|
+
<metadata
|
|
58
|
+
id="metadata4202">
|
|
59
|
+
<rdf:RDF>
|
|
60
|
+
<cc:Work
|
|
61
|
+
rdf:about="">
|
|
62
|
+
<dc:title>folder_type_circleci</dc:title>
|
|
63
|
+
</cc:Work>
|
|
64
|
+
</rdf:RDF>
|
|
65
|
+
</metadata>
|
|
66
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title>folder_type_circleci_opened</title><path d="M27.4,5.5H18.2L16.1,9.7H4.3V26.5H29.5V5.5Zm0,18.7H6.6V11.8H27.4Zm0-14.5H19.2l1-2.1h7.1V9.7Z" fill="#8b52d1"/><polygon points="25.7 13.7 0.5 13.7 4.3 26.5 29.5 26.5" fill="#8b52d1"/><g transform="matrix(.024539 0 0 .024539 11.259 10.063)"><path d="m584.65 49.556-506.77 58.406-11.799 132.15s43.067 494.97 42.477 493.2c-0.58996-1.7699 60.578 39.195 60.578 39.195s23.451 83.457 107.98 61.068c84.531-22.389 37.507-124.43 30.75-137.67-6.7572-13.246 31.953 36.231 31.953 36.231l46.845-5.6177 7.3802 61.543 372.65-67.16-22.19-268.56z" fill="#fff"/><path class="st0" d="m670.38 608.27-71.24-46.99-59.43 99.27-69.12-20.21-60.86 92.89 3.12 29.24 330.9-60.97-19.22-206.75zm-308.59-89.14 53.09-7.3c8.59 3.86 14.57 5.33 24.87 7.95 16.04 4.18 34.61 8.19 62.11-5.67 6.4-3.17 19.73-15.36 25.12-22.31l217.52-39.46 22.19 268.56-372.65 67.16zm404.06-96.77-21.47 4.09-41.25-426.18-702.86 81.5 86.59 702.68 82.27-11.94c-6.57-9.38-16.8-20.73-34.27-35.26-24.23-20.13-15.66-54.32-1.37-75.91 18.91-36.48 116.34-82.84 110.82-141.15-1.98-21.2-5.35-48.8-25.03-67.71-0.74 7.85 0.59 15.41 0.59 15.41s-8.08-10.31-12.11-24.37c-4-5.39-7.14-7.11-11.39-14.31-3.03 8.33-2.63 17.99-2.63 17.99s-6.61-15.62-7.68-28.8c-3.92 5.9-4.91 17.11-4.91 17.11s-8.59-24.62-6.63-37.88c-3.92-11.54-15.54-34.44-12.25-86.49 21.45 15.03 68.67 11.46 87.07-15.66 6.11-8.98 10.29-33.5-3.05-81.81-8.57-30.98-29.79-77.11-38.06-94.61l-0.99 0.71c4.36 14.1 13.35 43.66 16.8 57.99 10.44 43.47 13.24 58.6 8.34 78.64-4.17 17.42-14.17 28.82-39.52 41.56-25.35 12.78-58.99-18.32-61.12-20.04-24.63-19.62-43.68-51.63-45.81-67.18-2.21-17.02 9.81-27.24 15.87-41.16-8.67 2.48-18.34 6.88-18.34 6.88s11.54-11.94 25.77-22.27c5.89-3.9 9.35-6.38 15.56-11.54-8.99-0.15-16.29 0.11-16.29 0.11s14.99-8.1 30.53-14c-11.37-0.5-22.25-0.08-22.25-0.08s33.45-14.96 59.87-25.94c18.17-7.45 35.92-5.25 45.89 9.17 13.09 18.89 26.84 29.15 55.98 35.51 17.89-7.93 23.33-12.01 45.81-18.13 19.79-21.76 35.33-24.58 35.33-24.58s-7.71 7.07-9.77 18.18c11.22-8.84 23.52-16.22 23.52-16.22s-4.76 5.88-9.2 15.22l1.03 1.53c13.09-7.85 28.48-14.04 28.48-14.04s-4.4 5.56-9.56 12.76c9.87-0.08 29.89 0.42 37.66 1.3 45.87 1.01 55.39-48.99 72.99-55.26 22.04-7.87 31.89-12.63 69.45 24.26 32.23 31.67 57.41 88.36 44.91 101.06-10.48 10.54-31.16-4.11-54.08-32.68-12.11-15.13-21.27-33.01-25.56-55.74-3.62-19.18-17.71-30.31-17.71-30.31s8.18 18.18 8.18 34.24c0 8.77 1.1 41.56 15.16 59.96-1.39 2.69-2.04 13.31-3.58 15.34-16.36-19.77-51.49-33.92-57.22-38.09 19.39 15.89 63.96 52.39 81.08 87.37 16.19 33.08 6.65 63.4 14.84 71.25 2.33 2.25 34.82 42.73 41.07 63.07 10.9 35.45 0.65 72.7-13.62 95.81l-39.85 6.21c-5.83-1.62-9.76-2.43-14.99-5.46 2.88-5.1 8.61-17.82 8.67-20.44l-2.25-3.95c-12.4 17.57-33.18 34.63-50.44 44.43-22.59 12.8-48.63 10.83-65.58 5.58-48.11-14.84-93.6-47.35-104.57-55.89 0 0-0.34 6.82 1.73 8.35 12.13 13.68 39.92 38.43 66.78 55.68l-57.26 6.3 27.07 210.78c-12 1.72-13.87 2.56-27.01 4.43-11.58-40.91-33.73-67.62-57.94-83.18-21.35-13.72-50.8-16.81-78.99-11.23l-1.81 2.1c19.6-2.04 42.74 0.8 66.51 15.85 23.33 14.75 42.13 52.85 49.05 75.79 8.86 29.32 14.99 60.68-8.86 93.92-16.97 23.63-66.51 36.69-106.53 8.44 10.69 17.19 25.14 31.25 44.59 33.9 28.88 3.92 56.29-1.09 75.16-20.46 16.11-16.56 24.65-51.19 22.4-87.66l25.49-3.7 9.2 65.46 421.98-50.81zm-256.73-177.77c-1.18 2.69-3.03 4.45-0.25 13.2l0.17 0.5 0.44 1.13 1.16 2.62c5.01 10.24 10.51 19.9 19.7 24.83 2.38-0.4 4.84-0.67 7.39-0.8 8.63-0.38 14.08 0.99 17.54 2.85 0.31-1.72 0.38-4.24 0.19-7.95-0.67-12.97 2.57-35.03-22.36-46.64-9.41-4.37-22.61-3.02-27.01 2.43 0.8 0.1 1.52 0.27 2.08 0.46 6.65 2.33 2.14 4.62 0.95 7.37m69.87 121.02c-3.27-1.8-18.55-1.09-29.29 0.19-20.46 2.41-42.55 9.51-47.39 13.29-8.8 6.8-4.8 18.66 1.7 23.53 18.23 13.62 34.21 22.75 51.08 20.53 10.36-1.36 19.49-17.76 25.96-32.64 4.43-10.25 4.43-21.31-2.06-24.9m-181.14-104.96c5.77-5.48-28.74-12.68-55.52 5.58-19.75 13.47-20.38 42.35-1.47 58.72 1.89 1.62 3.45 2.77 4.91 3.71 5.52-2.6 11.81-5.23 19.05-7.58 12.23-3.97 22.4-6.02 30.76-7.11 4-4.47 8.65-12.34 7.49-26.59-1.58-19.33-16.23-16.26-5.22-26.73" clip-rule="evenodd" fill="#632ca6" fill-rule="evenodd"/></g></svg>
|
package/package.json
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Utility package for @lvce-editor/server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "node --unhandled-rejections=warn --experimental-vm-modules ../../node_modules/jest/bin/jest.js --detectOpenHandles --forceExit",
|
|
9
|
-
"test:watch": "node --unhandled-rejections=warn --experimental-vm-modules ../../node_modules/jest/bin/jest.js --watch"
|
|
10
|
-
},
|
|
11
7
|
"keywords": [],
|
|
12
8
|
"author": "",
|
|
13
9
|
"license": "MIT",
|
|
@@ -20,12 +16,13 @@
|
|
|
20
16
|
"node": ">=16"
|
|
21
17
|
},
|
|
22
18
|
"dependencies": {
|
|
23
|
-
"@lvce-editor/extension-host": "0.11.
|
|
24
|
-
"@lvce-editor/
|
|
19
|
+
"@lvce-editor/extension-host": "0.11.2",
|
|
20
|
+
"@lvce-editor/extension-host-helper-process": "0.11.2",
|
|
21
|
+
"@lvce-editor/pty-host": "0.11.2",
|
|
25
22
|
"debug": "^4.3.4",
|
|
26
23
|
"execa": "^6.1.0",
|
|
27
24
|
"exit-hook": "^3.1.2",
|
|
28
|
-
"got": "^12.5.
|
|
25
|
+
"got": "^12.5.3",
|
|
29
26
|
"is-object": "^1.0.2",
|
|
30
27
|
"lines-and-columns": "^2.0.3",
|
|
31
28
|
"open": "^8.4.0",
|
|
@@ -40,63 +37,8 @@
|
|
|
40
37
|
"xdg-basedir": "^5.1.0"
|
|
41
38
|
},
|
|
42
39
|
"optionalDependencies": {
|
|
43
|
-
"electron-clipboard-ex": "^1.3.3",
|
|
44
40
|
"keytar": "^7.9.0",
|
|
45
|
-
"vscode-ripgrep-with-github-api-error-fix": "^2.
|
|
41
|
+
"vscode-ripgrep-with-github-api-error-fix": "^2.6.0",
|
|
46
42
|
"extract-zip": "^2.0.1"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@types/debug": "^4.1.7",
|
|
50
|
-
"@types/is-object": "^1.0.2",
|
|
51
|
-
"@types/tail": "^2.2.1",
|
|
52
|
-
"@types/tar-fs": "^2.0.1",
|
|
53
|
-
"@types/verror": "^1.10.6",
|
|
54
|
-
"@types/ws": "^8.5.3",
|
|
55
|
-
"get-port": "^6.1.2"
|
|
56
|
-
},
|
|
57
|
-
"xo": {
|
|
58
|
-
"rules": {
|
|
59
|
-
"unicorn/filename-case": "off",
|
|
60
|
-
"indent": "off",
|
|
61
|
-
"semi": "off",
|
|
62
|
-
"no-unused-vars": "off",
|
|
63
|
-
"unicorn/numeric-separators-style": "off",
|
|
64
|
-
"no-extra-semi": "off",
|
|
65
|
-
"arrow-body-style": "off",
|
|
66
|
-
"padded-blocks": "off",
|
|
67
|
-
"capitalized-comments": "off",
|
|
68
|
-
"padding-line-between-statements": "off",
|
|
69
|
-
"arrow-parens": "off",
|
|
70
|
-
"no-warning-comments": "off",
|
|
71
|
-
"array-bracket-spacing": "off",
|
|
72
|
-
"comma-spacing": "off",
|
|
73
|
-
"unicorn/no-array-callback-reference": "off",
|
|
74
|
-
"comma-dangle": "off",
|
|
75
|
-
"operator-linebreak": "off",
|
|
76
|
-
"no-case-declarations": "off",
|
|
77
|
-
"no-undef": "off",
|
|
78
|
-
"object-curly-spacing": "off",
|
|
79
|
-
"object-shorthand": "off",
|
|
80
|
-
"complexity": "off",
|
|
81
|
-
"no-labels": "off",
|
|
82
|
-
"no-multi-assign": "off",
|
|
83
|
-
"max-params": "off",
|
|
84
|
-
"no-bitwise": "off",
|
|
85
|
-
"unicorn/prefer-math-trunc": "off",
|
|
86
|
-
"no-await-in-loop": "off",
|
|
87
|
-
"unicorn/prefer-add-event-listener": "off",
|
|
88
|
-
"no-unused-expressions": "off",
|
|
89
|
-
"node/prefer-global/process": "off",
|
|
90
|
-
"unicorn/prevent-abbreviations": "off",
|
|
91
|
-
"unicorn/no-process-exit": "off",
|
|
92
|
-
"quotes": "off",
|
|
93
|
-
"n/prefer-global/process": [
|
|
94
|
-
"error",
|
|
95
|
-
"always"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
"ignores": [
|
|
99
|
-
"distmin"
|
|
100
|
-
]
|
|
101
43
|
}
|
|
102
44
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as ExtensionLink from '../ExtensionLink/ExtensionLink.js'
|
|
2
|
-
import * as
|
|
2
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
3
3
|
|
|
4
4
|
export const handleCliArgs = async (argv) => {
|
|
5
5
|
try {
|
|
6
6
|
const path = argv.length > 1 ? argv[1] : process.cwd()
|
|
7
7
|
await ExtensionLink.link(path)
|
|
8
8
|
} catch (error) {
|
|
9
|
-
if (error && error.code ===
|
|
9
|
+
if (error && error.code === ErrorCodes.E_MANIFEST_NOT_FOUND) {
|
|
10
10
|
console.error(error.message)
|
|
11
11
|
process.exitCode = 128
|
|
12
12
|
return
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
export const
|
|
4
|
-
|
|
5
|
-
export const
|
|
6
|
-
|
|
7
|
-
export const Socket =
|
|
8
|
-
|
|
9
|
-
export const
|
|
10
|
-
|
|
11
|
-
export const
|
|
12
|
-
|
|
13
|
-
export const Unknown = 'unknown'
|
|
1
|
+
export const BlockDevice = 1
|
|
2
|
+
export const CharacterDevice = 2
|
|
3
|
+
export const Directory = 3
|
|
4
|
+
export const DirectoryExpanded = 4
|
|
5
|
+
export const DirectoryExpanding = 5
|
|
6
|
+
export const File = 6
|
|
7
|
+
export const Socket = 7
|
|
8
|
+
export const Symlink = 8
|
|
9
|
+
export const SymLinkFile = 9
|
|
10
|
+
export const SymLinkFolder = 10
|
|
11
|
+
export const Unknown = 11
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import VError from 'verror'
|
|
2
|
-
import * as
|
|
2
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
3
3
|
|
|
4
4
|
export class FileNotFoundError extends VError {
|
|
5
5
|
constructor(path) {
|
|
6
6
|
super(`File not found '${path}'`)
|
|
7
7
|
this.name = 'FileNotFoundError'
|
|
8
|
-
this.code =
|
|
8
|
+
this.code = ErrorCodes.ENOENT
|
|
9
9
|
}
|
|
10
10
|
}
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as ChildProcess from '../ChildProcess/ChildProcess.js'
|
|
2
|
+
import * as Platform from '../Platform/Platform.js'
|
|
3
|
+
|
|
4
|
+
export const create = async () => {
|
|
5
|
+
const extensionHostHelperProcessPath =
|
|
6
|
+
await Platform.getExtensionHostHelperProcessPath()
|
|
7
|
+
const childProcess = ChildProcess.fork(
|
|
8
|
+
extensionHostHelperProcessPath,
|
|
9
|
+
['--ipc-type=websocket', '--max-old-space-size=60', '--enable-source-maps'],
|
|
10
|
+
{}
|
|
11
|
+
)
|
|
12
|
+
return {
|
|
13
|
+
on(event, listener) {
|
|
14
|
+
switch (event) {
|
|
15
|
+
case 'message':
|
|
16
|
+
childProcess.on('message', listener)
|
|
17
|
+
break
|
|
18
|
+
case 'error':
|
|
19
|
+
childProcess.on('error', listener)
|
|
20
|
+
break
|
|
21
|
+
case 'exit':
|
|
22
|
+
childProcess.on('exit', listener)
|
|
23
|
+
break
|
|
24
|
+
default:
|
|
25
|
+
throw new Error(`unsupported event type ${event}`)
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
off(event, listener) {
|
|
29
|
+
switch (event) {
|
|
30
|
+
case 'message':
|
|
31
|
+
childProcess.off('message', listener)
|
|
32
|
+
break
|
|
33
|
+
case 'error':
|
|
34
|
+
childProcess.off('error', listener)
|
|
35
|
+
break
|
|
36
|
+
case 'exit':
|
|
37
|
+
childProcess.off('exit', listener)
|
|
38
|
+
break
|
|
39
|
+
default:
|
|
40
|
+
throw new Error(`unsupported event type ${event}`)
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
send(message) {
|
|
44
|
+
childProcess.send(message)
|
|
45
|
+
},
|
|
46
|
+
dispose() {
|
|
47
|
+
childProcess.kill()
|
|
48
|
+
},
|
|
49
|
+
_process: childProcess,
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -2,7 +2,7 @@ import VError from 'verror'
|
|
|
2
2
|
import * as ExtensionManifest from '../ExtensionManifest/ExtensionManifest.js'
|
|
3
3
|
import * as ExtensionManifestStatus from '../ExtensionManifestStatus/ExtensionManifestStatus.js'
|
|
4
4
|
import * as FileSystem from '../FileSystem/FileSystem.js'
|
|
5
|
-
import * as
|
|
5
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
6
6
|
import * as Path from '../Path/Path.js'
|
|
7
7
|
import * as Platform from '../Platform/Platform.js'
|
|
8
8
|
import * as SymLink from '../SymLink/SymLink.js'
|
|
@@ -35,7 +35,7 @@ export const link = async (path) => {
|
|
|
35
35
|
const to = Path.join(linkedExtensionsPath, manifest.id)
|
|
36
36
|
await SymLink.createSymLink(path, to)
|
|
37
37
|
} catch (error) {
|
|
38
|
-
if (error && error.code ===
|
|
38
|
+
if (error && error.code === ErrorCodes.EEXIST) {
|
|
39
39
|
return linkFallBack(path)
|
|
40
40
|
}
|
|
41
41
|
throw new VError(error, `Failed to link extension`)
|
|
@@ -3,7 +3,7 @@ import VError from 'verror'
|
|
|
3
3
|
import * as ExtensionManifestStatus from '../ExtensionManifestStatus/ExtensionManifestStatus.js'
|
|
4
4
|
import * as ReadJson from '../JsonFile/JsonFile.js'
|
|
5
5
|
import * as Path from '../Path/Path.js'
|
|
6
|
-
import * as
|
|
6
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
7
7
|
|
|
8
8
|
const RE_EXTENSION_FRAGMENT = /.+(\/|\\)(.+)$/
|
|
9
9
|
|
|
@@ -35,9 +35,9 @@ export const get = async (path) => {
|
|
|
35
35
|
error,
|
|
36
36
|
`Failed to load extension manifest for ${id}`
|
|
37
37
|
)
|
|
38
|
-
if (error.code ===
|
|
38
|
+
if (error.code === ErrorCodes.ENOENT) {
|
|
39
39
|
// @ts-ignore
|
|
40
|
-
enhancedError.code =
|
|
40
|
+
enhancedError.code = ErrorCodes.E_MANIFEST_NOT_FOUND
|
|
41
41
|
} else {
|
|
42
42
|
// @ts-ignore
|
|
43
43
|
enhancedError.code = error.code
|
|
@@ -2,7 +2,7 @@ import VError from 'verror'
|
|
|
2
2
|
import * as ExtensionManifest from '../ExtensionManifest/ExtensionManifest.js'
|
|
3
3
|
import * as FileSystem from '../FileSystem/FileSystem.js'
|
|
4
4
|
import * as Path from '../Path/Path.js'
|
|
5
|
-
import * as
|
|
5
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
6
6
|
|
|
7
7
|
const toAbsolutePaths = (path, dirents) => {
|
|
8
8
|
const absolutePaths = []
|
|
@@ -26,7 +26,7 @@ export const getExtensionManifests = async (path) => {
|
|
|
26
26
|
} catch (error) {
|
|
27
27
|
// TODO how to make typescript happy?
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
if (error.code ===
|
|
29
|
+
if (error.code === ErrorCodes.ENOENT) {
|
|
30
30
|
return []
|
|
31
31
|
}
|
|
32
32
|
throw new VError(error, 'Failed to get extension manifests')
|
|
@@ -4,7 +4,7 @@ import * as os from 'node:os'
|
|
|
4
4
|
import VError from 'verror'
|
|
5
5
|
import * as DirentType from '../DirentType/DirentType.js'
|
|
6
6
|
import { FileNotFoundError } from '../Error/FileNotFoundError.js'
|
|
7
|
-
import * as
|
|
7
|
+
import * as ErrorCodes from '../ErrorCodes/ErrorCodes.js'
|
|
8
8
|
import * as Path from '../Path/Path.js'
|
|
9
9
|
import * as Platform from '../Platform/Platform.js'
|
|
10
10
|
import * as Trash from '../Trash/Trash.js'
|
|
@@ -52,7 +52,7 @@ export const readFile = async (path, encoding = EncodingType.Utf8) => {
|
|
|
52
52
|
// console.timeEnd(`read ${path}`)
|
|
53
53
|
return content
|
|
54
54
|
} catch (error) {
|
|
55
|
-
if (error && error.code ===
|
|
55
|
+
if (error && error.code === ErrorCodes.ENOENT) {
|
|
56
56
|
throw new FileNotFoundError(path)
|
|
57
57
|
}
|
|
58
58
|
throw new VError(error, `Failed to read file "${path}"`)
|
|
@@ -75,7 +75,7 @@ export const writeFile = async (
|
|
|
75
75
|
// Queue.add(`writeFile/${path}`, () =>
|
|
76
76
|
await fs.writeFile(path, content, encoding)
|
|
77
77
|
} catch (error) {
|
|
78
|
-
if (error && error.code ===
|
|
78
|
+
if (error && error.code === ErrorCodes.ENOENT) {
|
|
79
79
|
throw new FileNotFoundError(path)
|
|
80
80
|
}
|
|
81
81
|
throw new VError(error, `Failed to write to file "${path}"`)
|
|
@@ -152,7 +152,7 @@ const getType = (dirent) => {
|
|
|
152
152
|
return DirentType.File
|
|
153
153
|
}
|
|
154
154
|
if (dirent.isDirectory()) {
|
|
155
|
-
return DirentType.
|
|
155
|
+
return DirentType.Directory
|
|
156
156
|
}
|
|
157
157
|
if (dirent.isSymbolicLink()) {
|
|
158
158
|
return DirentType.Symlink
|
|
@@ -194,7 +194,7 @@ export const readDir = async (path) => {
|
|
|
194
194
|
const dirents = await fs.readdir(path)
|
|
195
195
|
return dirents
|
|
196
196
|
} catch (error) {
|
|
197
|
-
if (error && error.code ===
|
|
197
|
+
if (error && error.code === ErrorCodes.ENOENT) {
|
|
198
198
|
throw new FileNotFoundError(path)
|
|
199
199
|
}
|
|
200
200
|
throw new VError(error, `Failed to read directory "${path}"`)
|
|
@@ -222,7 +222,7 @@ export const rename = async (oldPath, newPath) => {
|
|
|
222
222
|
try {
|
|
223
223
|
await fs.rename(oldPath, newPath)
|
|
224
224
|
} catch (error) {
|
|
225
|
-
if (error && error.code ===
|
|
225
|
+
if (error && error.code === ErrorCodes.EXDEV) {
|
|
226
226
|
return fallbackRename(oldPath, newPath)
|
|
227
227
|
}
|
|
228
228
|
throw new VError(error, `Failed to rename "${oldPath}" to "${newPath}"`)
|
|
@@ -258,7 +258,7 @@ export const getRealPath = async (path) => {
|
|
|
258
258
|
error &&
|
|
259
259
|
error instanceof globalThis.Error &&
|
|
260
260
|
// @ts-ignore
|
|
261
|
-
error.code ===
|
|
261
|
+
error.code === ErrorCodes.ENOENT
|
|
262
262
|
) {
|
|
263
263
|
let content
|
|
264
264
|
try {
|
|
@@ -8,6 +8,7 @@ import { requiresSocket } from '../RequiresSocket/RequiresSocket.js'
|
|
|
8
8
|
import * as Platform from '../Platform/Platform.js'
|
|
9
9
|
import * as ExtensionHostIpc from '../ExtensionHostIpc/ExtensionHostIpc.js'
|
|
10
10
|
import * as ExtensionHostRpc from '../ExtensionHostRpc/ExtensionHostRpc.js'
|
|
11
|
+
import * as ExtensionHostHelperProcessIpc from '../ExtensionHostHelperProcessIpc/ExtensionHostHelperProcessIpc.js'
|
|
11
12
|
// TODO add tests for this
|
|
12
13
|
|
|
13
14
|
// TODO handle structure: one shared process multiple extension hosts
|
|
@@ -61,6 +62,11 @@ const handleWebSocketExtensionHost = async (message, handle) => {
|
|
|
61
62
|
// console.log(rpc)
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
const handleWebSocketExtensionHostHelperProcess = async (message, handle) => {
|
|
66
|
+
const ipc = await ExtensionHostHelperProcessIpc.create()
|
|
67
|
+
ipc._process.send(message, handle)
|
|
68
|
+
}
|
|
69
|
+
|
|
64
70
|
const handleWebSocket = (message, handle) => {
|
|
65
71
|
const headers = message.headers
|
|
66
72
|
if (!headers) {
|
|
@@ -75,6 +81,8 @@ const handleWebSocket = (message, handle) => {
|
|
|
75
81
|
return handleWebSocketSharedProcess(message, handle)
|
|
76
82
|
case 'lvce.extension-host':
|
|
77
83
|
return handleWebSocketExtensionHost(message, handle)
|
|
84
|
+
case 'lvce.extension-host-helper-process':
|
|
85
|
+
return handleWebSocketExtensionHostHelperProcess(message, handle)
|
|
78
86
|
default:
|
|
79
87
|
throw new VError(`unsupported sec-websocket-procotol ${protocol}`)
|
|
80
88
|
}
|
|
@@ -209,7 +217,6 @@ const electronInitialize = (initializeMessage) => {
|
|
|
209
217
|
},
|
|
210
218
|
})
|
|
211
219
|
}
|
|
212
|
-
|
|
213
220
|
}
|
|
214
221
|
} else {
|
|
215
222
|
Command.execute(message.method, fakeSocket, ...message.params)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { extensionHostPath } from '@lvce-editor/extension-host'
|
|
2
2
|
import { homedir, tmpdir } from 'node:os'
|
|
3
|
-
import { join, resolve, sep } from 'node:path'
|
|
4
|
-
import { pathToFileURL } from 'node:url'
|
|
3
|
+
import { dirname, join, resolve, sep } from 'node:path'
|
|
4
|
+
import { fileURLToPath, pathToFileURL } from 'node:url'
|
|
5
5
|
import { xdgCache, xdgConfig, xdgData, xdgState } from 'xdg-basedir'
|
|
6
6
|
import * as Path from '../Path/Path.js'
|
|
7
7
|
import * as Root from '../Root/Root.js'
|
|
@@ -24,6 +24,8 @@ export const homeDir = isWindows ? '' : homedir()
|
|
|
24
24
|
|
|
25
25
|
export const appDir = Root.root
|
|
26
26
|
|
|
27
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
28
|
+
|
|
27
29
|
export const getExtensionsPath = () => {
|
|
28
30
|
return Path.join(dataDir, 'extensions')
|
|
29
31
|
}
|
|
@@ -101,6 +103,13 @@ export const getExtensionHostPath = () => {
|
|
|
101
103
|
return extensionHostPath
|
|
102
104
|
}
|
|
103
105
|
|
|
106
|
+
export const getExtensionHostHelperProcessPath = async () => {
|
|
107
|
+
const { extensionHostHelperProcessPath } = await import(
|
|
108
|
+
'@lvce-editor/extension-host-helper-process'
|
|
109
|
+
)
|
|
110
|
+
return extensionHostHelperProcessPath
|
|
111
|
+
}
|
|
112
|
+
|
|
104
113
|
export const getRecentlyOpenedPath = () => {
|
|
105
114
|
return Path.join(cacheDir, 'recently-opened.json')
|
|
106
115
|
}
|