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

@ministryofjustice/fb-components-core

Package Overview
Dependencies
Maintainers
11
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ministryofjustice/fb-components-core - npm Package Compare versions

Comparing version 3.1.0-6 to 3.1.0-7

metadata/string/error.maxSize.fileupload.json

2

metadata/string/error.fileupload.invalid.too-large.json

@@ -6,2 +6,2 @@ {

"value": "The selected file must be smaller than {maxSize, bytes}"
}
}

@@ -6,2 +6,2 @@ {

"value": "{filename} must be smaller than {maxSize, bytes}"
}
}

@@ -9,3 +9,3 @@ {

},
"version": "3.1.0-6",
"version": "3.1.0-7",
"description": "Form Builder core components",

@@ -12,0 +12,0 @@ "main": "index.js",

@@ -21,15 +21,2 @@ {

"type": "number"
},
"accept": {
"title": "Accepted types",
"description": "Which file types to accept",
"type": "array",
"items": {
"type": "string"
}
},
"maxSize": {
"title": "Maximum size",
"description": "Maximum file size as human readable string or bytes",
"type": "string"
}

@@ -43,4 +30,7 @@ },

"$ref": "http://gov.uk/schema/v1.0.0/definition/widthclass/input"
},
{
"$ref": "http://gov.uk/schema/v1.0.0/validations#/definitions/uploadBundle"
}
]
}
}

@@ -48,2 +48,18 @@ {

},
"errorsAccept": {
"title": "Error messages for ‘Accept’",
"allOf": [
{
"$ref": "#/definitions/errorStrings"
}
]
},
"errorsMaxSize": {
"title": "Error messages for ‘Max Size’",
"allOf": [
{
"$ref": "#/definitions/errorStrings"
}
]
},
"minLength": {

@@ -285,2 +301,39 @@ "title": "Minimum length",

},
"uploadBundle": {
"properties": {
"validation": {
"title": "Validation",
"description": "Values for default validation",
"role": "validation",
"properties": {
"accept": {
"title": "Accepted types",
"description": "Which file types to accept",
"type": "array",
"items": {
"type": "string"
}
},
"maxSize": {
"title": "Maximum size",
"description": "Maximum file size as human readable string or bytes",
"type": "string"
}
}
},
"errors": {
"title": "Errors",
"description": "Strings to override for default error messages",
"role": "errorStrings",
"properties": {
"accept": {
"$ref": "#/definitions/errorsAccept"
},
"maxSize": {
"$ref": "#/definitions/errorsMaxSize"
}
}
}
}
},
"stringBundle": {

@@ -404,2 +457,2 @@ "properties": {

]
}
}
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