Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
binding/muhammara.node

# Default ignored files
node_modules
/shelf/
Expand Down Expand Up @@ -77,4 +79,3 @@ atlassian-ide-plugin.xml
/.vs
/.vscode
.jsbeautifyrc

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
engine-strict=true
strict-allow-scripts=true
omit=peer
4 changes: 2 additions & 2 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Steps:
```
curl -LO https://github.com/julianhille/MuhammaraJS/releases/download/{muhammara-version}/node-v{ABI}-linux-x64-glibc.tar.gz
```
e.g. for muhammara 5.3.0 on Node 22: `.../download/5.3.0/node-v127-linux-x64-glibc.tar.gz`
e.g. for muhammara 6.0.5 on Node 22: `.../download/6.0.5/node-v127-linux-x64-glibc.tar.gz`
3. Extract the binary and zip it up:
```
tar xzf node-v{ABI}-linux-x64-glibc.tar.gz # extracts binding/muhammara.node
Expand All @@ -29,7 +29,7 @@ Steps:
docker run --rm --platform linux/amd64 --entrypoint bash \
-v "$PWD":/pkg public.ecr.aws/lambda/nodejs:22 -c '
cd /tmp && npm init -y >/dev/null &&
npm install muhammara@5.3.0 /pkg &&
npm install muhammara@6.0.5 /pkg &&
cp node_modules/lambda-muhammara/binding/muhammara.node node_modules/muhammara/binding/muhammara.node &&
node -e "const m = require(\"muhammara\"); const w = m.createWriter(\"/tmp/out.pdf\"); w.writePage(w.createPage(0,0,595,842)); w.end(); console.log(\"OK on\", process.version);"'
```
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ And then deploy your lambda function as you would normally.
5.3.1 Updated for Muhamara 5.3.0 (AWS Lambda Node 20.19.X)

5.3.2 Updated for Muhamara 5.3.0 (AWS Lambda Node 22.X)

6.0.5 Updated for Muhamara 6.0.5 (AWS Lambda Node 22.X)
Binary file modified binding/muhammara.node.zip
Binary file not shown.
Loading