Commit Graph
46 Commits
Author SHA1 Message Date
silverwind 140ea5c229 remove standard dependency replaced by eslint-plugin-standard 2018-01-14 12:17:37 +01:00
silverwind 50333108ba use standard eslint config 2018-01-14 12:11:15 +01:00
silverwind cdf403f93c 3.0.1 2018-01-14 10:25:25 +01:00
silverwind 6212a2cd8c add missing classes.js to published files 2018-01-14 10:25:08 +01:00
silverwind a7fd815e02 3.0.0 2018-01-14 10:17:20 +01:00
silverwind 3b76b23221 Change class option to take strings and document it (#4)
This changes to class option to take strings instead of integers, so 1
becomes 'IN', 3 becomes 'CH' and so on. Also documented the class
option.
2018-01-12 21:20:38 +01:00
silverwind a77e1bbcc7 2.0.0 2018-01-11 21:38:09 +01:00
silverwind 63730f557a fix ecmaVersion in .eslintrc 2018-01-11 21:36:37 +01:00
silverwind 6606c00fb3 convert to ES2015, tweak package.json 2018-01-11 21:34:58 +01:00
silverwind d8f93e94fc drop support for node 0.10 and 0.12
While the module currently technically works on those versions, ESLint does not
which makes the linter fail on those versions.
2018-01-11 21:26:07 +01:00
silverwind 7f35bac5b4 1.3.1 2018-01-11 21:22:40 +01:00
silverwind 3632f188fa add .eslintrc, fix issues 2018-01-11 21:22:10 +01:00
silverwind 81d4a963bf Merge pull request #19 from pusateri/eslint
Fix some glaring issues reported by eslint in test.js.
2018-01-11 17:12:17 +01:00
Tom Pusateri 5228547b00 Fix some glaring issues reported by eslint. 2018-01-10 22:54:36 -05:00
silverwind 8282bf4c3e Add docs for NS and SOA rrtypes 2018-01-10 19:53:04 +01:00
silverwind 0d8bb78efd 1.3.0 2018-01-10 19:43:49 +01:00
Tom Pusateri 2e59f463e2 Fix encode/decode for root name ('.'). Add tests. Fixes #13. 2018-01-10 19:42:09 +01:00
silverwind 424f9e8809 Merge pull request #17 from pusateri/rcode
Add support for RCODE and other header flag decoding.
2018-01-10 19:34:15 +01:00
Tom Pusateri 0e95e8e18d Convert Opcodes to/from strings. 2018-01-09 20:52:08 -05:00
Tom Pusateri 2474fead8f Add Q/R flag boolean and change other flags to boolean. 2018-01-09 20:51:50 -05:00
Tom Pusateri 549d46e241 Add test for packet decode of header fields. 2018-01-09 20:51:34 -05:00
Tom Pusateri b443e9f0cf for..of won't work in node 0.10, switch to indexing into array. 2018-01-09 20:51:02 -05:00
Tom Pusateri 0a0699cef6 Add rcode conversion tests. 2018-01-09 20:50:51 -05:00
Tom Pusateri 9dad822ee8 Fix return code error and make lint happy. 2018-01-09 20:50:37 -05:00
Tom Pusateri eabaaa5156 Decode RCODE and other header flags. Fixes #11. 2018-01-09 20:50:00 -05:00
Tom Pusateri 5aaf0790d9 Finish adding SOA and NS record encoding/decoding. (#14)
* add ns record and soa record

* npm test with standard

* Complete SOA, NS decoding. Also add encoding and tests.

* updated travis CI tests to stable versions of node.
2018-01-05 18:42:16 +01:00
silverwind f6869562f4 1.2.2 2017-08-16 12:34:58 +02:00
silverwind 79d307ba61 add files array to package.json - fixes #8 2017-08-16 12:34:29 +02:00
silverwind c61f402d48 1.2.1 2017-08-12 22:20:38 +02:00
silverwind e44b28c817 fix fallback for CAA flags 2017-08-12 22:09:43 +02:00
silverwind a39813b2d5 1.2.0 2017-08-12 18:42:17 +02:00
silverwind 03ca378b02 initialize caa flags to 0 when not given 2017-08-12 18:38:56 +02:00
silverwind a69aaa1023 add additional CAA tests 2017-08-12 18:25:10 +02:00
kyleaedwards c1e94b5d69 support CAA records 2017-08-12 18:25:09 +02:00
silverwind a5b461170f add .editorconfig 2017-08-12 16:08:19 +02:00
Mathias Buus 412574eda8 1.1.1 2016-11-11 13:27:22 +09:00
silverwind b2f320b83d use new Buffer APIs (#1) 2016-11-11 13:21:27 +09:00
Mathias Buus b20b693267 1.1.0 2016-02-22 17:37:35 -08:00
Mathias Buus 1d241f5f97 support bit flags 2016-02-22 17:37:12 -08:00
Mathias Buus d939033c83 1.0.2 2016-02-18 13:20:49 -08:00
Mathias Buus 32ca5ff640 fix bug in txt encoding length 2016-02-18 13:20:47 -08:00
Mathias Buus d8d3514ea8 1.0.1 2016-02-18 13:15:37 -08:00
Mathias Buus 00b27da6cc allow null txt records 2016-02-18 13:15:35 -08:00
Mathias Buus 73df75ad39 1.0.0 2016-02-18 12:50:52 -08:00
Mathias Buus bc1cdba704 add travis 2016-02-18 12:49:41 -08:00
Mathias Buus e2643b0312 first commit 2016-02-18 12:48:08 -08:00