-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use ESM modules #426
Open
kdhttps
wants to merge
122
commits into
master
Choose a base branch
from
409_esm_upgrade
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
fece02f
chore(package.json): update commit-msg hook lib
kdhttps 79ba1ef
feat(package.json): add esm module type
kdhttps 78773ef
refactor(app-factory.test.js): add modules using esm import
kdhttps 1e4af73
refactor(rate-limiter.js): add modules using esm import
kdhttps efb146a
fix(commit-check.yml): fix github action to use commonjs
kdhttps eb8a68b
refactor(session.js): add modules using esm import
kdhttps 6d81cc3
refactor(session.js): add modules using esm import for misc
kdhttps 56d98e5
refactor(misc.js): export modules
kdhttps 695ba9d
refactor(default.js): export modules
kdhttps 1350530
refactor(config): config file rename with .cjs
kdhttps 7ddc936
refactor(misc.js): add modules using esm import
kdhttps cce4f0e
fix(session.js): memory store config
kdhttps 2287ac8
refactor(app-factory.js): add modules using esm import
kdhttps 7bc5379
refactor(logging.js): add modules using esm import
kdhttps 7ce7117
refactor(routes.js): add modules using esm import
kdhttps b75f9fb
refactor(metrics.js): add modules using esm import
kdhttps 9bbaa91
refactor(error-handler.js): add modules using esm import
kdhttps 403116d
refactor(app-factory.js): fix imports
kdhttps 38c3e10
refactor(logging.js): fix imports
kdhttps ec6f410
refactor(idp-initiated.js): add modules using esm import
kdhttps 2d5f649
refactor(providers.js): add modules using esm import
kdhttps 70f21f7
refactor(web-utils.js): add modules using esm import
kdhttps 3ca3270
refactor(idp-initiated.js): fix imports
kdhttps 29ff108
refactor(providers.js): fix imports
kdhttps 72f5e4a
refactor(logging.js): fix imports
kdhttps feb6e78
refactor(cache-provider.js): add modules using esm import
kdhttps 261f29c
refactor(openid-client-helper.js): add modules using esm import
kdhttps 5932f0c
refactor(providers.js): fix imports
kdhttps aa2f236
refactor(providers.js): fix imports
kdhttps 6d4a9b2
refactor(routes.js): fix imports
kdhttps 79f8bdb
fix(logging.js): fix __dirname problem
kdhttps 73a3459
refactor(sp-meta.js): add modules using esm import
kdhttps 2d752b9
refactor(file-utils.js): add modules using esm import
kdhttps 8e83c03
refactor(extra-passport-params.js): add modules using esm import
kdhttps 5eecb35
refactor(http-global-proxy.js): add modules using esm import
kdhttps 05552ef
refactor(cache-provider.test.js): add modules using esm import
kdhttps 232d406
refactor(cache-provider.js): export utils
kdhttps 4f5f663
refactor(routes.js): import express urlencoded
kdhttps e253f32
refactor(sp-meta.js): import express urlencoded
kdhttps 97fcdc2
refactor(session.js): add modules using esm import
kdhttps 7b76a7e
refactor(rate-limiter.js): add modules using esm import
kdhttps 0ca5166
fix(providers.js): fix dynamic importd
kdhttps adfb739
refactor(openid-client.js): add modules using esm import
kdhttps 25b8b35
refactor(helper.js): add modules using esm import
kdhttps ec2ed4f
refactor(providers.test.js): add modules using esm import
kdhttps 26f4847
refactor(init-mock.js): add modules using esm import
kdhttps f5284b4
refactor(mappings.files): exports modules using esm export
kdhttps 2ffacc1
refactor(openid-client-helper.js): add modules using esm import
kdhttps 552e485
refactor(file-utils.js): add modules using esm import and mock using …
kdhttps e227c7f
chore(package.json): add esmock lib to mock esm modules
kdhttps 53d7600
refactor(misc.test.js): add modules using esm import and mock using e…
kdhttps 5299d73
chore(package.json): remove nyc and add c8 for esm file coverage
kdhttps 62b71c1
refactor(metrics.js): add modules using esm import
kdhttps e4fa630
refactor(loggin.test.js): add modules using esm import
kdhttps f03eeed
refactor(idp-initiated.test.js): add modules using esm import
kdhttps 6cfadaa
refactor(http-global-proxy.test.js): add modules using esm import
kdhttps cdce659
refactor(error-handler.test.js): add modules using esm import
kdhttps c76eba9
refactor(configDiscovery.js): add modules using esm import
kdhttps e9de775
refactor(uma.js): add modules using esm import
kdhttps 69ab1b3
refactor(config.test.js): add modules using esm import
kdhttps 672294f
refactor(cache-provider.test.js): add modules using esm import
kdhttps 65fd800
refactor(app-factory.test.js): add modules using esm import
kdhttps 4814c78
refactor(app.js): add modules using esm import
kdhttps fb24d36
chore(package.json): update got and esmock
kdhttps ec1d522
refactor(uma.js): esm import and update test cases
kdhttps 9da046c
test(uma.test.js): fix ticket and token api test
kdhttps f73437b
test(uma.test.js): fix request api test
kdhttps f9068e2
test(uma.test.js): fix getClientAssertionJWTToken api test
kdhttps 68313d5
test(openid-client.test.js): refactor test and mock jose
kdhttps 02afdb6
test(openid-client.test.js): fix getIssuer api
kdhttps 5a706ad
test(openid-client.test.js): refactor getClient test and mock jose
kdhttps 331e08a
chore(package.json): add esmock loader
kdhttps 856c648
refactor(app.js): fix esm imports and json read
kdhttps 6e0874b
refactor(app.init.spec.js): fix esm imports and json read
kdhttps cf8bd9b
refactor(start-server-hook.js): fix esm imports and json read
kdhttps 7b0c8ae
refactor(file-utils.spec.js): fix esm imports and json read
kdhttps 6f79f09
refactor(http-global-proxy.spec.js): fix esm imports and json read
kdhttps 5e77e54
refactor(loggin.spec.js): fix esm imports
kdhttps 80bcd51
refactor(metrics.spec.js): fix esm imports
kdhttps 8970393
refactor(openid-client-helper.spec.js): fix esm imports
kdhttps a3036d4
refactor(providers.spec.js): fix esm imports
kdhttps e498e6c
refactor(routes.spec.js): fix esm imports
kdhttps 71bbc34
refactor(session.spec.js): fix esm imports
kdhttps 3ee69a3
fix(*.spec.js): fix small errors on tests
kdhttps f2d6139
chore(package.json): upgrade cucumber-js for esm support
kdhttps 885d5a7
chore(endpoint-metric-steps.js): update with esm
kdhttps ecf709a
chore(rate-limiting-steps.js): update with esm
kdhttps b93d507
refactor(app.js): remove module.exports
kdhttps c8bcebb
refactor(providers.js): remove debug logs
kdhttps 50a57df
fix(routes.js): fix the user map problem
kdhttps 36814c6
fix(uma.js): fix self-signed cert problem
kdhttps 6b21f3f
refactor(routes.js): remove debug logs
kdhttps 25e3544
chore(package.json): fic c8 code coverage command
kdhttps 6afe16a
chore(.gitignore): add code coverage file
kdhttps f2e3364
test(web-utils.test.js): cover test cases
kdhttps f049d30
test(cache-provider.test.js): test retryStrategy
kdhttps b130b85
test(cache-provider.test.js): cover redis handler methods test cases
kdhttps d482954
test(cache-provider.test.js): cover memcache handler methods test cases
kdhttps 23df435
Merge branch 'master' of github.com:GluuFederation/gluu-passport into…
kdhttps 3e5a888
chore(package-lock.json): update lock file
kdhttps 73bb010
chore(package.json): fix lint script
kdhttps 35aca71
chore(package.json): update node engines
kdhttps f5ac07d
chore(codecov.yml): update node versions
kdhttps 40de3fd
chore(lint.yml): update node versions
kdhttps 499106a
test(uma.test.js): fix func expect 1 args bug
kdhttps e52ffbf
refactor(app-factory.test.js): remove redundant await
kdhttps 45e64db
refactor(cache-provider.test.js): remove redundant await
kdhttps 09d96a4
refactor(cache-provider.test.js): apply dry
kdhttps 655abfd
refactor(config.test.js): remove extra comment
kdhttps b5e583a
refactor(configDiscovery.test.js): remove redundant await
kdhttps a55b7df
refactor(file-utils.test.js): remove redundant await
kdhttps 49efa0d
refactor(init.test.js): delete file
kdhttps 4f4ed72
refactor(logging.test.js): remove redundant await
kdhttps 070857e
refactor(logging.test.js): remove redundant await
kdhttps ae54c9f
refactor(misc.test.js): apply dry
kdhttps 5e60254
fix(openid-client-helper.test.js): fix unexpected empty func
kdhttps d6418b9
refactor(sp-meta.test.js): remove extra await
kdhttps 532e7ac
refactor(uma.test.js): remove redundant await
kdhttps 09b7ebd
refactor(uma.test.js): add https url
kdhttps f1f57af
refactor(app-factory.test.js): apply dry
kdhttps ca039a6
chore(package-lock.json): update package lock
kdhttps ba761f0
refactor(helper.js): replace http with https
kdhttps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,7 @@ jspm_packages | |
.vscode | ||
.idea | ||
server/idp-metadata | ||
server/jwks | ||
server/jwks | ||
|
||
#codecov | ||
coverage.lcov |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, It is correct. node-config need it. more details