Skip to content

Commit e053464

Browse files
committed
Dependency Updates
1 parent 8c29396 commit e053464

6 files changed

Lines changed: 291 additions & 255 deletions

File tree

esm/jquery-param.es.min.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/**
2-
* @preserve jquery-param (c) KNOWLEDGECODE | MIT
3-
*/
4-
export default function(e){var n=[],o=function(e,o){o=null==(o="function"==typeof o?o():o)?"":o,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(o)},r=function(e,t){var f,i,l;if(e)if(Array.isArray(t))for(f=0,i=t.length;f<i;f++)r(e+"["+("object"==typeof t[f]&&t[f]?f:"")+"]",t[f]);else if("[object Object]"===String(t))for(l in t)r(e+"["+l+"]",t[l]);else o(e,t);else if(Array.isArray(t))for(f=0,i=t.length;f<i;f++)o(t[f].name,t[f].value);else for(l in t)r(l,t[l]);return n};return r("",e).join("&")}
1+
/*
2+
jquery-param (c) KNOWLEDGECODE | MIT
3+
*/
4+
export default function(h){function d(c,a){var e;if(c)if(Array.isArray(a)){var b=0;for(e=a.length;b<e;b++)d(c+"["+("object"===typeof a[b]&&a[b]?b:"")+"]",a[b])}else if("[object Object]"===String(a))for(b in a)d(c+"["+b+"]",a[b]);else g(c,a);else if(Array.isArray(a))for(b=0,e=a.length;b<e;b++)g(a[b].name,a[b].value);else for(b in a)d(b,a[b]);return f}function g(c,a){a="function"===typeof a?a():a;a=null===a?"":void 0===a?"":a;f[f.length]=encodeURIComponent(c)+"="+encodeURIComponent(a)}var f=
5+
[];return d("",h).join("&")}

jquery-param.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function (global, factory) {
22
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
33
typeof define === 'function' && define.amd ? define(factory) :
4-
(global = global || self, global.param = factory());
4+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.param = factory());
55
}(this, (function () { 'use strict';
66

77
/**

jquery-param.min.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)