primer cambio

This commit is contained in:
beseira13
2026-01-19 12:12:38 -03:00
parent 5f59dba52d
commit 44990f015a
4759 changed files with 588702 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
---
name: Bug report / Support request
about: Report a bug or ask for help
title: ''
labels: ''
assignees: ''
---
Before reporting a bug or requesting support please...
1. Read the troubleshooting guide
- https://amqp-node.github.io/amqplib/#troubleshooting
2. Search for existing open and closed issues
- https://github.com/amqp-node/amqplib/issues?q=is%3Aissue+TYPE+YOUR+KEYWORDS+HERE
3. Ensure you are familiar with the amqplib Channel API and RabbitMQ basics
- https://amqp-node.github.io/amqplib/channel_api.html
- https://www.cloudamqp.com/blog/part1-rabbitmq-for-beginners-what-is-rabbitmq.html
- https://www.rabbitmq.com/tutorials/amqp-concepts.html
If the above does not help, please provide as much of the following information as is relevant...
- A clear and concise description of the problem
- RabbitMQ version
- amqplib version
- Node.js version
- The simplest possible code snippet that demonstrates the problem
- A stack trace
Please format code snippets and/or stack traces using GitHub Markdown
- https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
Thank you

59
node_modules/amqplib/.github/workflows/publish.yml generated vendored Normal file
View File

@@ -0,0 +1,59 @@
name: Publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
services:
rabbitmq:
image: rabbitmq:3-alpine
ports:
- 5672:5672
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: |
n=0
while :
do
sleep 5
echo 'HELO\n\n\n\n' | nc localhost 5672 | grep AMQP
[[ $? = 0 ]] && break || ((n++))
(( n >= 5 )) && break
done
- run: echo 'HELO\n\n\n\n' | nc localhost 5672 | grep AMQP
- run: make test
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

51
node_modules/amqplib/.github/workflows/test.yml generated vendored Normal file
View File

@@ -0,0 +1,51 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
services:
rabbitmq:
image: rabbitmq:3.12-alpine
ports:
- 5672:5672
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
# Install all prerequisites
- run: npm ci
# Ensure RabbitMQ is available before continuing
- run: |
n=0
while :
do
sleep 5
echo 'HELO\n\n\n\n' | nc localhost 5672 | grep AMQP
[[ $? = 0 ]] && break || ((n++))
(( n >= 5 )) && break
done
- run: echo 'HELO\n\n\n\n' | nc localhost 5672 | grep AMQP
# Run the tests
- run: make test