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

electron-mocha

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-mocha - npm Package Compare versions

Comparing version 13.0.1 to 13.1.0

5

CHANGELOG.md

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

13.1.0 / 2025-01-16
-------------------
- Updated to latest Mocha.js
- Fallback to legacy requires if context isolation is disabled in renderer
13.0.0 / 2024-07-23

@@ -2,0 +7,0 @@ -------------------

12

lib/mocha.js

@@ -36,3 +36,7 @@ 'use strict'

await handleRequires(argv.require)
if (process.type === 'browser' || process.contextIsolated) {
await handleRequires(argv.require)
} else {
handleLegacyRequires(argv.require)
}

@@ -50,3 +54,7 @@ if (validateLegacyPlugin) {

mocha.files = collectFiles(argv).files
await mocha.loadFilesAsync()
if (process.type === 'browser' || process.contextIsolated) {
await mocha.loadFilesAsync()
}
await mocha.run(done)

@@ -53,0 +61,0 @@ }

8

package.json
{
"name": "electron-mocha",
"version": "13.0.1",
"version": "13.1.0",
"description": "Mocha tests in Electron.",

@@ -53,8 +53,8 @@ "main": "lib/main.js",

"electron-window": "^0.8.0",
"mocha": "^10.7.0",
"which": "^4.0.0",
"mocha": "^11.0.1",
"which": "^5.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"electron": "^31.1.0",
"electron": "^34.0.0",
"standard": "^17.1.0"

@@ -61,0 +61,0 @@ },

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