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

@govuk-react/label

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/label - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

src/__snapshots__/test.tsx.snap

3

es/index.js
// https://github.com/alphagov/govuk-frontend/tree/main/src/govuk/components/
import styled from 'styled-components';
import React from 'react';
import PropTypes from 'prop-types';
import { ERROR_COLOUR } from 'govuk-colours';

@@ -13,3 +12,3 @@ import { SPACING } from '@govuk-react/constants';

displayName: "src__StyledLabel",
componentId: "sc-14n2scx-0"
componentId: "iqzvxn-0"
})({

@@ -16,0 +15,0 @@ display: 'flex',

@@ -10,4 +10,2 @@ "use strict";

var _propTypes = _interopRequireDefault(require("prop-types"));
var _govukColours = require("govuk-colours");

@@ -27,3 +25,3 @@

displayName: "src__StyledLabel",
componentId: "sc-14n2scx-0"
componentId: "iqzvxn-0"
})({

@@ -30,0 +28,0 @@ display: 'flex',

{
"name": "@govuk-react/label",
"version": "0.9.0",
"version": "0.9.1",
"dependencies": {
"@govuk-react/constants": "^0.9.0",
"@govuk-react/lib": "^0.9.0",
"@govuk-react/constants": "^0.9.1",
"@govuk-react/lib": "^0.9.1",
"govuk-colours": "^1.1.0"

@@ -15,4 +15,4 @@ },

"build": "yarn build:lib && yarn build:es",
"build:lib": "rimraf lib && babel src -d lib --source-maps --config-file ../../babel.config.js",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src -d es --source-maps --config-file ../../babel.config.js",
"build:lib": "rimraf lib && babel src -x .js,jsx,.ts,.tsx -d lib --source-maps --config-file ../../babel.config.js",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src -x .js,jsx,.ts,.tsx -d es --source-maps --config-file ../../babel.config.js",
"docs": "doc-component ./lib/index.js ./README.md"

@@ -19,0 +19,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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