aboutsummaryrefslogtreecommitdiff
path: root/tests/defs.js
Commit message (Collapse)AuthorAge
* Use `typeof process === "undefined"` instead of WEB globaldaurnimator2017-12-10
| | | | This removes requirement to set global.WEB before requiring in node
* src/defs.js: Check for invalid continuation bytesdaurnimator2017-11-12
|
* src/defs.js: Refactor to_jsstringdaurnimator2017-11-12
| | | | | Now fails on non-utf8 input. Previously it would convert to equivalent unicode codepoints as bytes, which did not round-trip
* tests/defs.js: Also test to_jsstringdaurnimator2017-11-12
|
* src/defs.js: Fix conversion of non-BMP unicode codepointsdaurnimator2017-11-12
Adds tests for to_luastring