summaryrefslogtreecommitdiff
path: root/tests/defs.js
Commit message (Collapse)AuthorAge
* Expose lua.luastring_of to construct a lua 'string' from raw byte valuesdaurnimator2018-01-06
|
* Introduce defs.string_of to create string from bytesdaurnimator2017-12-13
|
* tests/: Fix linter complaintsdaurnimator2017-12-10
|
* 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