subscribable-things 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -274,3 +274,7 @@ function wakeLock(type: TWakeLockType): SubscribableThing<boolen>;
|
|
|
274
274
|
```
|
|
275
275
|
|
|
276
276
|
This function simplifies the usage of the [Screen Wake Lock API](https://w3c.github.io/screen-wake-lock). It emits true when a wake lock could be acquired and emits false once the wake lock gets released by the browser. As long as the subscription is alive it will continuosly try to get a new wake lock if the current one gets released.
|
|
277
|
+
|
|
278
|
+
## Alternatives
|
|
279
|
+
|
|
280
|
+
There are two similar packages available which are based directly on RxJS. They are [rx-use](https://github.com/streamich/rx-use) and [rxjs-web](https://github.com/niklas-wortmann/rxjs-web).
|
package/package.json
CHANGED
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
},
|
|
22
22
|
"description": "A collection of reactive wrappers for various browser APIs.",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@babel/core": "^7.17.
|
|
24
|
+
"@babel/core": "^7.17.5",
|
|
25
25
|
"@babel/plugin-external-helpers": "^7.16.7",
|
|
26
26
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
27
27
|
"@babel/preset-env": "^7.16.11",
|
|
28
|
-
"@commitlint/cli": "^16.1
|
|
29
|
-
"@commitlint/config-angular": "^16.
|
|
28
|
+
"@commitlint/cli": "^16.2.1",
|
|
29
|
+
"@commitlint/config-angular": "^16.2.1",
|
|
30
30
|
"@rollup/plugin-babel": "^5.3.0",
|
|
31
31
|
"baconjs": "^3.0.17",
|
|
32
|
-
"body-parser": "^1.19.
|
|
32
|
+
"body-parser": "^1.19.2",
|
|
33
33
|
"callbag-basics": "^4.0.0",
|
|
34
34
|
"chai": "^4.3.6",
|
|
35
35
|
"commitizen": "^4.2.4",
|
|
36
36
|
"cz-conventional-changelog": "^3.3.0",
|
|
37
|
-
"eslint": "^8.
|
|
38
|
-
"eslint-config-holy-grail": "^
|
|
37
|
+
"eslint": "^8.9.0",
|
|
38
|
+
"eslint-config-holy-grail": "^52.0.2",
|
|
39
39
|
"grunt": "^1.4.1",
|
|
40
40
|
"grunt-cli": "^1.4.3",
|
|
41
41
|
"grunt-contrib-clean": "^2.0.0",
|
|
42
42
|
"grunt-sh": "^0.2.0",
|
|
43
43
|
"husky": "^7.0.4",
|
|
44
44
|
"hyperf": "^1.3.0",
|
|
45
|
-
"karma": "^6.3.
|
|
45
|
+
"karma": "^6.3.16",
|
|
46
46
|
"karma-browserstack-launcher": "^1.6.0",
|
|
47
47
|
"karma-chrome-launcher": "^3.1.0",
|
|
48
48
|
"karma-firefox-launcher": "^2.1.2",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"kefir": "^3.8.8",
|
|
54
54
|
"load-grunt-config": "^4.0.1",
|
|
55
55
|
"midi-test": "^1.2.0",
|
|
56
|
-
"mocha": "^9.2.
|
|
56
|
+
"mocha": "^9.2.1",
|
|
57
57
|
"prettier": "^2.5.1",
|
|
58
58
|
"pretty-quick": "^3.1.3",
|
|
59
|
-
"rollup": "^2.67.
|
|
60
|
-
"rxjs": "^7.5.
|
|
59
|
+
"rollup": "^2.67.3",
|
|
60
|
+
"rxjs": "^7.5.4",
|
|
61
61
|
"rxjs-for-await": "^1.0.0",
|
|
62
62
|
"sinon": "^11.1.2",
|
|
63
63
|
"sinon-chai": "^3.7.0",
|
|
64
64
|
"ts-loader": "^9.2.6",
|
|
65
|
-
"tsconfig-holy-grail": "^11.1.
|
|
65
|
+
"tsconfig-holy-grail": "^11.1.27",
|
|
66
66
|
"tslint": "^6.1.3",
|
|
67
67
|
"tslint-config-holy-grail": "^53.2.26",
|
|
68
68
|
"typescript": "^4.5.5",
|
|
69
|
-
"webpack": "^5.
|
|
69
|
+
"webpack": "^5.69.1",
|
|
70
70
|
"xstream": "^11.14.0"
|
|
71
71
|
},
|
|
72
72
|
"files": [
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"test": "grunt lint && grunt test"
|
|
96
96
|
},
|
|
97
97
|
"types": "build/es2019/module.d.ts",
|
|
98
|
-
"version": "2.0.
|
|
98
|
+
"version": "2.0.10"
|
|
99
99
|
}
|