Commit 034e46b
* Fixes Issue #185
Have a look to #185 for explanation
* Uses var instead of let for compatibility
* Changes Buffer.allocUnsafe to Buffer.alloc
Even though it Buffer.allocUnsafe is documented in Node, I'm getting this error in some Node versions:
```
2) CSV Converter should emit data event correctly:
Uncaught TypeError: Buffer.allocUnsafe is not a function
```
* Adds support for very old Node.js versions
1 parent 2b677ac commit 034e46b
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
0 commit comments