timingsrc 1.4.25 → 1.4.26

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.
Files changed (2) hide show
  1. package/build/es5/bundle.js +3 -3
  2. package/package.json +16 -16
@@ -130,7 +130,7 @@
130
130
  return function (_ref3, currentTime, previousUpdateVectorWithCustomState) {
131
131
  var position = _ref3.position,
132
132
  velocity = _ref3.velocity;
133
- var _ref4 = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== undefined ? previousUpdateVectorWithCustomState : {
133
+ var _ref4 = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== void 0 ? previousUpdateVectorWithCustomState : {
134
134
  mediaElementDelay: 0
135
135
  },
136
136
  mediaElementDelay = _ref4.mediaElementDelay;
@@ -151,7 +151,7 @@
151
151
  var positionDifference = currentTime - position;
152
152
  var absolutePositionDifference = Math.abs(positionDifference);
153
153
  if (absolutePositionDifference > threshold) {
154
- var _ref5 = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== undefined ? previousUpdateVectorWithCustomState : {
154
+ var _ref5 = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== void 0 ? previousUpdateVectorWithCustomState : {
155
155
  position: null
156
156
  },
157
157
  lastPosition = _ref5.position;
@@ -226,7 +226,7 @@
226
226
  var createUpdateStepwiseFactory = function createUpdateStepwiseFactory(translateTimingStateVector) {
227
227
  return function (tolerance) {
228
228
  return function (timingStateVector, currentTime, previousUpdateVectorWithCustomState) {
229
- var _ref = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== undefined ? previousUpdateVectorWithCustomState : {
229
+ var _ref = previousUpdateVectorWithCustomState !== null && previousUpdateVectorWithCustomState !== void 0 ? previousUpdateVectorWithCustomState : {
230
230
  lastAppliedPostion: 0,
231
231
  lastAppliedTimestamp: 0,
232
232
  lastAppliedVelocity: 0,
package/package.json CHANGED
@@ -9,25 +9,25 @@
9
9
  }
10
10
  },
11
11
  "dependencies": {
12
- "@babel/runtime": "^7.26.0",
13
- "subscribable-things": "^2.1.47",
14
- "timing-object": "^3.1.87",
12
+ "@babel/runtime": "^7.26.9",
13
+ "subscribable-things": "^2.1.48",
14
+ "timing-object": "^3.1.88",
15
15
  "tslib": "^2.8.1"
16
16
  },
17
17
  "description": "A library to synchronize a MediaElement with a TimingObject.",
18
18
  "devDependencies": {
19
- "@babel/core": "^7.26.0",
19
+ "@babel/core": "^7.26.9",
20
20
  "@babel/plugin-external-helpers": "^7.25.9",
21
- "@babel/plugin-transform-runtime": "^7.25.9",
22
- "@babel/preset-env": "^7.26.0",
23
- "@commitlint/cli": "^19.6.1",
24
- "@commitlint/config-angular": "^19.7.0",
21
+ "@babel/plugin-transform-runtime": "^7.26.9",
22
+ "@babel/preset-env": "^7.26.9",
23
+ "@commitlint/cli": "^19.7.1",
24
+ "@commitlint/config-angular": "^19.7.1",
25
25
  "@rollup/plugin-babel": "^6.0.4",
26
26
  "chai": "^4.3.10",
27
27
  "commitizen": "^4.3.1",
28
28
  "cz-conventional-changelog": "^3.3.0",
29
29
  "eslint": "^8.57.0",
30
- "eslint-config-holy-grail": "^60.0.18",
30
+ "eslint-config-holy-grail": "^60.0.20",
31
31
  "grunt": "^1.6.1",
32
32
  "grunt-cli": "^1.5.0",
33
33
  "grunt-sh": "^0.2.1",
@@ -40,20 +40,20 @@
40
40
  "karma-sinon-chai": "^2.0.2",
41
41
  "karma-webkit-launcher": "^2.6.0",
42
42
  "karma-webpack": "^5.0.1",
43
- "lint-staged": "^15.3.0",
43
+ "lint-staged": "^15.4.3",
44
44
  "load-grunt-config": "^4.0.1",
45
45
  "mocha": "^10.8.2",
46
- "prettier": "^3.4.2",
46
+ "prettier": "^3.5.2",
47
47
  "rimraf": "^6.0.1",
48
- "rollup": "^4.30.1",
48
+ "rollup": "^4.34.8",
49
49
  "sinon": "^17.0.1",
50
50
  "sinon-chai": "^3.7.0",
51
- "ts-loader": "^9.5.1",
51
+ "ts-loader": "^9.5.2",
52
52
  "tsconfig-holy-grail": "^15.0.2",
53
53
  "tslint": "^6.1.3",
54
54
  "tslint-config-holy-grail": "^56.0.6",
55
- "typescript": "^5.7.2",
56
- "webpack": "^5.97.1"
55
+ "typescript": "^5.7.3",
56
+ "webpack": "^5.98.0"
57
57
  },
58
58
  "files": [
59
59
  "build/es2019/",
@@ -80,5 +80,5 @@
80
80
  "test": "grunt lint && grunt test"
81
81
  },
82
82
  "types": "build/es2019/module.d.ts",
83
- "version": "1.4.25"
83
+ "version": "1.4.26"
84
84
  }