bitsyntax-js
bitsyntax-js copied to clipboard
Fix amqplib #453
This PR fixes https://github.com/amqp-node/amqplib/issues/453
I had to downgrade to [email protected] as [email protected] generates a broken parser. pegjs has also been abandoned, but the replacement (peggy) appears to have the same issue.
To test I polluted Object.prototype. Without the code fix, the tests fail.
@squaremo Maybe this library could also be moved under amqp-node org for easier support?