This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from hayd/decrease-files
Bump deno to 0.26.0
- Loading branch information
Showing
22 changed files
with
54 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { assertEquals } from "https://deno.land/std@v0.25.0/testing/asserts.ts"; | ||
export { serve } from "https://deno.land/std@v0.25.0/http/server.ts"; | ||
export { runIfMain, test } from "https://deno.land/std@v0.25.0/testing/mod.ts"; | ||
export { assertEquals } from "https://deno.land/std@v0.26.0/testing/asserts.ts"; | ||
export { serve } from "https://deno.land/std@v0.26.0/http/server.ts"; | ||
export { runIfMain, test } from "https://deno.land/std@v0.26.0/testing/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Context, Event } from "https://deno.land/x/lambda/mod.ts"; | ||
// pad.ts is chosen since it has no dependencies. | ||
// i.e. we must download precisely one file from deno.land. | ||
import { pad } from "https://deno.land/std/strings/pad.ts"; | ||
|
||
export function handler(event: Event, context: Context) { | ||
const strLen: number = Number(event.strLen) || 5; | ||
return pad("deno", strLen); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"env": { | ||
"_HANDLER": "bundle.handler", | ||
"_HANDLER": "hello.handler", | ||
"HANDLER_EXT": "bundle.js" | ||
}, | ||
"events": [{ "hello": "deno" }, { "hello": "again" }], | ||
"expected": [ | ||
{ | ||
"status": "ok", | ||
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.25.0 🦕\"}" | ||
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.26.0 🦕\"}" | ||
}, | ||
{ | ||
"status": "ok", | ||
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.25.0 🦕\"}" | ||
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 0.26.0 🦕\"}" | ||
} | ||
], | ||
"files": ["bundle.bundle.js"], | ||
"files": ["hello.bundle.js"], | ||
"layer": "deno-lambda-layer.zip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"env": { | ||
"_HANDLER": "remote.handler" | ||
"_HANDLER": "pad.handler" | ||
}, | ||
"events": [{ "hello": "deno" }, { "hello": "again" }], | ||
"events": [{ "hello": "deno" }, { "strLen": "6" }], | ||
"expected": [ | ||
{ | ||
"status": "ok", | ||
"content": "\" deno\"" | ||
}, | ||
{ | ||
"status": "ok", | ||
"content": "\" deno\"" | ||
"content": "\" deno\"" | ||
} | ||
], | ||
"files": "remote.zip", | ||
"files": "pad.zip", | ||
"layer": "deno-lambda-layer.zip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters