timingsrc 1.2.13 → 1.2.14
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.
|
@@ -9,8 +9,8 @@ export const determineSupportedPlaybackRateValues = (window) => {
|
|
|
9
9
|
audio.playbackRate = 17;
|
|
10
10
|
}
|
|
11
11
|
catch {
|
|
12
|
-
// Bug #1: Chrome does not support values below 0.
|
|
13
|
-
return [0.
|
|
12
|
+
// Bug #1: Chrome does not support values below 0.0625.
|
|
13
|
+
return [0.0625, 16];
|
|
14
14
|
}
|
|
15
15
|
try {
|
|
16
16
|
// Bug #3: Firefox does not support negative values.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"determine-supported-playback-rate-values.js","sourceRoot":"","sources":["../../../src/functions/determine-supported-playback-rate-values.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAU,CAAC;AAErE,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,MAAuC,EAA6B,EAAE;IACvH,IAAI,MAAM,KAAK,IAAI,EAAE;QACjB,OAAO,cAAc,CAAC;KACzB;IAED,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;IAEjC,IAAI;QACA,mDAAmD;QACnD,KAAK,CAAC,YAAY,GAAG,EAAE,CAAC;KAC3B;IAAC,MAAM;QACJ,
|
|
1
|
+
{"version":3,"file":"determine-supported-playback-rate-values.js","sourceRoot":"","sources":["../../../src/functions/determine-supported-playback-rate-values.ts"],"names":[],"mappings":"AAEA,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAU,CAAC;AAErE,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,MAAuC,EAA6B,EAAE;IACvH,IAAI,MAAM,KAAK,IAAI,EAAE;QACjB,OAAO,cAAc,CAAC;KACzB;IAED,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;IAEjC,IAAI;QACA,mDAAmD;QACnD,KAAK,CAAC,YAAY,GAAG,EAAE,CAAC;KAC3B;IAAC,MAAM;QACJ,uDAAuD;QACvD,OAAO,CAAC,MAAM,EAAE,EAAE,CAAU,CAAC;KAChC;IAED,IAAI;QACA,oDAAoD;QACpD,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC;KAC3B;IAAC,MAAM;QACJ,OAAO,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAU,CAAC;KAC1C;IAED,OAAO,cAAc,CAAC;AAC1B,CAAC,CAAC"}
|
package/build/es5/bundle.js
CHANGED
|
@@ -331,8 +331,8 @@
|
|
|
331
331
|
// Bug #2: Chrome does not support values above 16.
|
|
332
332
|
audio.playbackRate = 17;
|
|
333
333
|
} catch (_unused) {
|
|
334
|
-
// Bug #1: Chrome does not support values below 0.
|
|
335
|
-
return [0.
|
|
334
|
+
// Bug #1: Chrome does not support values below 0.0625.
|
|
335
|
+
return [0.0625, 16];
|
|
336
336
|
}
|
|
337
337
|
try {
|
|
338
338
|
// Bug #3: Firefox does not support negative values.
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "^7.20.
|
|
12
|
+
"@babel/runtime": "^7.20.13",
|
|
13
13
|
"subscribable-things": "^2.1.12",
|
|
14
14
|
"timing-object": "^3.1.53",
|
|
15
15
|
"tslib": "^2.4.1"
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@commitlint/config-angular": "^17.4.2",
|
|
25
25
|
"@rollup/plugin-babel": "^6.0.3",
|
|
26
26
|
"chai": "^4.3.7",
|
|
27
|
-
"commitizen": "^4.
|
|
27
|
+
"commitizen": "^4.3.0",
|
|
28
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
29
29
|
"eslint": "^8.32.0",
|
|
30
|
-
"eslint-config-holy-grail": "^55.0.
|
|
30
|
+
"eslint-config-holy-grail": "^55.0.4",
|
|
31
31
|
"grunt": "^1.5.3",
|
|
32
32
|
"grunt-cli": "^1.4.3",
|
|
33
33
|
"grunt-sh": "^0.2.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"mocha": "^10.2.0",
|
|
45
45
|
"prettier": "^2.8.3",
|
|
46
46
|
"pretty-quick": "^3.1.3",
|
|
47
|
-
"rimraf": "^4.1.
|
|
48
|
-
"rollup": "^3.10.
|
|
47
|
+
"rimraf": "^4.1.2",
|
|
48
|
+
"rollup": "^3.10.1",
|
|
49
49
|
"sinon": "^15.0.1",
|
|
50
50
|
"sinon-chai": "^3.7.0",
|
|
51
51
|
"ts-loader": "^9.4.2",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"test": "grunt lint && grunt test"
|
|
76
76
|
},
|
|
77
77
|
"types": "build/es2019/module.d.ts",
|
|
78
|
-
"version": "1.2.
|
|
78
|
+
"version": "1.2.14"
|
|
79
79
|
}
|
|
@@ -13,8 +13,8 @@ export const determineSupportedPlaybackRateValues = (window: ReturnType<typeof c
|
|
|
13
13
|
// Bug #2: Chrome does not support values above 16.
|
|
14
14
|
audio.playbackRate = 17;
|
|
15
15
|
} catch {
|
|
16
|
-
// Bug #1: Chrome does not support values below 0.
|
|
17
|
-
return [0.
|
|
16
|
+
// Bug #1: Chrome does not support values below 0.0625.
|
|
17
|
+
return [0.0625, 16] as const;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
try {
|