Socket
Socket
Sign inDemoInstall

react-google-forms-hooks

Package Overview
Dependencies
149
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

8

dist/index.js

@@ -191,3 +191,9 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

if (formData[key]) {
urlParams.append(formatQuestionName(key), formData[key]);
if (formData[key].constructor === Array) {
formData[key].forEach(function (answer) {
urlParams.append(formatQuestionName(key), answer);
});
} else {
urlParams.append(formatQuestionName(key), formData[key]);
}
}

@@ -194,0 +200,0 @@ });

@@ -189,3 +189,9 @@ import { useForm } from 'react-hook-form';

if (formData[key]) {
urlParams.append(formatQuestionName(key), formData[key]);
if (formData[key].constructor === Array) {
formData[key].forEach(function (answer) {
urlParams.append(formatQuestionName(key), answer);
});
} else {
urlParams.append(formatQuestionName(key), formData[key]);
}
}

@@ -192,0 +198,0 @@ });

2

package.json
{
"name": "react-google-forms-hooks",
"version": "1.2.0",
"version": "1.2.1",
"description": "Library to create forms using React backed by Google Forms.",

@@ -5,0 +5,0 @@ "author": "francisconeves97",

# React Google Forms Hooks
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

@@ -118,2 +118,3 @@

<td align="center"><a href="https://lumen.media"><img src="https://avatars.githubusercontent.com/u/489221?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dominic Garms</b></sub></a><br /><a href="#ideas-dohomi" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/francisconeves97/react-google-forms-hooks/commits?author=dohomi" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/kbalisnomo"><img src="https://avatars.githubusercontent.com/u/42983430?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kyle Philip Balisnomo</b></sub></a><br /><a href="https://github.com/francisconeves97/react-google-forms-hooks/commits?author=kbalisnomo" title="Code">💻</a> <a href="https://github.com/francisconeves97/react-google-forms-hooks/issues?q=author%3Akbalisnomo" title="Bug reports">🐛</a></td>
</tr>

@@ -120,0 +121,0 @@ </table>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc