Skip to content

Commit 81ce18f

Browse files
authored
1 parent aae6f6a commit 81ce18f

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

build-layer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e
1414

1515
LAYER_NAME=canvas-nodejs
1616
LAYER_DESCRIPTION="Cairo backed Mozilla Web Canvas API implementation layer for AWS Lambda"
17-
LAYER_VERSION=3.1.2
17+
LAYER_VERSION=3.2.0
1818
LAYER_AUTHOR="Charoite Lee"
1919

2020
DOT_CHAR="."
@@ -55,4 +55,4 @@ mkdir node${NODE_VERSION%%$DOT_CHAR*}
5555
mv node_modules node${NODE_VERSION%%$DOT_CHAR*}
5656
cd ..
5757
find nodejs/node${NODE_VERSION%%$DOT_CHAR*} -type f -name '*.node' 2>/dev/null | grep -v 'obj\.target' | xargs ldd | awk 'NF == 4 { system("cp " $3 " lib") }'
58-
zip -q -r canvas-nodejs_v$LAYER_VERSION-node${NODE_VERSION%%$DOT_CHAR*}.zip . -x LICENSE README.md .git/**\* .github/**\* .gitignore nodejs/test/**\* *.yml build-layer.sh
58+
zip -q -r canvas-nodejs_v$LAYER_VERSION-node${NODE_VERSION%%$DOT_CHAR*}.zip . -x LICENSE README.md .git/**\* .github/**\* .gitignore nodejs/test/**\* *.yml docs/**\* .devcontainer/**\* build-layer.sh

nodejs/test/canvas-font.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/test/chart-line.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
let { registerFont, createCanvas } = require('canvas');
2-
let { CategoryScale, Chart, LinearScale, LineController, LineElement, PointElement } = require('chart.js');
3-
var assert = require('assert');
1+
const { registerFont, createCanvas } = require('canvas');
2+
const { CategoryScale, Chart, LinearScale, LineController, LineElement, PointElement } = require('chart.js');
3+
const assert = require('assert');
44

55
describe('Chart', function () {
66
describe('#drawLineGraph', function () {

nodejs/test/fabric-rectangle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/test/konva-circle.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)