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

electron-jsx

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-jsx - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

11

index.js

@@ -18,2 +18,3 @@ /**

readFile,
rmdir,
} = require("fs");

@@ -160,3 +161,3 @@ const path = require("path");

const filename = path.basename(relativeInputPath);
const isScript = filename.includes(".js") || filename.includes(".jsx");
const isScript = filename.endsWith(".js") || filename.endsWith(".jsx");
const outputFilePath = path

@@ -287,3 +288,9 @@ .join(buildDir, relativeInputPath)

) {
await callbackToPromise(unlink, [path.join(output, file)]);
const inspect = await callbackToPromise(stat, [path.join(output, file)]);
if (inspect.isDirectory())
await callbackToPromise(rmdir, [
path.join(output, file),
{ recursive: true },
]);
else await callbackToPromise(unlink, [path.join(output, file)]);
}

@@ -290,0 +297,0 @@ }

2

package.json
{
"name": "electron-jsx",
"version": "0.0.41",
"version": "0.0.42",
"description": "Real Time transpiler for Electron apps using Babel. You can use node modules here",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,3 +13,3 @@ # Electron-jsx

This is BETA version, you can use that with issues/limitations, if you find any bug or you want to say how to fix something, you can go to https://github.com/mdjfs/electron-jsx/issues and if you can do a pull request
This is a BETA version, you can use that with issues/limitations, if you find any bug or you want to say how to fix something, you can go to https://github.com/mdjfs/electron-jsx/issues and if you can do a pull request

@@ -16,0 +16,0 @@ If you want to be a contributor and help, you will benefit many developers by making the library more stable

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