]> source.dussan.org Git - jquery.git/commit
Core: Use named exports in `src/`
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 12 Sep 2023 00:27:19 +0000 (02:27 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 00:27:19 +0000 (02:27 +0200)
commitf75daab09102a4dd5107deadb55d4a169f86254a
tree71e7b9076d61d7aed7569f51c57b8651e9c16bfc
parent42e50f8c21fbfd08092ad81add4ac38982ef0841
Core: Use named exports in `src/`

The `default` export is treated differently across tooling when transpiled
to CommonJS - tools differ on whether `module.exports` represents the full
module object or just its default export. Switch `src/` modules to named
exports for tooling consistency.

Fixes gh-5262
Closes gh-5292
136 files changed:
build/tasks/build.js
src/ajax.js
src/ajax/binary.js
src/ajax/jsonp.js
src/ajax/load.js
src/ajax/script.js
src/ajax/var/location.js
src/ajax/var/nonce.js
src/ajax/var/rquery.js
src/ajax/xhr.js
src/attributes.js
src/attributes/attr.js
src/attributes/classes.js
src/attributes/prop.js
src/attributes/val.js
src/callbacks.js
src/core.js
src/core/DOMEval.js
src/core/access.js
src/core/camelCase.js
src/core/init.js
src/core/isArrayLike.js
src/core/isAttached.js
src/core/isObviousHtml.js
src/core/nodeName.js
src/core/parseHTML.js
src/core/parseXML.js
src/core/ready-no-deferred.js
src/core/ready.js
src/core/readyException.js
src/core/stripAndCollapse.js
src/core/toType.js
src/core/var/rsingleTag.js
src/css.js
src/css/adjustCSS.js
src/css/cssCamelCase.js
src/css/curCSS.js
src/css/finalPropName.js
src/css/hiddenVisibleSelectors.js
src/css/isAutoPx.js
src/css/showHide.js
src/css/support.js
src/css/var/cssExpand.js
src/css/var/getStyles.js
src/css/var/isHiddenWithinTree.js
src/css/var/rcustomProp.js
src/css/var/rnumnonpx.js
src/css/var/swap.js
src/data.js
src/data/Data.js
src/data/var/acceptData.js
src/data/var/dataPriv.js
src/data/var/dataUser.js
src/deferred.js
src/deferred/exceptionHook.js
src/deprecated.js
src/deprecated/ajax-event-alias.js
src/deprecated/event.js
src/dimensions.js
src/effects.js
src/effects/Tween.js
src/effects/animatedSelector.js
src/event.js
src/event/trigger.js
src/exports/amd.js
src/exports/global.js
src/jquery.js
src/manipulation.js
src/manipulation/_evalUrl.js
src/manipulation/buildFragment.js
src/manipulation/domManip.js
src/manipulation/getAll.js
src/manipulation/setGlobalEval.js
src/manipulation/var/rscriptType.js
src/manipulation/var/rtagName.js
src/manipulation/wrapMap.js
src/offset.js
src/queue.js
src/queue/delay.js
src/selector-native.js
src/selector.js
src/selector/createCache.js
src/selector/escapeSelector.js
src/selector/filterMatchExpr.js
src/selector/preFilter.js
src/selector/rbuggyQSA.js
src/selector/selectorError.js
src/selector/support.js
src/selector/testContext.js
src/selector/toSelector.js
src/selector/tokenize.js
src/selector/unescapeSelector.js
src/selector/uniqueSort.js
src/selector/var/attributes.js
src/selector/var/booleans.js
src/selector/var/identifier.js
src/selector/var/matches.js
src/selector/var/pseudos.js
src/selector/var/rcomma.js
src/selector/var/rdescend.js
src/selector/var/rleadingCombinator.js
src/selector/var/rpseudo.js
src/selector/var/rsibling.js
src/serialize.js
src/traversing.js
src/traversing/findFilter.js
src/traversing/var/dir.js
src/traversing/var/rneedsContext.js
src/traversing/var/siblings.js
src/var/ObjectFunctionString.js
src/var/arr.js
src/var/class2type.js
src/var/document.js
src/var/documentElement.js
src/var/flat.js
src/var/fnToString.js
src/var/getProto.js
src/var/hasOwn.js
src/var/indexOf.js
src/var/isIE.js
src/var/isWindow.js
src/var/pnum.js
src/var/pop.js
src/var/push.js
src/var/rcheckableType.js
src/var/rcssNum.js
src/var/rnothtmlwhite.js
src/var/rtrim.js
src/var/slice.js
src/var/sort.js
src/var/splice.js
src/var/support.js
src/var/toString.js
src/var/whitespace.js
src/wrap.js
test/jquery.js