timingsrc 1.2.10 → 1.2.12
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/build/es2019/types/prepare-timing-state-vector-function.d.ts +1 -1
- package/build/es2019/types/prepare-timing-state-vector-function.d.ts.map +1 -1
- package/build/es2019/types/update-function.d.ts +1 -1
- package/build/es2019/types/update-function.d.ts.map +1 -1
- package/build/es2019/types/update-vector-with-custom-state.d.ts +1 -1
- package/build/es2019/types/update-vector-with-custom-state.d.ts.map +1 -1
- package/package.json +16 -16
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITimingStateVector } from 'timing-object';
|
|
2
|
-
export
|
|
2
|
+
export type TPrepareTimingStateVectorFunction = (timingStateVector: ITimingStateVector) => ITimingStateVector;
|
|
3
3
|
//# sourceMappingURL=prepare-timing-state-vector-function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-timing-state-vector-function.d.ts","sourceRoot":"","sources":["../../../src/types/prepare-timing-state-vector-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,
|
|
1
|
+
{"version":3,"file":"prepare-timing-state-vector-function.d.ts","sourceRoot":"","sources":["../../../src/types/prepare-timing-state-vector-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,MAAM,iCAAiC,GAAG,CAAC,iBAAiB,EAAE,kBAAkB,KAAK,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITimingStateVector } from 'timing-object';
|
|
2
2
|
import { IUpdateVector } from '../interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type TUpdateFunction<UpdateVectorWithCustomState extends IUpdateVector> = (timingStateVector: ITimingStateVector, currentTime: number, previousUpdateVectorWithCustomState: null | UpdateVectorWithCustomState) => UpdateVectorWithCustomState;
|
|
4
4
|
//# sourceMappingURL=update-function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-function.d.ts","sourceRoot":"","sources":["../../../src/types/update-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,
|
|
1
|
+
{"version":3,"file":"update-function.d.ts","sourceRoot":"","sources":["../../../src/types/update-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,eAAe,CAAC,2BAA2B,SAAS,aAAa,IAAI,CAC7E,iBAAiB,EAAE,kBAAkB,EACrC,WAAW,EAAE,MAAM,EACnB,mCAAmC,EAAE,IAAI,GAAG,2BAA2B,KACtE,2BAA2B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TUpdateFunction } from './update-function';
|
|
2
|
-
export
|
|
2
|
+
export type TUpdateVectorWithCustomState<UpdateFunction> = UpdateFunction extends TUpdateFunction<infer UpdateVectorWithCustomState> ? UpdateVectorWithCustomState : never;
|
|
3
3
|
//# sourceMappingURL=update-vector-with-custom-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-vector-with-custom-state.d.ts","sourceRoot":"","sources":["../../../src/types/update-vector-with-custom-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"update-vector-with-custom-state.d.ts","sourceRoot":"","sources":["../../../src/types/update-vector-with-custom-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,MAAM,4BAA4B,CAAC,cAAc,IAAI,cAAc,SAAS,eAAe,CAAC,MAAM,2BAA2B,CAAC,GAC9H,2BAA2B,GAC3B,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "^7.20.
|
|
13
|
-
"subscribable-things": "^2.1.
|
|
14
|
-
"timing-object": "^3.1.
|
|
12
|
+
"@babel/runtime": "^7.20.6",
|
|
13
|
+
"subscribable-things": "^2.1.11",
|
|
14
|
+
"timing-object": "^3.1.52",
|
|
15
15
|
"tslib": "^2.4.1"
|
|
16
16
|
},
|
|
17
17
|
"description": "A library to synchronize a MediaElement with a TimingObject.",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@babel/core": "^7.20.
|
|
19
|
+
"@babel/core": "^7.20.5",
|
|
20
20
|
"@babel/plugin-external-helpers": "^7.18.6",
|
|
21
21
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
22
22
|
"@babel/preset-env": "^7.20.2",
|
|
23
|
-
"@commitlint/cli": "^17.
|
|
24
|
-
"@commitlint/config-angular": "^17.
|
|
23
|
+
"@commitlint/cli": "^17.3.0",
|
|
24
|
+
"@commitlint/config-angular": "^17.3.0",
|
|
25
25
|
"@rollup/plugin-babel": "^5.3.1",
|
|
26
|
-
"chai": "^4.3.
|
|
27
|
-
"commitizen": "^4.2.
|
|
26
|
+
"chai": "^4.3.7",
|
|
27
|
+
"commitizen": "^4.2.6",
|
|
28
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
29
|
-
"eslint": "^8.
|
|
29
|
+
"eslint": "^8.29.0",
|
|
30
30
|
"eslint-config-holy-grail": "^52.0.33",
|
|
31
31
|
"grunt": "^1.5.3",
|
|
32
32
|
"grunt-cli": "^1.4.3",
|
|
33
33
|
"grunt-sh": "^0.2.0",
|
|
34
|
-
"husky": "^8.0.
|
|
34
|
+
"husky": "^8.0.2",
|
|
35
35
|
"karma": "^6.4.1",
|
|
36
36
|
"karma-browserstack-launcher": "^1.6.0",
|
|
37
37
|
"karma-chrome-launcher": "^3.1.1",
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"karma-webpack": "^5.0.0",
|
|
43
43
|
"load-grunt-config": "^4.0.1",
|
|
44
44
|
"mocha": "^10.1.0",
|
|
45
|
-
"prettier": "^2.
|
|
45
|
+
"prettier": "^2.8.1",
|
|
46
46
|
"pretty-quick": "^3.1.3",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"rollup": "^2.79.1",
|
|
49
|
-
"sinon": "^14.0.
|
|
49
|
+
"sinon": "^14.0.2",
|
|
50
50
|
"sinon-chai": "^3.7.0",
|
|
51
|
-
"ts-loader": "^9.4.
|
|
51
|
+
"ts-loader": "^9.4.2",
|
|
52
52
|
"tsconfig-holy-grail": "^11.1.36",
|
|
53
53
|
"tslint": "^6.1.3",
|
|
54
54
|
"tslint-config-holy-grail": "^53.2.34",
|
|
55
|
-
"typescript": "^4.
|
|
56
|
-
"webpack": "^5.
|
|
55
|
+
"typescript": "^4.9.4",
|
|
56
|
+
"webpack": "^5.75.0"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"build/es2019/",
|
|
@@ -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.12"
|
|
79
79
|
}
|