New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sveltekit-superforms

Package Overview
Dependencies
Maintainers
1
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltekit-superforms - npm Package Compare versions

Comparing version

to
2.0.0-alpha.43

4

dist/client/superForm.js

@@ -189,3 +189,3 @@ import { derived, get, readonly, writable } from 'svelte/store';

!(value instanceof File) &&
!(value instanceof FileList)) {
(!browser || !(value instanceof FileList))) {
throw new SuperFormError(`Object found in form field "${key}". ` +

@@ -400,3 +400,3 @@ `Set the dataType option to "json" and add use:enhance to use nested data structures. ` +

traversePaths(Data.form, (info) => {
if (!(info.parent instanceof FileList) &&
if ((!browser || !(info.parent instanceof FileList)) &&
(info.value instanceof File || (browser && info.value instanceof FileList))) {

@@ -403,0 +403,0 @@ const dataPath = pathExists(data, info.path);

{
"name": "sveltekit-superforms",
"version": "2.0.0-alpha.42",
"version": "2.0.0-alpha.43",
"author": "Andreas Söderlund <ciscoheat@gmail.com> (https://blog.encodeart.dev)",

@@ -5,0 +5,0 @@ "description": "Making SvelteKit forms a pleasure to use!",