use-query-params
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"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": { |
@@ -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
96168
4
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addedfilter-obj@1.1.0(transitive)
+ Addedquery-string@7.1.3(transitive)
+ Addedsplit-on-first@1.1.0(transitive)
+ Addedstrict-uri-encode@2.0.0(transitive)
- Removeddecode-uri-component@0.4.1(transitive)
- Removedfilter-obj@5.1.0(transitive)
- Removedquery-string@9.0.0(transitive)
- Removedsplit-on-first@3.0.0(transitive)