Skip to content

Commit 6c4b32c

Browse files
author
Charoite Lee
committed
1 parent 85ada8c commit 6c4b32c

13 files changed

+11
-9
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ Since AWS Lambda is a secure and isolated runtime and execution environment, thi
2626

2727
[Konva](https://github.com/konvajs/konva) is a framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.
2828

29+
> **Note:** From Canvas Layer v2.9.3 release, since konva-node package is deprecated, konva package is used directly through build script.
30+
2931
## Getting started
3032

3133
To get started, please visit https://github.com/charoitel/lambda-layer-canvas-nodejs/wiki/Getting-Started
3234

33-
Made with ❤️ by Charoite Lee. Available on the [AWS Serverless Application Repository](https://aws.amazon.com/serverless)
35+
Made with ❤️ by Charoite Lee and contributors. Available on the [AWS Serverless Application Repository](https://aws.amazon.com/serverless)

build-layer.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -e
99

1010
LAYER_NAME=canvas-nodejs
1111
LAYER_DESCRIPTION="AWS Lambda Layer with node-canvas and its dependencies packaged, provides a Cairo backed Mozilla Web Canvas API implementation with additional features."
12-
LAYER_VERSION=2.9.1
12+
LAYER_VERSION=2.9.3
1313
LAYER_AUTHOR="Charoite Lee"
1414

1515
# Remove packaged layer if exists
@@ -26,7 +26,7 @@ rm -rf node_modules package*.json ../package-lock.json
2626
npm init -y
2727
npm install canvas --build-from-source
2828
npm install fabric
29-
npm install konva-node
29+
npm install konva
3030
npm install mocha --save-dev
3131
jq --arg LAYER_NAME "$LAYER_NAME" --arg LAYER_DESCRIPTION "$LAYER_DESCRIPTION" --arg LAYER_VERSION "$LAYER_VERSION" --arg LAYER_AUTHOR "$LAYER_AUTHOR" '.name = $LAYER_NAME | .description = $LAYER_DESCRIPTION | .version = $LAYER_VERSION | .license = "MIT" | .author = $LAYER_AUTHOR | .scripts.test = "mocha"' package.json > package-tmp.json
3232
mv -f package-tmp.json package.json

lib/libblkid.so.1

0 Bytes
Binary file not shown.

lib/libc.so.6

112 Bytes
Binary file not shown.

lib/libexpat.so.1

16 Bytes
Binary file not shown.

lib/libgcc_s.so.1

0 Bytes
Binary file not shown.

lib/liblzma.so.5

-4.05 KB
Binary file not shown.

lib/libmount.so.1

0 Bytes
Binary file not shown.

lib/libstdc++.so.6

0 Bytes
Binary file not shown.

lib/libuuid.so.1

0 Bytes
Binary file not shown.

lib/libz.so.1

8 Bytes
Binary file not shown.

nodejs/test/fabric-rectangle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
let fabric = require('fabric').fabric;
22
var assert = require('assert');
33

4-
describe('Canvas', function() {
4+
describe('Fabric', function() {
55
describe('#drawRectangle', function() {
66
it('should draw a red rectangle', function() {
77
var rect = new fabric.Rect({

nodejs/test/konva-circle.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)