
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
serverless-convention
Advanced tools
Serverless script for setting up file structure conventions
Define your convention in the serverless yml and dynamically include resources.
custom:
convention:
functions:
folders:
- api
- bots
pattern:
- '*.yml'
resources:
folders:
- cloudformation
pattern:
- '*.yml'
- '*.js'
- '*.json'
included: ${file(./node_modules/serverless-convention/index.js)}
functions:
- ${self:custom.included.functions}
resources:
- ${self:custom.included.resources}
All yml files in the api and bots folders will be included as functions in the cloudformation. All yml, js, and json files found in the cloudformation folder will also be included.
Optionally, convention objects can be specified with an "asFileArray" flag which will result in an array of relative file references to the files found.
FAQs
Serverless script for setting up file structure conventions
The npm package serverless-convention receives a total of 342 weekly downloads. As such, serverless-convention popularity was classified as not popular.
We found that serverless-convention demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.