use-query-params
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -79,3 +79,3 @@ import * as React from 'react'; | ||
decodedValueCacheRef.current = latestValue; // keep cache in sync | ||
newEncodedValue = newValue(latestValue); | ||
newEncodedValue = paramConfig.encode(newValue(latestValue)); | ||
} | ||
@@ -82,0 +82,0 @@ else { |
@@ -98,3 +98,3 @@ import * as React from 'react'; | ||
decodedValuesCacheRef.current = latestValues; // keep cache in sync | ||
encodedChanges = changes(latestValues); | ||
encodedChanges = encodeQueryParams(paramConfigMap, changes(latestValues)); | ||
} | ||
@@ -101,0 +101,0 @@ else { |
@@ -81,3 +81,3 @@ "use strict"; | ||
decodedValueCacheRef.current = latestValue; // keep cache in sync | ||
newEncodedValue = newValue(latestValue); | ||
newEncodedValue = paramConfig.encode(newValue(latestValue)); | ||
} | ||
@@ -84,0 +84,0 @@ else { |
@@ -100,3 +100,3 @@ "use strict"; | ||
decodedValuesCacheRef.current = latestValues; // keep cache in sync | ||
encodedChanges = changes(latestValues); | ||
encodedChanges = serialize_query_params_1.encodeQueryParams(paramConfigMap, changes(latestValues)); | ||
} | ||
@@ -103,0 +103,0 @@ else { |
{ | ||
"name": "use-query-params", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "React Hook for managing state in URL query parameters with easy serialization.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94631