-
Notifications
You must be signed in to change notification settings - Fork 476
Feature: esm support #797
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
Closed
Closed
Feature: esm support #797
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
199c2a4
chore: update .gitignore
luas10c 7a4034e
chore: add eslint + prettier
luas10c a024078
chore: rename lib to src
luas10c 1c6b83f
chore: rename test to tests
luas10c cd63da2
chore: update .gitignore
luas10c 4fac34b
chore: update .prettierignore
luas10c b6483f3
chore: update Makefile
luas10c 5eb243c
chore: add build script
luas10c 64821a8
refactor: migrate codebase from cjs to esm
luas10c 69300ff
chore: add "type": "module" in package.json
luas10c cf8c8fa
chore: update mocha and nyc
luas10c fcc88a3
refactor: export path change
luas10c f425793
chore: update .npmignore
luas10c 02fca3d
chore: merge license description to a single file
luas10c 0c77c82
chore: rename test.yml to ci.yml
luas10c cee6a44
chore: esm support only after 14.x
luas10c f6fe403
chore: remove remainder of buffer-more-ints
luas10c e1c5697
chore: transform into class
luas10c 4cc5779
chore: organizing files
luas10c b00e78e
chore: esm already works in strict mode
luas10c 8b78e6a
chore: nodejs minimum version major 14
luas10c 8bf71c0
chore: create package.json in cjs export
luas10c 375f162
ci: add build step
luas10c ab91e82
build: fixes build in versions lower than 20
luas10c 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 hidden or 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,2 @@ | ||
| URL=amqp://localhost | ||
| LOG_ERRORS=false |
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,7 +1,11 @@ | ||
| *~ | ||
| scratch | ||
| node_modules/ | ||
| etc/ | ||
| coverage/ | ||
| /.idea/ | ||
| .nyc_output/ | ||
| node_modules | ||
| etc | ||
| coverage | ||
| .idea | ||
| .nyc_output | ||
| dist | ||
|
|
||
| .env* | ||
| !.env.example |
This file contains hidden or 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 hidden or 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,8 @@ | ||
| node_modules | ||
|
|
||
| dist | ||
|
|
||
| coverage | ||
|
|
||
| .env* | ||
| !.env.example |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,21 @@ | ||
| amqplib copyright (c) 2013, 2014 | ||
| amqplib Copyright (c) 2013, 2014 | ||
| Michael Bridgen <[email protected]> | ||
|
|
||
| This package, "amqplib", is licensed under the MIT License. A copy may | ||
| be found in the file LICENSE-MIT in this directory, or downloaded from | ||
| http://opensource.org/licenses/MIT. | ||
| Permission is hereby granted, free of charge, to any person obtaining | ||
| a copy of this software and associated documentation files (the | ||
| "Software"), to deal in the Software without restriction, including | ||
| without limitation the rights to use, copy, modify, merge, publish, | ||
| distribute, sublicense, and/or sell copies of the Software, and to | ||
| permit persons to whom the Software is furnished to do so, subject to | ||
| the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be | ||
| included in all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
| LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
| OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
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.
why was this changed?
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.
the project had two license files github does not index LICENSE-MIT I changed it to LICENSE
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.
The license file follows the MIT file