New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/che-e2e

Package Overview
Dependencies
Maintainers
5
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/che-e2e - npm Package Compare versions

Comparing version 7.43.0 to 7.44.0-dev-bd2271d

16

dist/tests/e2e_happy_path/DevWorkspaceHappyPath.spec.js

@@ -133,10 +133,10 @@ "use strict";

suite('Validation of workspace build and run', async () => {
const mavenBuildTaskName = 'maven-build';
const runAppTaskName = 'run-with-hsqldb';
test('Build application', async () => {
const taskName = 'build';
await topMenu.runTask(`${taskName}, ${globalTaskScope}`);
await terminal.waitIconSuccess(taskName, 500000);
await topMenu.runTask(`${mavenBuildTaskName}, ${globalTaskScope}`);
await terminal.waitIconSuccess(mavenBuildTaskName, 500000);
});
test('Run application', async () => {
const taskName = 'run-with-hsqldb';
await topMenu.runTask(`${taskName}, ${globalTaskScope}`);
await topMenu.runTask(`${runAppTaskName}, ${globalTaskScope}`);
await ide.waitNotification('Process 8080-tcp is now listening on port 8080. Open it ?', 120000);

@@ -152,6 +152,6 @@ // devWs specific. After running test application we can open it just in the new window.

test('Close the terminal running tasks', async () => {
await terminal.rejectTerminalProcess('run-with-hsqldb');
await terminal.closeTerminalTab('run-with-hsqldb');
await terminal.rejectTerminalProcess(runAppTaskName);
await terminal.closeTerminalTab(runAppTaskName);
await warningDialog.waitAndCloseIfAppear();
await terminal.closeTerminalTab('build');
await terminal.closeTerminalTab(mavenBuildTaskName);
});

@@ -158,0 +158,0 @@ });

@@ -24,2 +24,3 @@ "use strict";

const CheReporter_1 = __importDefault(require("../../driver/CheReporter"));
const projectAndFileTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ProjectAndFileTests);
const workspaceHandlingTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceHandlingTests);

@@ -34,7 +35,7 @@ const driverHelper = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.DriverHelper);

const browserTabsUtil = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.BrowserTabsUtil);
const workspaceNameHandler = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceNameHandler);
const devfileUrl = 'https://raw.githubusercontent.com/eclipse/che/main/tests/e2e/files/devfiles/plugins/TypescriptNodeDebug2PluginTest.yaml';
const preferencesHandler = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.PreferencesHandler);
const devfileUrl = 'https://github.com/che-samples/web-nodejs-sample/tree/typescript-plugin';
const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
const codeNavigationClassName = 'OpenDefinition.ts';
const projectName = 'nodejs-web-app';
const projectName = 'web-nodejs-sample';
const subRootFolder = 'app';

@@ -46,3 +47,3 @@ const sampleBodyLocator = selenium_webdriver_1.By.xpath(`//body[text()='Hello World!']`);

const tabTitle = 'typescript-node-debug.ts';
let workspaceName;
let workspaceName = 'typescript-plugin';
suite(`The 'TypescriptPlugin and Node-debug' tests`, async () => {

@@ -53,10 +54,6 @@ suite('Create workspace', async () => {

});
projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
test('Wait until created workspace is started', async () => {
await ide.waitAndSwitchToIdeFrame();
workspaceName = await workspaceNameHandler.getNameFromUrl();
CheReporter_1.default.registerRunningWorkspace(workspaceName);
await ide.waitIde(TimeoutConstants_1.TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
await ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60000);
await projectTree.openProjectTreeContainer();
await projectTree.waitProjectImported(projectName, subRootFolder);
await preferencesHandler.setPreferenceUsingUI('application.confirmExit', 'never');
});

@@ -95,9 +92,9 @@ });

let applicationPreviewWindow = '';
test('Run application in debug mode', async () => {
await topMenu.runTask('run the web app (debugging enabled), Global');
await ide.waitNotification('Process nodejs is now listening on port 3000.');
test('Open application in the new editor window', async () => {
currentWindow = await browserTabsUtil.getCurrentWindowHandle();
});
test('Open application in the new editor window', async () => {
await ide.clickOnNotificationButton('Process nodejs is now listening on port 3000.', 'Open In New Tab');
await topMenu.runTask('run-the-web-app, Global');
await ide.waitNotification('A new process is now listening on port 3000', TimeoutConstants_1.TimeoutConstants.TS_DEBUGGER_CONNECTION_TIMEOUT);
await ide.clickOnNotificationButton('A new process is now listening on port 3000', 'yes');
await ide.waitNotification('Redirect is now enabled on port 3000.', TimeoutConstants_1.TimeoutConstants.TS_DEBUGGER_CONNECTION_TIMEOUT);
await ide.clickOnNotificationButton('Redirect is now enabled on port 3000.', 'Open In New Tab');
await browserTabsUtil.waitAndSwitchToAnotherWindow(currentWindow, 60000);

@@ -109,3 +106,2 @@ await browserTabsUtil.waitContentAvailableInTheNewTab(sampleBodyLocator, 60000);

await browserTabsUtil.switchToWindow(currentWindow);
await ide.waitAndSwitchToIdeFrame(60000);
});

@@ -119,7 +115,4 @@ test('Activate breakpoint', async () => {

await ide.waitLeftToolbarButton(Ide_1.LeftToolbarButton.Debug);
// workaround for the issue: https://github.com/eclipse/che/issues/20067
await debugView.clickOnDebugConfigurationDropDown();
await debugView.clickOnDebugConfigurationItem('Add Configuration...');
await debugView.clickOnDebugConfigurationDropDown();
await debugView.clickOnDebugConfigurationItem('Attach to Remote (nodejs-web-app)');
await debugView.clickOnDebugConfigurationItem('Attach (web-nodejs-sample)');
await debugView.clickOnRunDebugButton();

@@ -140,3 +133,2 @@ });

await browserTabsUtil.switchToWindow(currentWindow);
await ide.waitAndSwitchToIdeFrame(60000);
await editor.waitStoppedDebugBreakpoint(debugFile, 19, 60000);

@@ -143,0 +135,0 @@ });

@@ -19,19 +19,18 @@ "use strict";

const TestConstants_1 = require("../../TestConstants");
const TimeoutConstants_1 = require("../../TimeoutConstants");
const Logger_1 = require("../../utils/Logger");
const CheReporter_1 = __importDefault(require("../../driver/CheReporter"));
const ide = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.Ide);
const projectAndFileTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ProjectAndFileTests);
const projectTree = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ProjectTree);
const editor = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.Editor);
const browserTabsUtil = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.BrowserTabsUtil);
const workspaceHandlingTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceHandlingTests);
const preferencesHandler = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.PreferencesHandler);
const workspaceHandlingTests = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceHandlingTests);
const workspaceNameHandler = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.WorkspaceNameHandler);
const devfileUrl = 'https://raw.githubusercontent.com/eclipse/che/main/tests/e2e/files/devfiles/plugins/VscodeYamlPlugin.yaml';
const devfileUrl = 'https://github.com/che-samples/web-nodejs-sample/tree/yaml-plugin';
const factoryUrl = `${TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
const projectName = 'nodejs-web-app';
const projectName = 'web-nodejs-sample';
const subRootFolder = 'app';
const pathToFile = `${projectName}`;
const yamlFileName = 'routes.yaml';
const yamlSchema = { 'yaml-schema.json': '*.yaml' };
let workspaceName = '';
let workspaceName = 'yaml-plugin';
suite('The "VscodeYamlPlugin" userstory', async () => {

@@ -42,16 +41,8 @@ suite('Create workspace', async () => {

});
projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
test('Wait until created workspace is started', async () => {
await ide.waitAndSwitchToIdeFrame();
workspaceName = await workspaceNameHandler.getNameFromUrl();
CheReporter_1.default.registerRunningWorkspace(workspaceName);
await ide.waitIde(TimeoutConstants_1.TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
await ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60000);
await preferencesHandler.setPreferenceUsingUI('application.confirmExit', 'never');
});
});
suite('Check workspace readiness to work', async () => {
test('Wait until project is imported', async () => {
await projectTree.openProjectTreeContainer();
await projectTree.waitProjectImported(projectName, 'app');
});
});
suite('Check the "vscode-yaml" plugin', async () => {

@@ -67,8 +58,8 @@ test('Set the yaml schema path', async () => {

await projectTree.expandPathAndOpenFile(pathToFile, yamlFileName);
await editor.type(yamlFileName, selenium_webdriver_1.Key.SPACE, 19);
await editor.waitErrorInLine(19, yamlFileName);
await editor.type(yamlFileName, selenium_webdriver_1.Key.SPACE, 20);
await editor.waitErrorInLine(20, yamlFileName);
});
test('Check error disappearance', async () => {
await editor.performKeyCombination(yamlFileName, selenium_webdriver_1.Key.BACK_SPACE);
await editor.waitErrorInLineDisappearance(19, yamlFileName);
await editor.waitErrorInLineDisappearance(20, yamlFileName);
});

@@ -75,0 +66,0 @@ test('To unformat the "yaml" file', async () => {

@@ -45,7 +45,3 @@ "use strict";

test('Wait for workspace readiness', async () => {
await this.ide.waitAndSwitchToIdeFrame();
await this.ide.waitIde(TimeoutConstants_1.TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
if (checkNotification) {
await this.ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60000);
}
if (restartWorkspaceDialogIsExpected) {

@@ -52,0 +48,0 @@ await this.ide.clickOnCancelDialogButton();

@@ -59,2 +59,5 @@ "use strict";

let editorText = await this.editor.getEditorVisibleText(tabTitle);
if (!editorText) {
editorText = '{}';
}
let preferences = JSON.parse(editorText);

@@ -61,0 +64,0 @@ preferences[property] = value;

{
"name": "@eclipse-che/che-e2e",
"version": "7.43.0",
"version": "7.44.0-dev-bd2271d",
"description": "",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

"test-plugin": "./initPluginTest.sh",
"test-plugin-ci": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=false && npm run init-mocha-opts -- --spec dist/tests/plugins/${USERSTORY}.spec.js",
"test-plugin-ci": "export TS_DELETE_PLUGINS_TEST_WORKSPACE=true && npm run init-mocha-opts -- --spec dist/tests/plugins/${USERSTORY}.spec.js",
"test-all-plugins": "tsc && mocha --config mocha-all-plugins.json"

@@ -32,0 +32,0 @@ },

@@ -140,11 +140,11 @@ // /*********************************************************************

suite('Validation of workspace build and run', async () => {
const mavenBuildTaskName: string = 'maven-build';
const runAppTaskName: string = 'run-with-hsqldb';
test('Build application', async () => {
const taskName: string = 'build';
await topMenu.runTask(`${taskName}, ${globalTaskScope}`);
await terminal.waitIconSuccess(taskName, 500_000);
await topMenu.runTask(`${mavenBuildTaskName}, ${globalTaskScope}`);
await terminal.waitIconSuccess(mavenBuildTaskName, 500_000);
});
test('Run application', async () => {
const taskName: string = 'run-with-hsqldb';
await topMenu.runTask(`${taskName}, ${globalTaskScope}`);
await topMenu.runTask(`${runAppTaskName}, ${globalTaskScope}`);
await ide.waitNotification('Process 8080-tcp is now listening on port 8080. Open it ?', 120_000);

@@ -161,6 +161,6 @@ // devWs specific. After running test application we can open it just in the new window.

test('Close the terminal running tasks', async () => {
await terminal.rejectTerminalProcess('run-with-hsqldb');
await terminal.closeTerminalTab('run-with-hsqldb');
await terminal.rejectTerminalProcess(runAppTaskName);
await terminal.closeTerminalTab(runAppTaskName);
await warningDialog.waitAndCloseIfAppear();
await terminal.closeTerminalTab('build');
await terminal.closeTerminalTab(mavenBuildTaskName);
});

@@ -280,7 +280,5 @@ });

console.log('>>>>The debugger is set >>>>>>>>>>>>>>>>>>> ' + error.message);
} else { const {data} = await httpClient.get(urlToApp);
console.log('>>>>>>>seems the app. is not set under debug properly: >>>>>>>>>>>>>>' + data);
}
else {
const {data} = await httpClient.get(urlToApp);
console.log('>>>>>>>seems the app. is not set under debug properly: >>>>>>>>>>>>>>'+ data)
}
}

@@ -287,0 +285,0 @@ }

@@ -27,4 +27,6 @@ /*********************************************************************

import CheReporter from '../../driver/CheReporter';
import { WorkspaceNameHandler } from '../../utils/WorkspaceNameHandler';
import { PreferencesHandler } from '../../utils/PreferencesHandler';
import { ProjectAndFileTests } from '../../testsLibrary/ProjectAndFileTests';
const projectAndFileTests: ProjectAndFileTests = e2eContainer.get(CLASSES.ProjectAndFileTests);
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);

@@ -39,11 +41,10 @@ const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);

const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
const workspaceNameHandler: WorkspaceNameHandler = e2eContainer.get(CLASSES.WorkspaceNameHandler);
const preferencesHandler: PreferencesHandler = e2eContainer.get(CLASSES.PreferencesHandler);
const devfileUrl: string = 'https://raw.githubusercontent.com/eclipse/che/main/tests/e2e/files/devfiles/plugins/TypescriptNodeDebug2PluginTest.yaml';
const devfileUrl: string = 'https://github.com/che-samples/web-nodejs-sample/tree/typescript-plugin';
const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
const codeNavigationClassName: string = 'OpenDefinition.ts';
const projectName: string = 'nodejs-web-app';
const projectName: string = 'web-nodejs-sample';
const subRootFolder: string = 'app';
const sampleBodyLocator: By = By.xpath(`//body[text()='Hello World!']`);
const fileFolderPath: string = `${projectName}`;

@@ -53,3 +54,3 @@ const debugFileFolderPath: string = `${projectName}/app`;

const tabTitle: string = 'typescript-node-debug.ts';
let workspaceName: string;
let workspaceName: string = 'typescript-plugin';

@@ -62,12 +63,8 @@ suite(`The 'TypescriptPlugin and Node-debug' tests`, async () => {

projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
test('Wait until created workspace is started', async () => {
await ide.waitAndSwitchToIdeFrame();
workspaceName = await workspaceNameHandler.getNameFromUrl();
CheReporter.registerRunningWorkspace(workspaceName);
await ide.waitIde(TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
await ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60_000);
await projectTree.openProjectTreeContainer();
await projectTree.waitProjectImported(projectName, subRootFolder);
await preferencesHandler.setPreferenceUsingUI('application.confirmExit', 'never');
});

@@ -113,11 +110,11 @@ });

test('Run application in debug mode', async () => {
await topMenu.runTask('run the web app (debugging enabled), Global');
await ide.waitNotification('Process nodejs is now listening on port 3000.');
test('Open application in the new editor window', async () => {
currentWindow = await browserTabsUtil.getCurrentWindowHandle();
});
test('Open application in the new editor window', async () => {
await ide.clickOnNotificationButton('Process nodejs is now listening on port 3000.', 'Open In New Tab');
await topMenu.runTask('run-the-web-app, Global');
await ide.waitNotification('A new process is now listening on port 3000', TimeoutConstants.TS_DEBUGGER_CONNECTION_TIMEOUT);
await ide.clickOnNotificationButton('A new process is now listening on port 3000', 'yes');
await ide.waitNotification('Redirect is now enabled on port 3000.', TimeoutConstants.TS_DEBUGGER_CONNECTION_TIMEOUT);
await ide.clickOnNotificationButton('Redirect is now enabled on port 3000.', 'Open In New Tab');
await browserTabsUtil.waitAndSwitchToAnotherWindow(currentWindow, 60_000);

@@ -131,3 +128,2 @@ await browserTabsUtil.waitContentAvailableInTheNewTab(sampleBodyLocator, 60_000);

await browserTabsUtil.switchToWindow(currentWindow);
await ide.waitAndSwitchToIdeFrame(60_000);
});

@@ -144,8 +140,4 @@

// workaround for the issue: https://github.com/eclipse/che/issues/20067
await debugView.clickOnDebugConfigurationDropDown();
await debugView.clickOnDebugConfigurationItem('Add Configuration...');
await debugView.clickOnDebugConfigurationDropDown();
await debugView.clickOnDebugConfigurationItem('Attach to Remote (nodejs-web-app)');
await debugView.clickOnDebugConfigurationItem('Attach (web-nodejs-sample)');
await debugView.clickOnRunDebugButton();

@@ -170,3 +162,2 @@ });

await browserTabsUtil.switchToWindow(currentWindow);
await ide.waitAndSwitchToIdeFrame(60000);

@@ -173,0 +164,0 @@ await editor.waitStoppedDebugBreakpoint(debugFile, 19, 60_000);

@@ -14,9 +14,5 @@ /*********************************************************************

import { CLASSES } from '../../inversify.types';
import { Ide } from '../../pageobjects/ide/Ide';
import { ProjectTree } from '../../pageobjects/ide/ProjectTree';
import { Editor } from '../../pageobjects/ide/Editor';
import { PreferencesHandler } from '../../utils/PreferencesHandler';
import { TestConstants } from '../../TestConstants';
import { TimeoutConstants } from '../../TimeoutConstants';
import { WorkspaceNameHandler } from '../../utils/WorkspaceNameHandler';
import { Logger } from '../../utils/Logger';

@@ -26,14 +22,16 @@ import { WorkspaceHandlingTests } from '../../testsLibrary/WorkspaceHandlingTests';

import { BrowserTabsUtil } from '../../utils/BrowserTabsUtil';
import { PreferencesHandler } from '../../utils/PreferencesHandler';
import { ProjectAndFileTests } from '../../testsLibrary/ProjectAndFileTests';
const ide: Ide = e2eContainer.get(CLASSES.Ide);
const projectAndFileTests: ProjectAndFileTests = e2eContainer.get(CLASSES.ProjectAndFileTests);
const projectTree: ProjectTree = e2eContainer.get(CLASSES.ProjectTree);
const editor: Editor = e2eContainer.get(CLASSES.Editor);
const browserTabsUtil: BrowserTabsUtil = e2eContainer.get(CLASSES.BrowserTabsUtil);
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
const preferencesHandler: PreferencesHandler = e2eContainer.get(CLASSES.PreferencesHandler);
const workspaceHandlingTests: WorkspaceHandlingTests = e2eContainer.get(CLASSES.WorkspaceHandlingTests);
const workspaceNameHandler: WorkspaceNameHandler = e2eContainer.get(CLASSES.WorkspaceNameHandler);
const devfileUrl: string = 'https://raw.githubusercontent.com/eclipse/che/main/tests/e2e/files/devfiles/plugins/VscodeYamlPlugin.yaml';
const devfileUrl: string = 'https://github.com/che-samples/web-nodejs-sample/tree/yaml-plugin';
const factoryUrl: string = `${TestConstants.TS_SELENIUM_BASE_URL}/f?url=${devfileUrl}`;
const projectName: string = 'nodejs-web-app';
const projectName: string = 'web-nodejs-sample';
const subRootFolder: string = 'app';
const pathToFile: string = `${projectName}`;

@@ -43,3 +41,3 @@ const yamlFileName: string = 'routes.yaml';

let workspaceName: string = '';
let workspaceName: string = 'yaml-plugin';

@@ -52,19 +50,11 @@ suite('The "VscodeYamlPlugin" userstory', async () => {

projectAndFileTests.waitWorkspaceReadiness(projectName, subRootFolder);
test('Wait until created workspace is started', async () => {
await ide.waitAndSwitchToIdeFrame();
workspaceName = await workspaceNameHandler.getNameFromUrl();
CheReporter.registerRunningWorkspace(workspaceName);
await ide.waitIde(TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
await ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60_000);
await preferencesHandler.setPreferenceUsingUI('application.confirmExit', 'never');
});
});
suite('Check workspace readiness to work', async () => {
test('Wait until project is imported', async () => {
await projectTree.openProjectTreeContainer();
await projectTree.waitProjectImported(projectName, 'app');
});
});
suite('Check the "vscode-yaml" plugin', async () => {

@@ -83,4 +73,4 @@ test('Set the yaml schema path', async () => {

await editor.type(yamlFileName, Key.SPACE, 19);
await editor.waitErrorInLine(19, yamlFileName);
await editor.type(yamlFileName, Key.SPACE, 20);
await editor.waitErrorInLine(20, yamlFileName);
});

@@ -90,3 +80,3 @@

await editor.performKeyCombination(yamlFileName, Key.BACK_SPACE);
await editor.waitErrorInLineDisappearance(19, yamlFileName);
await editor.waitErrorInLineDisappearance(20, yamlFileName);
});

@@ -93,0 +83,0 @@

@@ -34,11 +34,8 @@ /*********************************************************************

test('Wait for workspace readiness', async () => {
await this.ide.waitAndSwitchToIdeFrame();
await this.ide.waitIde(TimeoutConstants.TS_SELENIUM_START_WORKSPACE_TIMEOUT);
if (checkNotification) {
await this.ide.waitNotificationAndClickOnButton('Do you trust the authors of', 'Yes, I trust', 60_000);
}
if (restartWorkspaceDialogIsExpected) {
await this.ide.clickOnCancelDialogButton();
}
}
await this.projectTree.openProjectTreeContainer();

@@ -48,2 +45,3 @@ if (!await this.openEditors.isExpansionToggleCollapsed()) {

}
await this.projectTree.waitProjectImported(sampleName, folder);

@@ -50,0 +48,0 @@ });

@@ -50,2 +50,5 @@ /*********************************************************************

let editorText: string = await this.editor.getEditorVisibleText(tabTitle);
if (!editorText) {
editorText = '{}';
}
let preferences = JSON.parse(editorText);

@@ -52,0 +55,0 @@ preferences[property] = value;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc