Socket
Socket
Sign inDemoInstall

use-query-params

Package Overview
Dependencies
11
Maintainers
1
Versions
41
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

5

package.json
{
"name": "use-query-params",
"version": "1.2.0",
"version": "1.2.1",
"description": "React Hook for managing state in URL query parameters with easy serialization.",

@@ -79,2 +79,3 @@ "main": "lib/index.js",

"peerDependencies": {
"query-string": "^5.1.1 || ^6 || ^7",
"react": ">=16.8.0",

@@ -84,3 +85,3 @@ "react-dom": ">=16.8.0"

"dependencies": {
"serialize-query-params": "^1.3.1"
"serialize-query-params": "^1.3.2"
},

@@ -87,0 +88,0 @@ "husky": {

4

README.md

@@ -284,4 +284,4 @@ <div align="center">

| NumericObjectParam | { key: number } | `{ foo: 1, bar: 2 }` | `?qp=foo-1_bar-2` |
| DelimitedArrayParam | string[] | `['a','b','c']` | `?qp=a_b_c'` |
| DelimitedNumericArrayParam | number[] | `[1, 2, 3]` | `?qp=1_2_3'` |
| DelimitedArrayParam | string[] | `['a','b','c']` | `?qp=a_b_c` |
| DelimitedNumericArrayParam | number[] | `[1, 2, 3]` | `?qp=1_2_3` |

@@ -288,0 +288,0 @@ **Example**

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