Socket
Socket
Sign inDemoInstall

@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 1.2.1 to 1.2.2

12

form.js

@@ -25,3 +25,5 @@ 'use strict';

validated: (_lastResult$state$val = lastResult === null || lastResult === void 0 || (_lastResult$state = lastResult.state) === null || _lastResult$state === void 0 ? void 0 : _lastResult$state.validated) !== null && _lastResult$state$val !== void 0 ? _lastResult$state$val : {},
key: getDefaultKey(defaultValue),
key: !initialized ? getDefaultKey(defaultValue) : _rollupPluginBabelHelpers.objectSpread2({
'': util.generateId()
}, getDefaultKey(defaultValue)),
// The `lastResult` should comes from the server which we won't expect the error to be null

@@ -45,5 +47,3 @@ // We can consider adding a warning if it happens

return result;
}, {
[prefix !== null && prefix !== void 0 ? prefix : '']: util.generateId()
});
}, {});
}

@@ -152,3 +152,5 @@ function setFieldsValidated(meta, fields) {

meta.value = value;
meta.key = getDefaultKey(value);
meta.key = _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, getDefaultKey(value)), {}, {
'': util.generateId()
});
return;

@@ -155,0 +157,0 @@ }

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

"license": "MIT",
"version": "1.2.1",
"version": "1.2.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