
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
effector-form-solid
Advanced tools
yarn add effector-form-solid or npm install effector-form-solid
import { useForm, createForm } from "effector-form-solid";
const loginForm = createForm({
fields: {
email: {
init: "",
rules: [
{
name: "email",
validator: (value) => ({
isValid: /\S+@\S+\.\S+/.test(value),
errorText: "Incorrect email",
}),
},
],
validateOn: ["blur"],
},
password: {
init: "",
rules: [
{
name: "required",
validator: (value) => ({
isValid: value.length > 0,
errorText: "This field is required",
}),
},
],
validateOn: ["blur"],
},
},
validateOn: ["submit"],
});
export const Login = () => {
const { submit, fields } = useForm(loginForm);
return (
<form onSubmit={submit}>
<input
type="text"
name="email"
value={fields.email.value()}
onInput={(e) => fields.email.onChange(e.target.value)}
onBlur={fields.email.onBlur}
/>
<p>{fields.email.errorText()}</p>
<input
type="password"
name="password"
value={fields.password.value()}
onInput={(e) => fields.password.onChange(e.target.value)}
onBlur={fields.password.onBlur}
/>
<p>{fields.password.errorText()}</p>
<button type="submit">Submit</button>
</form>
);
};
import { useFormSignals, createForm } from "effector-form-solid";
const fullNameForm = createForm({
fields: {
firstName: {
init: "",
},
secondName: {
init: "",
},
lastName: {
init: "",
},
age: {
init: "",
},
},
validateOn: ["submit"],
});
export const Login = () => {
const fields = useFormSignals(fullNameForm);
console.log("useFormSignals", fields);
return (
<form
onSubmit={(e) => {
e.preventDefault();
fullNameForm.submit();
}}
>
<input
type="text"
name="firstName"
value={fields.firstName.value()}
onInput={(e) => fields.firstName.onChange(e.target.value)}
onBlur={fields.firstName.onBlur}
/>
<br />
<input
type="text"
name="secondName"
value={fields.secondName.value()}
onInput={(e) => fields.secondName.onChange(e.target.value)}
onBlur={fields.secondName.onBlur}
/>
<br />
<button type="submit">Submit</button>
</form>
);
};
const fullNameForm = createForm({
fields: {
firstName: {
init: "",
},
secondName: {
init: "",
},
lastName: {
init: "",
},
age: {
init: "",
},
},
validateOn: ["submit"],
});
const fields = useFormSignals(fullNameForm, ["firstName", "secondName"]);
const { fields } = useForm(fullNameForm, ["firstName", "secondName"]);
// fields => { firstName: {...}, secondName: {...} }
import { useFormField, createForm } from "effector-form-solid";
const nameForm = createForm({
fields: {
firstName: {
init: "",
},
secondName: {
init: "",
},
},
validateOn: ["submit"],
});
export const Login = () => {
const { onChangeField: onChangeFirstName, value: firstNameValue } =
useFormField(nameForm, "firstName");
const { onChangeField: onChangeSecondName, value: secondNameValue } =
useFormField(nameForm, "secondName");
return (
<form
onSubmit={(e) => {
e.preventDefault();
nameForm.submit();
}}
>
<input
type="text"
name="firstName"
value={firstNameValue()}
onInput={onChangeFirstName}
/>
<br />
<input
type="text"
name="secondName"
value={secondNameValue()}
onInput={onChangeSecondName}
/>
<br />
<button type="submit">Submit</button>
</form>
);
};
FAQs
Effector Form by 42-px for Solidjs
The npm package effector-form-solid receives a total of 3 weekly downloads. As such, effector-form-solid popularity was classified as not popular.
We found that effector-form-solid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.