![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
react-survey
Advanced tools
React-Survey is a React component to add user-friendly, unobstrusive surveys to your site.
Check a live Demo here http://react-survey.surge.sh/
npm i -S react-survey
yarn add react-survey
const fakeSurvey = {
name: "Satisfaction survey",
id: 1,
random: true,
timeBeforePopUp: 5, // in seconds
postUrl: "http://localhost:3000/surveys/1/participations",
questions: [
{
text: "Are you finding the documentation site complete?",
choices: [
{
text: "Yes",
id: 1,
},
{
text: "No",
id: 2,
},
],
multiple: false,
id: 1,
required: true,
},
{
text:
"Do you think we should make a vanilla JS version of this component?",
choices: [
{
text: "Yes",
id: 3,
},
{
text: "No",
id: 4,
},
],
multiple: false,
id: 2,
required: true,
},
{
text: "What functionnalities would you like to see next?",
choices: [
{
text: "Overidable styles",
id: 5,
},
{
text: "Deactivate localStorage (for dev)",
id: 6,
},
{
text: "Animations",
id: 7,
},
],
multiple: true,
id: 3,
required: false,
},
],
ending: {
text:
`Thank your for your answers!
You can leave you email if you would like to maybe be contacted to answer some questions and help us.
You can also write any comment you might have in the box below.`,
email: true,
freeSpeech: true,
},
messages: {
errorMessage: "You have to select an option",
welcomeMessage:
"Hello! Thanks for checking us out! If you could answer these 3 easy questions it would really mean the world to us :)",
nextMessage: "Next",
endMessage: "End",
endingMessage: "Thank you! Your answers have been recorded.",
closeMessage: "Close",
},
};
export { fakeSurvey };
import React from "react";
import ReactDOM from "react-dom";
import ReactSurvey from "react-survey";
import { fakeSurvey } from "./data";
ReactDOM.render(
<ReactSurvey data={fakeSurvey} />,
document.getElementById("root")
);
FAQs
A small but powerful component to make unobstrusive survey pup-up
The npm package react-survey receives a total of 0 weekly downloads. As such, react-survey popularity was classified as not popular.
We found that react-survey 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.