-
-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for ESM (ECMAScript modules)
BREAKING CHANGE: due to added ESM module support Node.js version with ESM implementation bugs are no longer supported, this only affects early v13.x versions. The resulting Node.js semver range is `^10.19.0 || >=12.0.0 < 13 || >=13.7.0` (also taking into account the `got` dependency update)
- Loading branch information
Showing
3 changed files
with
75 additions
and
26 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,9 @@ jobs: | |
- 10 | ||
- 12.0.0 | ||
- 12 | ||
- 13.0.0 | ||
- 13.7.0 | ||
- 13 | ||
- 14.0.0 | ||
- 14.2.0 | ||
- 14 | ||
os: | ||
- ubuntu-latest | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import mod from './index.js'; | ||
|
||
export default mod; | ||
export const Issuer = mod.Issuer; | ||
export const Registry = mod.Registry; | ||
export const Strategy = mod.Strategy; | ||
export const TokenSet = mod.TokenSet; | ||
export const errors = mod.errors; | ||
export const custom = mod.custom; | ||
export const generators = mod.generators; |
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