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

@govuk-react/error-text

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/error-text - npm Package Compare versions

Comparing version 0.2.7 to 0.2.12

4

es/index.js

@@ -40,6 +40,2 @@ var _styled;

ErrorText.propTypes = process.env.NODE_ENV !== "production" ? {
/** Text to describe the error */
children: PropTypes.string.isRequired
} : {};
export default withWhiteSpace({

@@ -46,0 +42,0 @@ marginBottom: 0

@@ -53,7 +53,2 @@ "use strict";

ErrorText.propTypes = process.env.NODE_ENV !== "production" ? {
/** Text to describe the error */
children: _propTypes.default.string.isRequired
} : {};
var _default = (0, _hoc.withWhiteSpace)({

@@ -60,0 +55,0 @@ marginBottom: 0

6

package.json
{
"name": "@govuk-react/error-text",
"version": "0.2.7",
"version": "0.2.12",
"dependencies": {

@@ -25,4 +25,4 @@ "@govuk-react/constants": "^0.2.7",

"license": "MIT",
"homepage": "https://github.com/UKHomeOffice/govuk-react#readme",
"description": "govuk-react: A port of the govuk-frontend components for React using Emotion.",
"homepage": "https://github.com/UKHomeOffice/govuk-react/tree/master/components/error-text",
"description": "Renders a styled span element containing children provided.",
"private": false,

@@ -29,0 +29,0 @@ "publishConfig": {

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