@architect/create
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -5,2 +5,10 @@ # Architect Create changelog | ||
## [4.2.2] 2023-07-17 | ||
### Fixed | ||
- Fixed Python `@ws` default templates and increased Python indentation because Python | ||
--- | ||
## [4.2.1] 2023-06-21 | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@architect/create", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -28,5 +28,5 @@ let learn = 'learn more about event functions here: https://arc.codes/events' | ||
def handler(event, context): | ||
print(event) | ||
return True` | ||
print(event) | ||
return True` | ||
module.exports = { node, deno, ruby, python } |
@@ -119,11 +119,11 @@ let learn = 'learn more about HTTP functions here: https://arc.codes/http' | ||
def handler(req, context): | ||
return { | ||
'statusCode': 200, | ||
'headers': { | ||
'cache-control': 'no-cache, no-store, must-revalidate, max-age=0, s-maxage=0', | ||
'content-type': 'text/html; charset=utf8' | ||
}, | ||
'body': """${html('Python', path)}""" | ||
}` | ||
return { | ||
'statusCode': 200, | ||
'headers': { | ||
'cache-control': 'no-cache, no-store, must-revalidate, max-age=0, s-maxage=0', | ||
'content-type': 'text/html; charset=utf8' | ||
}, | ||
'body': """${html('Python', path)}""" | ||
}` | ||
module.exports = { node, deno, ruby, python } |
@@ -29,5 +29,5 @@ let learn = 'learn more about queue functions here: https://arc.codes/queues' | ||
def handler(event, context): | ||
print(event) | ||
return True` | ||
print(event) | ||
return True` | ||
module.exports = { node, deno, ruby, python } |
@@ -28,5 +28,5 @@ let learn = 'learn more about scheduled functions here: https://arc.codes/scheduled' | ||
def handler(event, context): | ||
print(event) | ||
return True` | ||
print(event) | ||
return True` | ||
module.exports = { node, deno, ruby, python } |
@@ -28,5 +28,5 @@ let learn = 'learn more about DynamoDB table stream functions here: https://arc.codes/tables-streams' | ||
def handler(event, context): | ||
print(event) | ||
return True` | ||
print(event) | ||
return True` | ||
module.exports = { node, deno, ruby, python } |
@@ -28,5 +28,5 @@ let learn = 'learn more about WebSocket functions here: https://arc.codes/ws' | ||
def handler(event, context): | ||
print(event) | ||
return {statusCode: 200}` | ||
print(event) | ||
return {'statusCode': 200}` | ||
module.exports = { node, deno, ruby, python } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59870