@govuk-react/search-box
Advanced tools
Comparing version 0.2.7 to 0.2.12
@@ -102,5 +102,2 @@ 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; } | ||
}; | ||
SearchBox.propTypes = process.env.NODE_ENV !== "production" ? { | ||
placeholder: PropTypes.string | ||
} : {}; | ||
export default withWhiteSpace({ | ||
@@ -107,0 +104,0 @@ marginBottom: 0 |
@@ -115,5 +115,2 @@ "use strict"; | ||
}; | ||
SearchBox.propTypes = process.env.NODE_ENV !== "production" ? { | ||
placeholder: _propTypes.default.string | ||
} : {}; | ||
@@ -120,0 +117,0 @@ var _default = (0, _hoc.withWhiteSpace)({ |
{ | ||
"name": "@govuk-react/search-box", | ||
"version": "0.2.7", | ||
"version": "0.2.12", | ||
"dependencies": { | ||
@@ -26,4 +26,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/search-box", | ||
"description": "Styled input and button, also accepting placeholder text.", | ||
"private": false, | ||
@@ -30,0 +30,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
36335
405