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

karma-electron

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-electron - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

2

CHANGELOG.md
# karma-electron changelog
4.1.0 - Added loading of `electron` package due to `electron-prebuilt` deprecation via @MLefebvreICO in #10
4.0.0 - Added submodules support by using local `require` and documenting `useIframe` usage (now supported by `karma@1.1.0` for Electron)

@@ -3,0 +5,0 @@

15

lib/karma-electron-launcher.js

@@ -5,6 +5,13 @@ // Load in our dependencies

try {
electronPrebuilt = require('electron-prebuilt');
} catch (err) {
console.error('Expected `electron-prebuilt` to be installed but it was not. Please install it.');
throw err;
electronPrebuilt = require('electron');
} catch (electronNotFoundErr) {
try {
electronPrebuilt = require('electron-prebuilt');
// https://github.com/electron-userland/electron-prebuilt/tree/v1.3.3#installation
console.warn('WARN: `electron-prebuilt` has been deprecated as of `electron-prebuilt@1.3.1`. ' +
'Please move to `electron` instead');
} catch (electronPrebuiltNotFoundErr) {
console.error('Expected `electron` to be installed but it was not. Please install it.');
throw electronNotFoundErr;
}
}

@@ -11,0 +18,0 @@

{
"name": "karma-electron",
"description": "Karma launcher and preprocessor for Electron",
"version": "4.0.0",
"version": "4.1.0",
"homepage": "https://github.com/twolfson/karma-electron",

@@ -49,3 +49,3 @@ "author": {

"cross-env": "~1.0.7",
"electron-prebuilt": "~0.37.4",
"electron": "~1.3.3",
"foundry": "~4.0.3",

@@ -52,0 +52,0 @@ "foundry-release-git": "~2.0.2",

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