Socket
Socket
Sign inDemoInstall

clean-tag

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

clean-tag - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

.nyc_output/1333ddf52c0a0838ef9946ce600e5125.json

6

dist.js

@@ -63,5 +63,5 @@ 'use strict';

_htmlTags2.default.forEach(function (tag) {
Tag[tag] = function (props) {
return _react2.default.createElement(Tag, _extends({ is: tag }, props));
};
Tag[tag] = _react2.default.forwardRef(function (props, ref) {
return _react2.default.createElement(Tag, _extends({ ref: ref, is: tag }, props));
});
Tag[tag].displayName = 'Clean.' + tag;

@@ -68,0 +68,0 @@ });

@@ -36,3 +36,3 @@ import React from 'react'

tags.forEach(tag => {
Tag[tag] = props => React.createElement(Tag, { is: tag, ...props })
Tag[tag] = React.forwardRef((props, ref) => React.createElement(Tag, { ref, is: tag, ...props }))
Tag[tag].displayName = 'Clean.' + tag

@@ -39,0 +39,0 @@ })

{
"name": "clean-tag",
"version": "2.0.0",
"version": "2.0.1",
"description": "",

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

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