Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@electron/remote

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron/remote - npm Package Compare versions

Comparing version 2.0.12 to 2.1.0

2

dist/src/main/index.d.ts

@@ -1,1 +0,1 @@

export { initialize, enable } from "./server";
export { initialize, isInitialized, enable } from "./server";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enable = exports.initialize = void 0;
exports.enable = exports.isInitialized = exports.initialize = void 0;
var server_1 = require("./server");
Object.defineProperty(exports, "initialize", { enumerable: true, get: function () { return server_1.initialize; } });
Object.defineProperty(exports, "isInitialized", { enumerable: true, get: function () { return server_1.isInitialized; } });
Object.defineProperty(exports, "enable", { enumerable: true, get: function () { return server_1.enable; } });
import { WebContents } from 'electron';
export declare const isRemoteModuleEnabled: (contents: WebContents) => boolean | undefined;
export declare function enable(contents: WebContents): void;
export declare function isInitialized(): boolean;
export declare function initialize(): void;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.initialize = exports.enable = exports.isRemoteModuleEnabled = void 0;
exports.initialize = exports.isInitialized = exports.enable = exports.isRemoteModuleEnabled = void 0;
const events_1 = require("events");

@@ -349,2 +349,6 @@ const objects_registry_1 = __importDefault(require("./objects-registry"));

let initialized = false;
function isInitialized() {
return initialized;
}
exports.isInitialized = isInitialized;
function initialize() {

@@ -351,0 +355,0 @@ if (initialized)

{
"name": "@electron/remote",
"version": "2.0.12",
"version": "2.1.0",
"main": "renderer/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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