electron-is-dev
Advanced tools
Comparing version 1.1.0 to 1.2.0
'use strict'; | ||
const electron = require('electron'); | ||
if (typeof electron === 'string') { | ||
throw new TypeError('Not running in an Electron environment!'); | ||
} | ||
const app = electron.app || electron.remote.app; | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "electron-is-dev", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Check if Electron is running in development", | ||
@@ -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
3348
24