Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Expose lua.luastring_of to construct a lua 'string' from raw byte values | daurnimator | 2018-01-06 |
| | |||
* | Introduce defs.string_of to create string from bytes | daurnimator | 2017-12-13 |
| | |||
* | tests/: Fix linter complaints | daurnimator | 2017-12-10 |
| | |||
* | Use `typeof process === "undefined"` instead of WEB global | daurnimator | 2017-12-10 |
| | | | | This removes requirement to set global.WEB before requiring in node | ||
* | src/defs.js: Check for invalid continuation bytes | daurnimator | 2017-11-12 |
| | |||
* | src/defs.js: Refactor to_jsstring | daurnimator | 2017-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_jsstring | daurnimator | 2017-11-12 |
| | |||
* | src/defs.js: Fix conversion of non-BMP unicode codepoints | daurnimator | 2017-11-12 |
Adds tests for to_luastring |