New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/text-area

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/text-area - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

6

es/index.js

@@ -5,3 +5,3 @@ var _styled;

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

@@ -21,3 +21,3 @@ // https://github.com/alphagov/govuk-frontend/tree/master/src/components/textarea

styled('textarea', {
target: "e4u1u2g0",
target: "en5ebye0",
label: "TextAreaField"

@@ -86,3 +86,3 @@ })((_styled = {

input = _ref2.input,
props = _objectWithoutProperties(_ref2, ["children", "hint", "meta", "input"]);
props = _objectWithoutPropertiesLoose(_ref2, ["children", "hint", "meta", "input"]);

@@ -89,0 +89,0 @@ return React.createElement(Label, _extends({

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

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

@@ -36,3 +36,3 @@ var TextAreaField =

(0, _reactEmotion.default)('textarea', {
target: "e4u1u2g0",
target: "en5ebye0",
label: "TextAreaField"

@@ -103,3 +103,3 @@ })((_styled = {

input = _ref2.input,
props = _objectWithoutProperties(_ref2, ["children", "hint", "meta", "input"]);
props = _objectWithoutPropertiesLoose(_ref2, ["children", "hint", "meta", "input"]);

@@ -106,0 +106,0 @@ return _react.default.createElement(_label.default, _extends({

{
"name": "@govuk-react/text-area",
"version": "0.3.1",
"version": "0.4.0",
"dependencies": {
"@govuk-react/constants": "^0.3.1",
"@govuk-react/error-text": "^0.3.1",
"@govuk-react/hint-text": "^0.3.1",
"@govuk-react/hoc": "^0.3.1",
"@govuk-react/label": "^0.3.1",
"@govuk-react/label-text": "^0.3.1",
"@govuk-react/constants": "^0.4.0",
"@govuk-react/error-text": "^0.4.0",
"@govuk-react/hint-text": "^0.4.0",
"@govuk-react/hoc": "^0.4.0",
"@govuk-react/label": "^0.4.0",
"@govuk-react/label-text": "^0.4.0",
"govuk-colours": "^1.0.3"

@@ -15,3 +15,2 @@ },

"emotion": ">=9",
"prop-types": ">=15",
"react": ">=16.2.0",

@@ -21,5 +20,5 @@ "react-emotion": ">=9"

"scripts": {
"build": "npm run build:lib && npm run build:es",
"build:lib": "rimraf lib && babel src -d lib --source-maps",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src -d es --source-maps",
"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",
"docs": "doc-component ./lib/index.js ./README.md"

@@ -31,3 +30,3 @@ },

"license": "MIT",
"homepage": "https://github.com/UKHomeOffice/govuk-react/tree/master/components/text-area",
"homepage": "https://github.com/govuk-react/govuk-react/tree/master/components/text-area",
"description": "Styled textarea supporting additional parameters via props.",

@@ -34,0 +33,0 @@ "private": false,

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

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