Skip to content

Commit 110c326

Browse files
authored
Merge branch 'master' into master
2 parents a7c3fff + 95e0357 commit 110c326

File tree

45 files changed

+7644
-295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+7644
-295
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ serverless install -u https://github.com/serverless/examples/tree/master/folder-
8181
| [Aws Node Ses Receive Email Body](https://github.com/serverless/examples/tree/master/aws-node-ses-receive-email-body) <br/> Receive an email, store in S3 bucket, trigger a lambda function. | nodeJS |
8282
| [Aws Node Ses Receive Email Header](https://github.com/serverless/examples/tree/master/aws-node-ses-receive-email-header) <br/> Receive an email, trigger a lambda function to process header. | nodeJS |
8383
| [Shared Aws Api Gateway Nodejs](https://github.com/serverless/examples/tree/master/aws-node-shared-gateway) <br/> A sample of implementing shared API gateway with multiple Node Lambdas. | nodeJS |
84-
| [Aws Node Singned Uploads](https://github.com/serverless/examples/tree/master/aws-node-signed-uploads) <br/> Serverless example for S3 signed uploads | nodeJS |
84+
| [Aws Node Signed Uploads](https://github.com/serverless/examples/tree/master/aws-node-signed-uploads) <br/> Serverless example for S3 signed uploads | nodeJS |
8585
| [Aws Serve Simple Http Endpoint](https://github.com/serverless/examples/tree/master/aws-node-simple-http-endpoint) <br/> Example demonstrates how to setup a simple HTTP GET endpoint | nodeJS |
8686
| [Aws Node Simple Transcribe S3](https://github.com/serverless/examples/tree/master/aws-node-simple-transcribe-s3) <br/> Example demonstrates how to setup a lambda function to transcribe audio file | nodeJS |
8787
| [Aws Single Page App Via Cloudfront](https://github.com/serverless/examples/tree/master/aws-node-single-page-app-via-cloudfront) <br/> Demonstrating how to deploy a Single Page Application with Serverless | nodeJS |
@@ -93,6 +93,7 @@ serverless install -u https://github.com/serverless/examples/tree/master/folder-
9393
| [Baddadjokesbot](https://github.com/serverless/examples/tree/master/aws-node-twitter-joke-bot) | nodeJS |
9494
| [Nest Serverless](https://github.com/serverless/examples/tree/master/aws-node-typescript-nest) <br/> serverless app | nodeJS |
9595
| [Typescript Example](https://github.com/serverless/examples/tree/master/aws-node-typescript-rest-api-with-dynamodb) | nodeJS |
96+
| [Aws Node Typescript Sqs Standard](https://github.com/serverless/examples/tree/master/aws-node-typescript-sqs-standard) <br/> Serverless example using Standard SQS with TypeScript | nodeJS |
9697
| [Upload To S3 And Postprocess](https://github.com/serverless/examples/tree/master/aws-node-upload-to-s3-and-postprocess) <br/> Upload a files to S3 to trigger a lambda function. | nodeJS |
9798
| [Aws Node Vue Nuxt Ssr](https://github.com/serverless/examples/tree/master/aws-node-vue-nuxt-ssr) <br/> Sample project for using Nuxt.js to create a server-side rendered Vue.js app on AWS Lambda and AWS API Gateway. Can easily integrate with your own API or 3rd party APIs such as headless CMS, e-commerce or serverless architecture. | nodeJS |
9899
| [Aws Nodejs Websockets Authorizers](https://github.com/serverless/examples/tree/master/aws-node-websockets-authorizers) <br/> Simple example that demonstrates how to use authorizer functions with websocket events | nodeJS |
@@ -102,6 +103,7 @@ serverless install -u https://github.com/serverless/examples/tree/master/folder-
102103
| [Aws Python Pynamodb S3 Sigurl](https://github.com/serverless/examples/tree/master/aws-python-pynamodb-s3-sigurl) <br/> Serverless signed uploader REST API using pynamodb, s3 generated events, custom log format, and DRY serverless.yml with custom section | python |
103104
| [Aws Rest With Dynamodb](https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-dynamodb) <br/> Serverless CRUD service exposing a REST HTTP interface | python |
104105
| [Aws Rest With Faunadb](https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-faunadb) <br/> Serverless CRUD service exposing a REST HTTP interface | python |
106+
| [Aws Python Rest Api With Pymongo](https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-pymongo) <br/> Serverless pymongo example | python |
105107
| [Aws Rest With Pynamodb](https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-pynamodb) <br/> Serverless CRUD service exposing a REST HTTP interface | python |
106108
| [Aws Scheduled Cron](https://github.com/serverless/examples/tree/master/aws-python-scheduled-cron) <br/> Example of creating a function that runs as a cron job using the serverless `schedule` event | python |
107109
| [Aws Simple Http Endpoint](https://github.com/serverless/examples/tree/master/aws-python-simple-http-endpoint) <br/> Example demonstrates how to setup a simple HTTP GET endpoint with python | python |
@@ -181,8 +183,8 @@ serverless install -u https://github.com/author/project -n my-project
181183
| **[Serverless Kakao Bot](https://github.com/JisuPark/serverless-kakao-bot)** <br/> Easy development for Kakaotalk Bot with Serverless | [JisuPark](http://github.com/JisuPark) |
182184
| **[Serverless Lambda S3 Demonstration](https://github.com/johncmunson/serverless-lambda-s3)** <br/> This project demonstrates how the Serverless Framework can be used to deploy a NodeJS Lambda function that responds to events in an S3 bucket. | [johncmunson](http://github.com/johncmunson) |
183185
| **[Serverless Load Balancer](https://github.com/pharindoko/serverless-load-balancer)** <br/> A sample that shows how to combine a load balancer with (vpc/subnet configuration) with a lambda. | [pharindoko](http://github.com/pharindoko) |
184-
| **[Serverless Q&a Example](https://github.com/jacksoncharles/serverless-qa-template-api)** <br/> Inspired by the AWS example forum. A multitenancy Q&A template for surveys, forums and more | [jacksoncharles](http://github.com/jacksoncharles) |
185186
| **[Serverless Reactjs Universal Rendering Boilerplate](https://github.com/TylorShin/react-universal-in-serverless)** <br/> ReactJS web app Starter kit does universal (isomorphic) rendering with Serverless | [TylorShin](http://github.com/TylorShin) |
187+
| **[Serverless Sns Sqs Offline Example ](https://github.com/kenyipp/serverless-sns-sqs-offline-example)** <br/> Minimal example of running serverless-offline with SQS and SNS in local environment. | [kenyipp](http://github.com/kenyipp) |
186188
| **[Serverless Ssh Command](https://github.com/upgle/serverless-openwhisk-ssh)** <br/> Example of executing ssh command with OpenWhisk | [upgle](http://github.com/upgle) |
187189
| **[Serverless Telegram Bot](https://github.com/jonatasbaldin/serverless-telegram-bot)** <br/> This example demonstrates how to setup an echo Telegram Bot using the Serverless Framework ⚡🤖 | [jonatasbaldin](http://github.com/jonatasbaldin) |
188190
| **[Serverless Ffmpeg](https://github.com/kvaggelakos/serverless-ffmpeg)** <br/> Bucket event driven FFMPEG using serverless. Input bucket => Serverless ffmpeg => Output bucket. | [kvaggelakos](http://github.com/kvaggelakos) |

aws-ffmpeg-layer/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ mkdir -p layer
33
cd layer
44
rm -rf *
55
curl -O https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
6-
tar xfa ffmpeg-git-amd64-static.tar.xz
6+
tar -xf ffmpeg-git-amd64-static.tar.xz
77
mv ffmpeg-git-*-amd64-static ffmpeg
88
rm ffmpeg-git-amd64-static.tar.xz

aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,56 @@ func eventStreamToMap(attribute interface{}) map[string]*dynamodb.AttributeValue
9999
m[k] = &dynamodb.AttributeValue{
100100
N: &n,
101101
}
102+
case events.DataTypeList:
103+
m[k] = &dynamodb.AttributeValue{
104+
L: eventStreamToList(v),
105+
}
102106
}
103107
}
104108
return m
105109
}
110+
111+
// ugly hack because the types
112+
// events.DynamoDBAttributeValue != *dynamodb.AttributeValue
113+
func eventStreamToList(attribute interface{}) []*dynamodb.AttributeValue {
114+
// List to be returned
115+
l := make([]*dynamodb.AttributeValue, 0)
116+
117+
var tmp []events.DynamoDBAttributeValue
118+
119+
switch t := attribute.(type) {
120+
case []events.DynamoDBAttributeValue:
121+
tmp = t
122+
case events.DynamoDBAttributeValue:
123+
tmp = t.List()
124+
}
125+
126+
for _, v := range tmp {
127+
switch v.DataType() {
128+
case events.DataTypeString:
129+
s := v.String()
130+
l = append(l, &dynamodb.AttributeValue{
131+
S: &s,
132+
})
133+
case events.DataTypeBoolean:
134+
b := v.Boolean()
135+
l = append(l, &dynamodb.AttributeValue{
136+
BOOL: &b,
137+
})
138+
case events.DataTypeMap:
139+
l = append(l, &dynamodb.AttributeValue{
140+
M: eventStreamToMap(v),
141+
})
142+
case events.DataTypeNumber:
143+
n := v.Number()
144+
l = append(l, &dynamodb.AttributeValue{
145+
N: &n,
146+
})
147+
case events.DataTypeList:
148+
l = append(l, &dynamodb.AttributeValue{
149+
L: eventStreamToList(v),
150+
})
151+
}
152+
}
153+
return l
154+
}

aws-golang-http-get-post/serverless.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,16 @@ provider:
4747
# variable1: value1
4848

4949
package:
50+
individually: true
5051
exclude:
5152
- ./**
52-
include:
53-
- ./bin/**
5453

5554
functions:
5655
get:
5756
handler: bin/getBin
57+
package:
58+
include:
59+
- ./bin/getBin
5860
events:
5961
- http:
6062
path: get/{name}
@@ -65,6 +67,9 @@ functions:
6567
name: true
6668
getquery:
6769
handler: bin/getQueryBin
70+
package:
71+
include:
72+
- ./bin/getQueryBin
6873
events:
6974
- http:
7075
path: getQ
@@ -75,6 +80,9 @@ functions:
7580
name: true
7681
post:
7782
handler: bin/postBin
83+
package:
84+
include:
85+
- ./bin/getQueryBin
7886
events:
7987
- http:
8088
path: post

aws-java-simple-http-endpoint/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>com.fasterxml.jackson.core</groupId>
3434
<artifactId>jackson-databind</artifactId>
35-
<version>2.9.8</version>
35+
<version>2.9.10.3</version>
3636
</dependency>
3737
<dependency>
3838
<groupId>com.fasterxml.jackson.core</groupId>

aws-node-auth0-custom-authorizers-api/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ lodash.once@^4.0.0:
488488
resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
489489

490490
lodash@^4.17.4:
491-
version "4.17.5"
492-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
491+
version "4.17.15"
492+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
493493

494494
loose-envify@^1.0.0:
495495
version "1.3.1"

aws-node-dynamic-image-resizer/package.json

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@babel/runtime": "^7.3.1",
1616
"babel-runtime": "^7.0.0-beta.3",
17-
"lodash": "^4.17.11",
17+
"lodash": "^4.17.13",
1818
"serverless-offline": "^4.7.0",
1919
"serverless-webpack": "^5.2.0",
2020
"sharp": "^0.21.3",

aws-node-dynamic-image-resizer/yarn.lock

100755100644
Lines changed: 38 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,9 @@ acorn-walk@^6.0.1:
819819
integrity sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw==
820820

821821
acorn@^5.5.3:
822-
version "5.7.3"
823-
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
824-
integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
822+
version "5.7.4"
823+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.4.tgz#3e8d8a9947d0599a1796d10225d7432f4a4acf5e"
824+
integrity sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==
825825

826826
acorn@^6.0.1, acorn@^6.0.5:
827827
version "6.1.0"
@@ -1090,7 +1090,7 @@ async@^1.5.2:
10901090
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
10911091
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
10921092

1093-
async@^2.0.0, async@^2.1.4, async@^2.5.0:
1093+
async@^2.0.0, async@^2.1.4:
10941094
version "2.6.2"
10951095
resolved "https://registry.yarnpkg.com/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381"
10961096
integrity sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==
@@ -2305,6 +2305,11 @@ commander@~2.17.1:
23052305
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
23062306
integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==
23072307

2308+
commander@~2.20.3:
2309+
version "2.20.3"
2310+
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
2311+
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
2312+
23082313
commander@~2.8.1:
23092314
version "2.8.1"
23102315
resolved "https://registry.yarnpkg.com/commander/-/commander-2.8.1.tgz#06be367febfda0c330aa1e2a072d3dc9762425d4"
@@ -3576,13 +3581,14 @@ h2o2@^6.1.0:
35763581
wreck "12.x.x"
35773582

35783583
handlebars@^4.0.3:
3579-
version "4.1.0"
3580-
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.0.tgz#0d6a6f34ff1f63cecec8423aa4169827bf787c3a"
3581-
integrity sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w==
3584+
version "4.7.6"
3585+
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e"
3586+
integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==
35823587
dependencies:
3583-
async "^2.5.0"
3584-
optimist "^0.6.1"
3588+
minimist "^1.2.5"
3589+
neo-async "^2.6.0"
35853590
source-map "^0.6.1"
3591+
wordwrap "^1.0.0"
35863592
optionalDependencies:
35873593
uglify-js "^3.1.4"
35883594

@@ -4724,9 +4730,9 @@ js-tokens@^3.0.2:
47244730
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
47254731

47264732
js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.8.3:
4727-
version "3.12.2"
4728-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.2.tgz#ef1d067c5a9d9cb65bd72f285b5d8105c77f14fc"
4729-
integrity sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==
4733+
version "3.13.1"
4734+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
4735+
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
47304736
dependencies:
47314737
argparse "^1.0.7"
47324738
esprima "^4.0.0"
@@ -5098,10 +5104,10 @@ lodash.uniq@^4.5.0:
50985104
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
50995105
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
51005106

5101-
lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.8.0:
5102-
version "4.17.11"
5103-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
5104-
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
5107+
lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.8.0:
5108+
version "4.17.13"
5109+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.13.tgz#0bdc3a6adc873d2f4e0c4bac285df91b64fc7b93"
5110+
integrity sha512-vm3/XWXfWtRua0FkUyEHBZy8kCPjErNBT9fJx8Zvs+U6zjqPbTUOpkaoum3O5uiA8sm+yNMHXfYkTUHFoMxFNA==
51055111

51065112
loose-envify@^1.0.0:
51075113
version "1.4.0"
@@ -5320,15 +5326,10 @@ minimist@0.0.8:
53205326
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
53215327
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
53225328

5323-
minimist@^1.1.1, minimist@^1.2.0:
5324-
version "1.2.0"
5325-
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
5326-
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
5327-
5328-
minimist@~0.0.1:
5329-
version "0.0.10"
5330-
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
5331-
integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
5329+
minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5:
5330+
version "1.2.5"
5331+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
5332+
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
53325333

53335334
minipass@^2.2.1, minipass@^2.3.4:
53345335
version "2.3.5"
@@ -5362,9 +5363,9 @@ mississippi@^3.0.0:
53625363
through2 "^2.0.0"
53635364

53645365
mixin-deep@^1.2.0:
5365-
version "1.3.1"
5366-
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe"
5367-
integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==
5366+
version "1.3.2"
5367+
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
5368+
integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==
53685369
dependencies:
53695370
for-in "^1.0.2"
53705371
is-extendable "^1.0.1"
@@ -5454,10 +5455,10 @@ needle@^2.2.1:
54545455
iconv-lite "^0.4.4"
54555456
sax "^1.2.4"
54565457

5457-
neo-async@^2.5.0:
5458-
version "2.6.0"
5459-
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835"
5460-
integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==
5458+
neo-async@^2.5.0, neo-async@^2.6.0:
5459+
version "2.6.1"
5460+
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
5461+
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
54615462

54625463
nigel@2.x.x:
54635464
version "2.0.2"
@@ -5713,14 +5714,6 @@ onetime@^1.0.0:
57135714
resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
57145715
integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=
57155716

5716-
optimist@^0.6.1:
5717-
version "0.6.1"
5718-
resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"
5719-
integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY=
5720-
dependencies:
5721-
minimist "~0.0.1"
5722-
wordwrap "~0.0.2"
5723-
57245717
optionator@^0.8.1:
57255718
version "0.8.2"
57265719
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64"
@@ -7566,12 +7559,11 @@ typedarray@^0.0.6:
75667559
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
75677560

75687561
uglify-js@^3.1.4:
7569-
version "3.4.9"
7570-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"
7571-
integrity sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==
7562+
version "3.9.0"
7563+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.9.0.tgz#037163a936992050ed5d14f5d5c4014126019661"
7564+
integrity sha512-j5wNQBWaql8gr06dOUrfaohHlscboQZ9B8sNsoK5o4sBjm7Ht9dxSbrMXyktQpA16Acaij8AcoozteaPYZON0g==
75727565
dependencies:
7573-
commander "~2.17.1"
7574-
source-map "~0.6.1"
7566+
commander "~2.20.3"
75757567

75767568
unbzip2-stream@^1.0.9:
75777569
version "1.3.3"
@@ -7961,12 +7953,7 @@ widest-line@^2.0.0:
79617953
dependencies:
79627954
string-width "^2.1.1"
79637955

7964-
wordwrap@~0.0.2:
7965-
version "0.0.3"
7966-
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
7967-
integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc=
7968-
7969-
wordwrap@~1.0.0:
7956+
wordwrap@^1.0.0, wordwrap@~1.0.0:
79707957
version "1.0.0"
79717958
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
79727959
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=

aws-node-graphql-and-rds/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ functions:
8585
path: /
8686
method: get
8787
cors: true
88-
88+

aws-node-puppeteer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports.getChrome = async () => {
9191
};
9292
```
9393

94-
`@@serverless-chrome/lambda` provide scaffolding for using Headless Chrome during a serverless function invocation. Serverless Chrome takes care of building and bundling the Chrome binaries and making sure Chrome is running when your serverless function executes. In addition, this project also provides a few example services for common patterns (e.g. taking a screenshot of a page, printing to PDF, some scraping, etc.)
94+
`@serverless-chrome/lambda` provide scaffolding for using Headless Chrome during a serverless function invocation. Serverless Chrome takes care of building and bundling the Chrome binaries and making sure Chrome is running when your serverless function executes. In addition, this project also provides a few example services for common patterns (e.g. taking a screenshot of a page, printing to PDF, some scraping, etc.)
9595

9696

9797
## 5.Connect Puppeteer With Headless Chrome

aws-node-puppeteer/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"@serverless-chrome/lambda": "^1.0.0-55",
14-
"chrome-launcher": "^0.10.5",
15-
"puppeteer": "^1.11.0",
16-
"serverless-offline": "^3.31.3",
17-
"serverless-plugin-chrome": "^1.0.0-55",
18-
"superagent": "^4.0.0"
14+
"chrome-launcher": "^0.12.0",
15+
"puppeteer": "^2.1.0",
16+
"serverless-offline": "^5.12.1",
17+
"serverless-plugin-chrome": "^1.0.0-55.3",
18+
"superagent": "^5.2.1"
1919
}
2020
}

0 commit comments

Comments
 (0)