@electron/remote
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -340,3 +340,5 @@ "use strict"; | ||
if (initialized) | ||
throw new Error('electron-remote has already been initialized'); | ||
throw new Error('@electron/remote has already been initialized'); | ||
if (Number(process.versions.electron.split('.')[0]) >= 14) | ||
throw new Error('@electron/remote >= 2.x is required for Electron >= 14. See https://github.com/electron/remote/blob/main/docs/migration-2.md for migration instructions.'); | ||
initialized = true; | ||
@@ -343,0 +345,0 @@ handleRemoteCommand("REMOTE_BROWSER_WRONG_CONTEXT_ERROR" /* BROWSER_WRONG_CONTEXT_ERROR */, function (event, contextId, passedContextId, id) { |
{ | ||
"name": "@electron/remote", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "renderer/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69088
1395