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

hof-behaviour-address-lookup

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hof-behaviour-address-lookup - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

3

lib/defaults.js

@@ -8,2 +8,5 @@ /* eslint max-len: 0, no-process-env: 0 */

CHANGE: 'Change',
POSTCODE_LABEL: 'Postcode',
SELECT_LABEL: 'Select the address',
ADDRESS_LABEL: 'Address',
POSTCODE_ENTERED: 'Postcode you entered: ',

@@ -10,0 +13,0 @@ POSTCODE_ERROR: {

4

lib/index.js

@@ -20,3 +20,3 @@ 'use strict';

[`${key}-postcode`]: {
label: conditionalTranslate(`fields.${key}-postcode.label`, t) || 'Postcode',
label: conditionalTranslate(`fields.${key}-postcode.label`, t) || defaults.POSTCODE_LABEL,
mixin: 'input-text-code',

@@ -27,2 +27,3 @@ validate: ['required', 'postcode'],

[`${key}-select`]: {
label: conditionalTranslate(`fields.${key}-select.label`, t) || defaults.SELECT_LABEL,
mixin: 'select',

@@ -34,2 +35,3 @@ validate: [function required(val) {

[key]: {
label: conditionalTranslate(`fields.${key}.label`, t) || defaults.ADDRESS_LABEL,
mixin: 'textarea',

@@ -36,0 +38,0 @@ validate: 'required',

{
"name": "hof-behaviour-address-lookup",
"version": "1.1.0",
"version": "1.1.1",
"description": "A HOF Behaviour for a multi-step postcode lookup",

@@ -5,0 +5,0 @@ "main": "index.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