jquery-param 1.2.5 → 1.2.6

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.
@@ -1,4 +1,4 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).param=n()}(this,(function(){"use strict";
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).param=n()}(this,function(){"use strict";
2
2
  /**
3
3
  * @preserve jquery-param (c) KNOWLEDGECODE | MIT
4
- */return function(e){var n=[],o=function(e,o){o=null==(o="function"==typeof o?o():o)?"":o,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(o)},t=function(e,f){var i,r,l;if(e)if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)t(e+"["+("object"==typeof f[i]&&f[i]?i:"")+"]",f[i]);else if("[object Object]"===Object.prototype.toString.call(f))for(l in f)t(e+"["+l+"]",f[l]);else o(e,f);else if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)o(f[i].name,f[i].value);else for(l in f)t(l,f[l]);return n};return t("",e).join("&")}}));
4
+ */return function(e){var n=[],o=function(e,o){o=null==(o="function"==typeof o?o():o)?"":o,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(o)},t=function(e,f){var i,r,l;if(e)if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)t(e+"["+("object"==typeof f[i]&&f[i]?i:"")+"]",f[i]);else if("[object Object]"===Object.prototype.toString.call(f))for(l in f)t(e+"["+l+"]",f[l]);else o(e,f);else if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)o(f[i].name,f[i].value);else for(l in f)t(l,f[l]);return n};return t("",e).join("&")}});
@@ -1,4 +1,4 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).param=n()}(this,(function(){"use strict";
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).param=n()}(this,function(){"use strict";
2
2
  /**
3
3
  * @preserve jquery-param (c) KNOWLEDGECODE | MIT
4
- */return function(e){var n=[],o=function(e,o){o=null==(o="function"==typeof o?o():o)?"":o,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(o)},t=function(e,f){var i,r,l;if(e)if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)t(e+"["+("object"==typeof f[i]&&f[i]?i:"")+"]",f[i]);else if("[object Object]"===Object.prototype.toString.call(f))for(l in f)t(e+"["+l+"]",f[l]);else o(e,f);else if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)o(f[i].name,f[i].value);else for(l in f)t(l,f[l]);return n};return t("",e).join("&")}}));
4
+ */return function(e){var n=[],o=function(e,o){o=null==(o="function"==typeof o?o():o)?"":o,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(o)},t=function(e,f){var i,r,l;if(e)if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)t(e+"["+("object"==typeof f[i]&&f[i]?i:"")+"]",f[i]);else if("[object Object]"===Object.prototype.toString.call(f))for(l in f)t(e+"["+l+"]",f[l]);else o(e,f);else if(Array.isArray(f))for(i=0,r=f.length;i<r;i++)o(f[i].name,f[i].value);else for(l in f)t(l,f[l]);return n};return t("",e).join("&")}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jquery-param",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Equivalent function to jQuery.param",
5
5
  "keywords": [
6
6
  "jquery",
@@ -54,12 +54,15 @@
54
54
  "prepublishOnly": "npm run build"
55
55
  },
56
56
  "devDependencies": {
57
- "@rollup/plugin-terser": "^0.4.4",
58
- "chai": "^5.3.1",
57
+ "@rollup/plugin-terser": "^1.0.0",
58
+ "chai": "^6.2.2",
59
59
  "jquery": "^3.7.1",
60
- "jsdom": "^26.1.0",
61
- "mocha": "^11.7.1",
62
- "rollup": "^4.46.4"
60
+ "jsdom": "^28.1.0",
61
+ "mocha": "^11.3.0",
62
+ "rollup": "^4.59.0"
63
+ },
64
+ "overrides": {
65
+ "serialize-javascript": "^7.0.3"
63
66
  },
64
67
  "publishConfig": {
65
68
  "access": "public",