We have published a new Total.js version v2.2.0. This version fixes 2 critical bugs and brings great new features.
npm install total.js
nosql.modify()
didn't work correctly with defined fields with undefined
valuesFrameworkImage
had a big critical security bug for bash
injections (100x thanks to Luis Figueiredo)RESTBuilder
can create requests to other web services - read docscontroller.proxy2(url, [callback], [headers], [timeout])
creates a real proxy (helpful for API)image.watermark(filename, , [y], [width], [height])
adds a watermark to an imageallow-cache-snapshot
(a new config value) makes the cache persisting the framework restartsresponse.noCompress = true
disables JS/HTML/CSS compilations/compressions, helpful for file handlersdebug.js
has been updated and we have added timestamps$ tpm -help
F.onLocate
has been renamed to F.onLocale
with backward compatibilityNote: Total.js works correctly on Node.js v7.