Skip to content

Commit 6efed43

Browse files
committed
deps: add postject
This change has been extracted from the single executable application PR - nodejs#45038. I'm doing this in a separate PR because as James said in nodejs#45038 (comment), it is a rather sizeable addition on its own, so it should be easier to review and address related changes in this PR. This dependency takes care of the resource injection part of the single executable application work. Refs: https://github.com/nodejs/single-executable/blob/34b6765a871222e142f9dbac2bcde5b4e79ebfb2/blog/2022-08-05-an-overview-of-the-current-state.md#resource-injection Signed-off-by: Darshan Sen <[email protected]>
1 parent 80c7bae commit 6efed43

26 files changed

+16131
-0
lines changed

.github/workflows/tools.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ jobs:
7878
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
7979
./tools/update-undici.sh
8080
fi
81+
- id: postject
82+
subsystem: deps
83+
label: dependencies
84+
run: |
85+
NEW_VERSION=$(npm view postject dist-tags.latest)
86+
CURRENT_VERSION=$(node -p "require('./deps/postject/src/package.json').version")
87+
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
88+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
89+
./tools/update-postject.sh
90+
fi
8191
steps:
8292
- uses: actions/checkout@v3
8393
with:

LICENSE

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,31 @@ The externally maintained libraries used by Node.js are:
736736
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.
737737
"""
738738

739+
- postject, located at deps/postject, is licensed as follows:
740+
"""
741+
MIT License
742+
743+
Copyright (c) 2022 Postman, Inc
744+
745+
Permission is hereby granted, free of charge, to any person obtaining a copy
746+
of this software and associated documentation files (the "Software"), to deal
747+
in the Software without restriction, including without limitation the rights
748+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
749+
copies of the Software, and to permit persons to whom the Software is
750+
furnished to do so, subject to the following conditions:
751+
752+
The above copyright notice and this permission notice shall be included in all
753+
copies or substantial portions of the Software.
754+
755+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
756+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
757+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
758+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
759+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
760+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
761+
SOFTWARE.
762+
"""
763+
739764
- undici, located at deps/undici, is licensed as follows:
740765
"""
741766
MIT License

0 commit comments

Comments
 (0)