@osimatic/helpers-js 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/network.js +1 -1
  2. package/package.json +2 -1
package/network.js CHANGED
@@ -94,7 +94,7 @@ class UrlAndQueryString {
94
94
  let params = UrlAndQueryString.parseQuery(queryString);
95
95
  //console.log(params);
96
96
  params[name] = value;
97
- return decodeURI($.param(params));
97
+ return decodeURI(new URLSearchParams(params).toString());
98
98
  }
99
99
 
100
100
  static setParamOfUrl(name, value, url) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -13,6 +13,7 @@
13
13
  "license": "ISC",
14
14
  "description": "",
15
15
  "dependencies": {
16
+ "deepmerge": "^4.3.1",
16
17
  "ilib": "^14.21",
17
18
  "libphonenumber-js": "^1.12.39",
18
19
  "ua-parser-js": "^2.0.9"