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

@conform-to/dom

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conform-to/dom - npm Package Compare versions

Comparing version 0.8.0-pre.1 to 0.8.0-pre.2

7

formdata.js

@@ -122,4 +122,7 @@ 'use strict';

function getErrors(validationMessage) {
var _validationMessage$sp;
return (_validationMessage$sp = validationMessage === null || validationMessage === void 0 ? void 0 : validationMessage.split(String.fromCharCode(31))) !== null && _validationMessage$sp !== void 0 ? _validationMessage$sp : [];
// Empty string should be considered no error as well
if (!validationMessage) {
return [];
}
return validationMessage.split(String.fromCharCode(31));
}

@@ -126,0 +129,0 @@

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "0.8.0-pre.1",
"version": "0.8.0-pre.2",
"main": "index.js",

@@ -9,0 +9,0 @@ "module": "index.mjs",

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