Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@architect/create

Package Overview
Dependencies
49
Maintainers
6
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.2 to 5.0.3

eslint.config.js

9

changelog.md

@@ -5,2 +5,11 @@ # Architect Create changelog

## [5.0.3] 2024-04-29
### Changed
- Updated dependencies
- Updated `package.json` `engines.node` property to reflect changes from v5
---
## [5.0.2] 2024-03-25

@@ -7,0 +16,0 @@

16

package.json
{
"name": "@architect/create",
"version": "5.0.2",
"version": "5.0.3",
"description": "Idempotently initialize Architect projects",

@@ -15,2 +15,3 @@ "main": "src/index.js",

"test": "npm run lint && npm run test:integration && npm run coverage",
"test:nolint": "npm run test:integration && npm run coverage",
"test:unit": "cross-env PORT=6666 tape 'test/unit/**/*-test.js' | tap-arc",

@@ -23,8 +24,8 @@ "test:integration": "cross-env tape 'test/integration/**/*-test.js' | tap-arc",

"engines": {
"node": ">=14"
"node": ">=16"
},
"license": "Apache-2.0",
"dependencies": {
"@architect/inventory": "~4.0.4",
"@architect/utils": "~4.0.4",
"@architect/inventory": "~4.0.5",
"@architect/utils": "~4.0.6",
"chalk": "4.1.2",

@@ -35,5 +36,5 @@ "lambda-runtimes": "~2.0.2",

"devDependencies": {
"@architect/eslint-config": "~2.1.2",
"@architect/eslint-config": "~3.0.0",
"cross-env": "~7.0.3",
"eslint": "~8.57.0",
"eslint": "~9.1.1",
"fs-extra": "~11.2.0",

@@ -44,6 +45,3 @@ "nyc": "~15.1.0",

"tape": "~5.7.5"
},
"eslintConfig": {
"extends": "@architect/eslint-config"
}
}

@@ -26,5 +26,5 @@ let { join } = require('path')

scripts: {
start: 'npx sandbox'
start: 'npx sandbox',
},
devDependencies: {}
devDependencies: {},
}

@@ -36,4 +36,4 @@ writeFileSync(packageFile, JSON.stringify(package, null, 2))

let existing = JSON.parse(readFileSync(packageFile).toString())
if (existing.dependencies && existing.dependencies['@architect/architect'] ||
existing.devDependencies && existing.devDependencies['@architect/architect']) {
if ((existing.dependencies && existing.dependencies['@architect/architect']) ||
(existing.devDependencies && existing.devDependencies['@architect/architect'])) {
return false

@@ -40,0 +40,0 @@ }

@@ -24,3 +24,3 @@ let { existsSync, mkdirSync } = require('fs')

`Project name .. ${name}`,
`Creating in ... ${folder}`
`Creating in ... ${folder}`,
)

@@ -27,0 +27,0 @@ mkdirSync(folder, { recursive: true })

@@ -42,3 +42,2 @@ let { sep } = require('path')

// TODO: This blows up Node.js 12 running `npm init @architect` if required in global; move this back after 12 is EOL
// eslint-disable-next-line
let _inventory = require('@architect/inventory')

@@ -45,0 +44,0 @@

@@ -11,3 +11,3 @@ let learn = 'learn more about event functions here: https://arc.codes/events'

cjs: `// ${learn}
exports.handler = async function subscribe (event) {${nodeBody}}`
exports.handler = async function subscribe (event) {${nodeBody}}`,
}

@@ -14,0 +14,0 @@

@@ -102,3 +102,3 @@ let learn = 'learn more about HTTP functions here: https://arc.codes/http'

cjs: path => `// ${learn}
exports.handler = async function http (req) {${nodeBody(path)}}`
exports.handler = async function http (req) {${nodeBody(path)}}`,
}

@@ -105,0 +105,0 @@

@@ -11,3 +11,3 @@ let learn = 'learn more about queue functions here: https://arc.codes/queues'

cjs: `// ${learn}
exports.handler = async function queue (event) {${nodeBody}}`
exports.handler = async function queue (event) {${nodeBody}}`,
}

@@ -14,0 +14,0 @@

@@ -11,3 +11,3 @@ let learn = 'learn more about scheduled functions here: https://arc.codes/scheduled'

cjs: `// ${learn}
exports.handler = async function scheduled (event) {${nodeBody}}`
exports.handler = async function scheduled (event) {${nodeBody}}`,
}

@@ -14,0 +14,0 @@

@@ -11,3 +11,3 @@ let learn = 'learn more about DynamoDB table stream functions here: https://arc.codes/tables-streams'

cjs: `// ${learn}
exports.handler = async function tableStream (event) {${nodeBody}}`
exports.handler = async function tableStream (event) {${nodeBody}}`,
}

@@ -14,0 +14,0 @@

@@ -11,3 +11,3 @@ let learn = 'learn more about WebSocket functions here: https://arc.codes/ws'

cjs: `// ${learn}
exports.handler = async function ws (req) {${nodeBody}}`
exports.handler = async function ws (req) {${nodeBody}}`,
}

@@ -14,0 +14,0 @@

@@ -21,5 +21,5 @@ let { join } = require('path')

`Created new plugin at: ${join('src', 'plugins', plugin)}`,
`Add '${plugin}' to your project manifest's @plugins pragma`
`Add '${plugin}' to your project manifest's @plugins pragma`,
)
callback()
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc