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

@rpxl/recast

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpxl/recast - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

2

dist/cjs/recast.js

@@ -52,3 +52,3 @@ "use strict";

: className.concat(" ", props.className || "");
return (react_1.default.createElement(Component, { ref: ref, className: mergedClassNames, rcx: rcx, ...propsWithoutModifiersAndVariants }));
return (react_1.default.createElement(Component, { ref: ref, className: mergedClassNames, ...(Object.keys(rcx).length > 0 && { rcx }), ...propsWithoutModifiersAndVariants }));
});

@@ -55,0 +55,0 @@ ComponentWithThemedProps.displayName = Component.displayName;

@@ -26,3 +26,3 @@ import React, { forwardRef } from "react";

: className.concat(" ", props.className || "");
return (React.createElement(Component, { ref: ref, className: mergedClassNames, rcx: rcx, ...propsWithoutModifiersAndVariants }));
return (React.createElement(Component, { ref: ref, className: mergedClassNames, ...(Object.keys(rcx).length > 0 && { rcx }), ...propsWithoutModifiersAndVariants }));
});

@@ -29,0 +29,0 @@ ComponentWithThemedProps.displayName = Component.displayName;

{
"name": "@rpxl/recast",
"license": "MIT",
"version": "4.0.1",
"version": "4.0.2",
"type": "module",

@@ -6,0 +6,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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