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

remix-forms

Package Overview
Dependencies
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-forms - npm Package Compare versions

Comparing version 0.17.4-test.0 to 0.18.2

.npmignore

2

dist/index.d.ts

@@ -5,3 +5,3 @@ import * as React from 'react';

import { UseFormRegisterReturn, ValidationMode, UseFormReturn } from 'react-hook-form';
import { DomainFunction } from 'remix-domains';
import { DomainFunction } from 'domain-functions';
import { Transition } from '@remix-run/react/dist/transition';

@@ -8,0 +8,0 @@

@@ -662,8 +662,8 @@ "use strict";

var import_server_runtime = require("@remix-run/server-runtime");
var import_remix_domains2 = require("remix-domains");
var import_domain_functions2 = require("domain-functions");
// src/getFormValues.ts
var import_remix_domains = require("remix-domains");
var import_domain_functions = require("domain-functions");
async function getFormValues(request, schema) {
const input = await (0, import_remix_domains.inputFromForm)(request);
const input = await (0, import_domain_functions.inputFromForm)(request);
let values = {};

@@ -693,3 +693,3 @@ for (const key in schema.shape) {

errors: {
...(0, import_remix_domains2.errorMessagesForSchema)(result.inputErrors, schema),
...(0, import_domain_functions2.errorMessagesForSchema)(result.inputErrors, schema),
_global: result.errors.length || result.environmentErrors.length ? [...result.errors, ...result.environmentErrors].map((error) => error.message) : void 0

@@ -696,0 +696,0 @@ },

{
"name": "remix-forms",
"version": "0.17.4-test.0",
"version": "0.18.2",
"description": "Magically create forms + actions in Remix!",

@@ -8,3 +8,24 @@ "main": "./dist/index.js",

"types": "./dist/index.d.ts",
"files": [
"*",
"./dist/*"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/SeasonedSoftware/remix-forms.git"
},
"bugs": {
"url": "https://github.com/SeasonedSoftware/remix-forms/issues"
},
"homepage": "https://remix-forms.seasoned.cc",
"keywords": [
"remix",
"forms",
"actions",
"zod",
"typescript",
"react-hook-form"
],
"author": "Daniel Weinmann",
"scripts": {

@@ -21,3 +42,3 @@ "build": "tsup ./src/index.ts --format esm,cjs --dts --external react",

"react-hook-form": ">=7.27",
"remix-domains": ">=0.2.0",
"domain-functions": ">=1.0.0",
"zod": ">=3.12"

@@ -24,0 +45,0 @@ },

import { json, redirect } from '@remix-run/server-runtime'
import type { DomainFunction } from 'remix-domains'
import { errorMessagesForSchema } from 'remix-domains'
import type { DomainFunction } from 'domain-functions'
import { errorMessagesForSchema } from 'domain-functions'
import type { SomeZodObject, z } from 'zod'

@@ -5,0 +5,0 @@ import { getFormValues } from './getFormValues'

@@ -1,2 +0,2 @@

import { inputFromForm } from 'remix-domains'
import { inputFromForm } from 'domain-functions'
import type { SomeZodObject, z } from 'zod'

@@ -3,0 +3,0 @@ import { coerceValue } from './coercions'

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