Socket
Socket
Sign inDemoInstall

@architect/create

Package Overview
Dependencies
Maintainers
6
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@architect/create - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

8

changelog.md

@@ -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 @@

2

package.json
{
"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 }
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc