@hyperframes/core 0.8.197 → 0.8.199
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/dist/previewProxyBox.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/** Query parameter carrying the largest box, in device pixels, a preview shows a proxied video at. */
|
|
2
2
|
export const PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
|
|
3
|
-
// 256 * 2^(k/
|
|
4
|
-
const RUNGS = [
|
|
3
|
+
// 256 * 2^(k/4), even: nearby boxes share one cached copy, and a rung overshoots by at most ~19%.
|
|
4
|
+
const RUNGS = [
|
|
5
|
+
256, 304, 362, 430, 512, 608, 724, 862, 1024, 1218, 1448, 1722, 2048, 2436, 2896, 3444, 4096,
|
|
6
|
+
4870, 5792, 6888, 8192,
|
|
7
|
+
];
|
|
5
8
|
function rungAtLeast(pixels) {
|
|
6
9
|
if (!(pixels > 0))
|
|
7
10
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.199",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -397,9 +397,9 @@
|
|
|
397
397
|
"linkedom": "^0.18.12",
|
|
398
398
|
"postcss": "^8.5.8",
|
|
399
399
|
"wawoff2": "^2.0.1",
|
|
400
|
-
"@hyperframes/lint": "0.8.
|
|
401
|
-
"@hyperframes/parsers": "0.8.
|
|
402
|
-
"@hyperframes/studio-server": "0.8.
|
|
400
|
+
"@hyperframes/lint": "0.8.199",
|
|
401
|
+
"@hyperframes/parsers": "0.8.199",
|
|
402
|
+
"@hyperframes/studio-server": "0.8.199"
|
|
403
403
|
},
|
|
404
404
|
"devDependencies": {
|
|
405
405
|
"@fontsource/archivo-black": "^5.2.8",
|