feat: Add presence heartbeat for Matrix online status
- matrix-gateway: POST /internal/matrix/presence/online endpoint - usePresenceHeartbeat hook with activity tracking - Auto away after 5 min inactivity - Offline on page close/visibility change - Integrated in MatrixChatRoom component
This commit is contained in:
108
node_modules/prelude-ls/CHANGELOG.md
generated
vendored
Normal file
108
node_modules/prelude-ls/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
# 1.2.1
|
||||
- fix version
|
||||
|
||||
# 1.2.0
|
||||
- add `List.remove`
|
||||
- build with LiveScript 1.6.0
|
||||
- update dependencies
|
||||
- remove coverage calculation
|
||||
|
||||
# 1.1.2
|
||||
- add `Func.memoize`
|
||||
- fix `zip-all` and `zip-with-all` corner case (no input)
|
||||
- build with LiveScript 1.4.0
|
||||
|
||||
# 1.1.1
|
||||
- curry `unique-by`, `minimum-by`
|
||||
|
||||
# 1.1.0
|
||||
- added `List` functions: `maximum-by`, `minimum-by`, `unique-by`
|
||||
- added `List` functions: `at`, `elem-index`, `elem-indices`, `find-index`, `find-indices`
|
||||
- added `Str` functions: `capitalize`, `camelize`, `dasherize`
|
||||
- added `Func` function: `over` - eg. ``same-length = (==) `over` (.length)``
|
||||
- exported `Str.repeat` through main `prelude` object
|
||||
- fixed definition of `foldr` and `foldr1`, the new correct definition is backwards incompatible with the old, incorrect one
|
||||
- fixed issue with `fix`
|
||||
- improved code coverage
|
||||
|
||||
# 1.0.3
|
||||
- build browser versions
|
||||
|
||||
# 1.0.2
|
||||
- bug fix for `flatten` - slight change with bug fix, flattens arrays only, not array-like objects
|
||||
|
||||
# 1.0.1
|
||||
- bug fixes for `drop-while` and `take-while`
|
||||
|
||||
# 1.0.0
|
||||
* massive update - separated functions into separate modules
|
||||
* functions do not accept multiple types anymore - use different versions in their respective modules in some cases (eg. `Obj.map`), or use `chars` or `values` in other cases to transform into a list
|
||||
* objects are no longer transformed into functions, simply use `(obj.)` in LiveScript to do that
|
||||
* browser version now using browserify - use `prelude = require('prelude-ls')`
|
||||
* added `compact`, `split`, `flatten`, `difference`, `intersection`, `union`, `count-by`, `group-by`, `chars`, `unchars`, `apply`
|
||||
* added `lists-to-obj` which takes a list of keys and list of values and zips them up into an object, and the converse `obj-to-lists`
|
||||
* added `pairs-to-obj` which takes a list of pairs (2 element lists) and creates an object, and the converse `obj-to-pairs`
|
||||
* removed `cons`, `append` - use the concat operator
|
||||
* removed `compose` - use the compose operator
|
||||
* removed `obj-to-func` - use partially applied access (eg. `(obj.)`)
|
||||
* removed `length` - use `(.length)`
|
||||
* `sort-by` renamed to `sort-with`
|
||||
* added new `sort-by`
|
||||
* removed `compare` - just use the new `sort-by`
|
||||
* `break-it` renamed `break-list`, (`Str.break-str` for the string version)
|
||||
* added `Str.repeat` which creates a new string by repeating the input n times
|
||||
* `unfold` as alias to `unfoldr` is no longer used
|
||||
* fixed up style and compiled with LiveScript 1.1.1
|
||||
* use Make instead of Slake
|
||||
* greatly improved tests
|
||||
|
||||
# 0.6.0
|
||||
* fixed various bugs
|
||||
* added `fix`, a fixpoint (Y combinator) for anonymous recursive functions
|
||||
* added `unfoldr` (alias `unfold`)
|
||||
* calling `replicate` with a string now returns a list of strings
|
||||
* removed `partial`, just use native partial application in LiveScript using the `_` placeholder, or currying
|
||||
* added `sort`, `sortBy`, and `compare`
|
||||
|
||||
# 0.5.0
|
||||
* removed `lookup` - use (.prop)
|
||||
* removed `call` - use (.func arg1, arg2)
|
||||
* removed `pluck` - use map (.prop), xs
|
||||
* fixed buys wtih `head` and `last`
|
||||
* added non-minifed browser version, as `prelude-browser.js`
|
||||
* renamed `prelude-min.js` to `prelude-browser-min.js`
|
||||
* renamed `zip` to `zipAll`
|
||||
* renamed `zipWith` to `zipAllWith`
|
||||
* added `zip`, a curried zip that takes only two arguments
|
||||
* added `zipWith`, a curried zipWith that takes only two arguments
|
||||
|
||||
# 0.4.0
|
||||
* added `parition` function
|
||||
* added `curry` function
|
||||
* removed `elem` function (use `in`)
|
||||
* removed `notElem` function (use `not in`)
|
||||
|
||||
# 0.3.0
|
||||
* added `listToObject`
|
||||
* added `unique`
|
||||
* added `objToFunc`
|
||||
* added support for using strings in map and the like
|
||||
* added support for using objects in map and the like
|
||||
* added ability to use objects instead of functions in certain cases
|
||||
* removed `error` (just use throw)
|
||||
* added `tau` constant
|
||||
* added `join`
|
||||
* added `values`
|
||||
* added `keys`
|
||||
* added `partial`
|
||||
* renamed `log` to `ln`
|
||||
* added alias to `head`: `first`
|
||||
* added `installPrelude` helper
|
||||
|
||||
# 0.2.0
|
||||
* removed functions that simply warp operators as you can now use operators as functions in LiveScript
|
||||
* `min/max` are now curried and take only 2 arguments
|
||||
* added `call`
|
||||
|
||||
# 0.1.0
|
||||
* initial public release
|
||||
22
node_modules/prelude-ls/LICENSE
generated
vendored
Normal file
22
node_modules/prelude-ls/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
Copyright (c) George Zahariev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
15
node_modules/prelude-ls/README.md
generated
vendored
Normal file
15
node_modules/prelude-ls/README.md
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# prelude.ls [](https://travis-ci.org/gkz/prelude-ls)
|
||||
|
||||
is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, <a href="http://livescript.net">LiveScript</a>.
|
||||
|
||||
See **[the prelude.ls site](http://preludels.com)** for examples, a reference, and more.
|
||||
|
||||
You can install via npm `npm install prelude-ls`
|
||||
|
||||
### Development
|
||||
|
||||
`make test` to test
|
||||
|
||||
`make build` to build `lib` from `src`
|
||||
|
||||
`make build-browser` to build browser versions
|
||||
46
node_modules/prelude-ls/package.json
generated
vendored
Normal file
46
node_modules/prelude-ls/package.json
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "prelude-ls",
|
||||
"version": "1.2.1",
|
||||
"author": "George Zahariev <z@georgezahariev.com>",
|
||||
"description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.",
|
||||
"keywords": [
|
||||
"prelude",
|
||||
"livescript",
|
||||
"utility",
|
||||
"ls",
|
||||
"coffeescript",
|
||||
"javascript",
|
||||
"library",
|
||||
"functional",
|
||||
"array",
|
||||
"list",
|
||||
"object",
|
||||
"string"
|
||||
],
|
||||
"main": "lib/",
|
||||
"files": [
|
||||
"lib/",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"homepage": "http://preludels.com",
|
||||
"bugs": "https://github.com/gkz/prelude-ls/issues",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/gkz/prelude-ls.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"livescript": "^1.6.0",
|
||||
"uglify-js": "^3.8.1",
|
||||
"mocha": "^7.1.1",
|
||||
"browserify": "^16.5.1",
|
||||
"sinon": "~8.0.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user