Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

babel-plugin-encours

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-encours - npm Package Compare versions

Comparing version
0.0.6
to
0.0.7
+1
-1
package.json
{
"name": "babel-plugin-encours",
"version": "0.0.6",
"version": "0.0.7",
"description": "A small plugin to transpile jsx for the encours framework",

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

@@ -54,2 +54,3 @@ module.exports = function (babel) {

if (child.type === "JSXText") {
child.value = child.value.replace("\n", "").trim();
if (!child.value.includes("\n")) {

@@ -56,0 +57,0 @@ childArray.push(child);