@theia/mini-browser 1.23.0-next.5 → 1.23.0-next.54
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/lib/browser/environment/mini-browser-environment-module.d.ts +0 -15
- package/lib/browser/environment/mini-browser-environment-module.d.ts.map +1 -1
- package/lib/browser/environment/mini-browser-environment-module.js +15 -15
- package/lib/browser/environment/mini-browser-environment-module.js.map +1 -1
- package/lib/browser/environment/mini-browser-environment.d.ts +0 -15
- package/lib/browser/environment/mini-browser-environment.d.ts.map +1 -1
- package/lib/browser/environment/mini-browser-environment.js +19 -19
- package/lib/browser/environment/mini-browser-environment.js.map +1 -1
- package/lib/browser/location-mapper-service.d.ts +0 -15
- package/lib/browser/location-mapper-service.d.ts.map +1 -1
- package/lib/browser/location-mapper-service.js +23 -23
- package/lib/browser/location-mapper-service.js.map +1 -1
- package/lib/browser/mini-browser-content-style.d.ts +0 -15
- package/lib/browser/mini-browser-content-style.d.ts.map +1 -1
- package/lib/browser/mini-browser-content-style.js +15 -15
- package/lib/browser/mini-browser-content-style.js.map +1 -1
- package/lib/browser/mini-browser-content.d.ts +0 -15
- package/lib/browser/mini-browser-content.d.ts.map +1 -1
- package/lib/browser/mini-browser-content.js +33 -33
- package/lib/browser/mini-browser-content.js.map +1 -1
- package/lib/browser/mini-browser-frontend-module.d.ts +0 -15
- package/lib/browser/mini-browser-frontend-module.d.ts.map +1 -1
- package/lib/browser/mini-browser-frontend-module.js +16 -16
- package/lib/browser/mini-browser-frontend-module.js.map +1 -1
- package/lib/browser/mini-browser-frontend-security-warnings.d.ts +0 -15
- package/lib/browser/mini-browser-frontend-security-warnings.d.ts.map +1 -1
- package/lib/browser/mini-browser-frontend-security-warnings.js +19 -19
- package/lib/browser/mini-browser-frontend-security-warnings.js.map +1 -1
- package/lib/browser/mini-browser-open-handler.d.ts +0 -15
- package/lib/browser/mini-browser-open-handler.d.ts.map +1 -1
- package/lib/browser/mini-browser-open-handler.js +26 -26
- package/lib/browser/mini-browser-open-handler.js.map +1 -1
- package/lib/browser/mini-browser.d.ts +0 -15
- package/lib/browser/mini-browser.d.ts.map +1 -1
- package/lib/browser/mini-browser.js +21 -21
- package/lib/browser/mini-browser.js.map +1 -1
- package/lib/common/mini-browser-endpoint.d.ts +0 -15
- package/lib/common/mini-browser-endpoint.d.ts.map +1 -1
- package/lib/common/mini-browser-endpoint.js +15 -15
- package/lib/common/mini-browser-endpoint.js.map +1 -1
- package/lib/common/mini-browser-service.d.ts +0 -15
- package/lib/common/mini-browser-service.d.ts.map +1 -1
- package/lib/common/mini-browser-service.js +15 -15
- package/lib/common/mini-browser-service.js.map +1 -1
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.d.ts +0 -15
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.d.ts.map +1 -1
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.js +15 -15
- package/lib/electron-browser/environment/electron-mini-browser-environment-module.js.map +1 -1
- package/lib/electron-browser/environment/electron-mini-browser-environment.d.ts +0 -15
- package/lib/electron-browser/environment/electron-mini-browser-environment.d.ts.map +1 -1
- package/lib/electron-browser/environment/electron-mini-browser-environment.js +17 -17
- package/lib/electron-browser/environment/electron-mini-browser-environment.js.map +1 -1
- package/lib/electron-main/mini-browser-electron-main-contribution.d.ts +0 -15
- package/lib/electron-main/mini-browser-electron-main-contribution.d.ts.map +1 -1
- package/lib/electron-main/mini-browser-electron-main-contribution.js +17 -17
- package/lib/electron-main/mini-browser-electron-main-contribution.js.map +1 -1
- package/lib/node/mini-browser-backend-module.d.ts +0 -15
- package/lib/node/mini-browser-backend-module.d.ts.map +1 -1
- package/lib/node/mini-browser-backend-module.js +16 -16
- package/lib/node/mini-browser-backend-module.js.map +1 -1
- package/lib/node/mini-browser-backend-security-warnings.d.ts +0 -15
- package/lib/node/mini-browser-backend-security-warnings.d.ts.map +1 -1
- package/lib/node/mini-browser-backend-security-warnings.js +16 -16
- package/lib/node/mini-browser-backend-security-warnings.js.map +1 -1
- package/lib/node/mini-browser-endpoint.d.ts +0 -15
- package/lib/node/mini-browser-endpoint.d.ts.map +1 -1
- package/lib/node/mini-browser-endpoint.js +24 -24
- package/lib/node/mini-browser-endpoint.js.map +1 -1
- package/lib/node/mini-browser-ws-validator.d.ts +0 -15
- package/lib/node/mini-browser-ws-validator.d.ts.map +1 -1
- package/lib/node/mini-browser-ws-validator.js +17 -17
- package/lib/node/mini-browser-ws-validator.js.map +1 -1
- package/lib/package.spec.d.ts +0 -15
- package/lib/package.spec.d.ts.map +1 -1
- package/lib/package.spec.js +15 -15
- package/lib/package.spec.js.map +1 -1
- package/package.json +4 -4
- package/src/browser/environment/mini-browser-environment-module.ts +15 -15
- package/src/browser/environment/mini-browser-environment.ts +15 -15
- package/src/browser/location-mapper-service.ts +15 -15
- package/src/browser/mini-browser-content-style.ts +15 -15
- package/src/browser/mini-browser-content.ts +16 -16
- package/src/browser/mini-browser-frontend-module.ts +15 -15
- package/src/browser/mini-browser-frontend-security-warnings.ts +15 -15
- package/src/browser/mini-browser-open-handler.ts +17 -17
- package/src/browser/mini-browser.ts +16 -16
- package/src/browser/pdfobject.d.ts +15 -15
- package/src/common/mini-browser-endpoint.ts +15 -15
- package/src/common/mini-browser-service.ts +15 -15
- package/src/electron-browser/environment/electron-mini-browser-environment-module.ts +15 -15
- package/src/electron-browser/environment/electron-mini-browser-environment.ts +17 -17
- package/src/electron-main/mini-browser-electron-main-contribution.ts +15 -15
- package/src/node/mini-browser-backend-module.ts +15 -15
- package/src/node/mini-browser-backend-security-warnings.ts +15 -15
- package/src/node/mini-browser-endpoint.ts +15 -15
- package/src/node/mini-browser-ws-validator.ts +15 -15
- package/src/package.spec.ts +15 -15
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
|
|
18
18
|
import { Message } from '@theia/core/shared/@phosphor/messaging';
|
|
@@ -84,7 +84,7 @@ export class MiniBrowser extends BaseWidget implements NavigatableWidget, Statef
|
|
|
84
84
|
this.toDisposeOnProps.push(content);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
protected onActivateRequest(msg: Message): void {
|
|
87
|
+
protected override onActivateRequest(msg: Message): void {
|
|
88
88
|
super.onActivateRequest(msg);
|
|
89
89
|
const widget = (this.layout as PanelLayout).widgets[0];
|
|
90
90
|
if (widget) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* The documentation was copied from https://pdfobject.com/#api.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2020 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* The mini-browser can now serve content on its own host/origin.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
export const MiniBrowserServicePath = '/services/mini-browser-service';
|
|
18
18
|
export const MiniBrowserService = Symbol('MiniBrowserService');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2020 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { FrontendApplicationContribution } from '@theia/core/lib/browser';
|
|
18
18
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2020 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { Endpoint } from '@theia/core/lib/browser';
|
|
18
18
|
import { ElectronSecurityToken } from '@theia/core/lib/electron-common/electron-token';
|
|
@@ -26,7 +26,7 @@ export class ElectronMiniBrowserEnvironment extends MiniBrowserEnvironment {
|
|
|
26
26
|
@inject(ElectronSecurityToken)
|
|
27
27
|
protected readonly electronSecurityToken: ElectronSecurityToken;
|
|
28
28
|
|
|
29
|
-
getEndpoint(uuid: string, hostname?: string): Endpoint {
|
|
29
|
+
override getEndpoint(uuid: string, hostname?: string): Endpoint {
|
|
30
30
|
const endpoint = super.getEndpoint(uuid, hostname);
|
|
31
31
|
// Note: This call is async, but clients expect sync logic.
|
|
32
32
|
electronRemote.session.defaultSession.cookies.set({
|
|
@@ -38,7 +38,7 @@ export class ElectronMiniBrowserEnvironment extends MiniBrowserEnvironment {
|
|
|
38
38
|
return endpoint;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
protected getDefaultHostname(): string {
|
|
41
|
+
protected override getDefaultHostname(): string {
|
|
42
42
|
const query = self.location.search
|
|
43
43
|
.substr(1) // remove leading `?`
|
|
44
44
|
.split('&')
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2020 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { ElectronMainApplication, ElectronMainApplicationContribution } from '@theia/core/lib/electron-main/electron-main-application';
|
|
18
18
|
import { ElectronSecurityTokenService } from '@theia/core/lib/electron-main/electron-security-token-service';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
18
|
import { bindContributionProvider } from '@theia/core/lib/common/contribution-provider';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2021 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { BackendApplicationContribution } from '@theia/core/lib/node';
|
|
18
18
|
import { BackendApplicationConfigProvider } from '@theia/core/lib/node/backend-application-config-provider';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
const vhost = require('vhost');
|
|
18
18
|
import express = require('@theia/core/shared/express');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2020 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { WsRequestValidatorContribution } from '@theia/core/lib/node/ws-request-validators';
|
|
18
18
|
import * as http from 'http';
|
package/src/package.spec.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
describe('mini-browser package', () => {
|
|
18
18
|
|