falconair / nodefix Goto Github PK
View Code? Open in Web Editor NEWFIX engine for node.js
License: Other
FIX engine for node.js
License: Other
I am installing a fresh MEAN* stack. I am getting the npm security audit on this package for underscore.string
dependency.
The solution is to upgrade the underscore.string
to the latest version of >=3.35. Currently, it seems the package.json is using version 1.1.4
Error info: https://npmjs.com/advisories/745
"dependencies": {
"pipe": "0.0.2",
"underscore": "1.1.6",
"underscore.string": "1.1.4"
},
Try to use a single mechanism to handle resend requests
I spent some time today going through the nodefix code and upcoming fix.js code. I have some critical doubts. Can you please help me get a better understanding?
Shouldn't we be creating sessions at connection level? In your implementation, it seems that you are maintaining the session at server level, so basically only one client can connect to it at one moment.
Is that the desired behavior or is my understanding flawed?
Should be taken out of session processor:
In the function which converts it to text msg, by then it is too late to allow wrong information (client/server sims) handle seqnums correctly for resend/gap fill, etc.
In session processor? makes sense since this is session information?
Only fill in information if the user didn't provide it? if user did provide it, keep it?
remove useless comments
remove redundant this.func = func1 type statements
reduce the lines of code used to check for missing tags
replace tag numbers with tag mnemonics for comparisons
vars such as recorded comp ids, heartbeat int, etc. should be in context and available to all handlers
any place an 'ERROR' is logged, it should be sent via pipe for the client to process
'nodefix' seems to have changed names to 'fix' ?
http://search.npmjs.org/#/fix
On the readme -- this is old?
npm install nodefix
Instead of sending raw messages, send a data structure which contains the 'data' as well as the 'type.'
The types can be:
-admin events
-data
-?
I don't se setting username +password?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.