@lvce-editor/shared-process 0.38.7 → 0.38.9
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": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.9",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lvce-editor/assert": "^1.3.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.38.
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.38.9",
|
|
22
22
|
"@lvce-editor/ipc": "^11.3.0",
|
|
23
23
|
"@lvce-editor/json-rpc": "^5.2.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "^1.5.0",
|
package/src/parts/ContentSecurityPolicyTextSearchWorker/ContentSecurityPolicyTextSearchWorker.js
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import * as GetContentSecurityPolicy from '../GetContentSecurityPolicy/GetContentSecurityPolicy.js';
|
|
2
|
-
|
|
2
|
+
import * as IsElectron from '../IsElectron/IsElectron.js';
|
|
3
|
+
export const value = IsElectron.isElectron
|
|
4
|
+
? GetContentSecurityPolicy.getContentSecurityPolicy([`default-src 'none'`, `sandbox allow-same-origin`])
|
|
5
|
+
: GetContentSecurityPolicy.getContentSecurityPolicy([`default-src 'none'`, `connect-src 'self'`, `sandbox allow-same-origin`]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { stat } from 'node:fs/promises';
|
|
2
|
+
import * as GetContentResponse from '../GetContentResponse/GetContentResponse.js';
|
|
2
3
|
import * as GetElectronFileResponseAbsolutePath from '../GetElectronFileResponseAbsolutePath/GetElectronFileResponseAbsolutePath.js';
|
|
3
4
|
import * as GetElectronFileResponseContent from '../GetElectronFileResponseContent/GetElectronFileResponseContent.js';
|
|
4
5
|
import * as GetElectronFileResponseRelativePath from '../GetElectronFileResponseRelativePath/GetElectronFileResponseRelativePath.js';
|
|
5
6
|
import * as GetEtag from '../GetEtag/GetEtag.js';
|
|
6
7
|
import * as GetHeaders from '../GetHeaders/GetHeaders.js';
|
|
7
8
|
import * as GetNotFoundResponse from '../GetNotFoundResponse/GetNotFoundResponse.js';
|
|
8
|
-
import * as GetContentResponse from '../GetContentResponse/GetContentResponse.js';
|
|
9
9
|
import * as GetNotModifiedResponse from '../GetNotModifiedResponse/GetNotModifiedResponse.js';
|
|
10
10
|
import * as GetServerErrorResponse from '../GetServerErrorResponse/GetServerErrorResponse.js';
|
|
11
11
|
import * as HttpHeader from '../HttpHeader/HttpHeader.js';
|
|
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
|
|
|
41
41
|
export const getSetupName = () => {
|
|
42
42
|
return 'Lvce-Setup';
|
|
43
43
|
};
|
|
44
|
-
export const version = '0.38.
|
|
45
|
-
export const commit = '
|
|
46
|
-
export const date = '2024-11-
|
|
44
|
+
export const version = '0.38.9';
|
|
45
|
+
export const commit = 'f3cf31a';
|
|
46
|
+
export const date = '2024-11-24T22:17:04.000Z';
|
|
47
47
|
export const getVersion = () => {
|
|
48
48
|
return version;
|
|
49
49
|
};
|