From 3955e28beddc275a169b111e92e20ad6df2095aa Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Tue, 2 Apr 2024 23:59:32 +0200 Subject: [PATCH] bump version: 4.8.0 --- .../ast/source/plugins/ts-ebml-plugin.js.json | 3707 +++++++++-------- .../file/js/plugins/ts-ebml-plugin.js.html | 8 +- docs/api/index.json | 4 +- docs/api/source.html | 4 +- package-lock.json | 4 +- package.json | 2 +- 6 files changed, 1883 insertions(+), 1846 deletions(-) diff --git a/docs/api/ast/source/plugins/ts-ebml-plugin.js.json b/docs/api/ast/source/plugins/ts-ebml-plugin.js.json index f0c974f8..55583492 100644 --- a/docs/api/ast/source/plugins/ts-ebml-plugin.js.json +++ b/docs/api/ast/source/plugins/ts-ebml-plugin.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 2295, + "end": 2286, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 2295, + "end": 2286, "loc": { "start": { "line": 1, @@ -479,7 +479,7 @@ { "type": "ImportDeclaration", "start": 270, - "end": 326, + "end": 302, "loc": { "start": { "line": 14, @@ -487,219 +487,55 @@ }, "end": { "line": 14, - "column": 56 + "column": 32 } }, "specifiers": [ { - "type": "ImportSpecifier", - "start": 278, - "end": 285, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 278, - "end": 285, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "Decoder" - }, - "name": "Decoder" - }, - "local": { - "type": "Identifier", - "start": 278, - "end": 285, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "Decoder" - }, - "name": "Decoder" - } - }, - { - "type": "ImportSpecifier", - "start": 287, - "end": 294, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 287, - "end": 294, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 24 - }, - "identifierName": "Encoder" - }, - "name": "Encoder" - }, - "local": { - "type": "Identifier", - "start": 287, - "end": 294, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 24 - }, - "identifierName": "Encoder" - }, - "name": "Encoder" - } - }, - { - "type": "ImportSpecifier", - "start": 296, - "end": 301, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 31 - } - }, - "imported": { - "type": "Identifier", - "start": 296, - "end": 301, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 31 - }, - "identifierName": "tools" - }, - "name": "tools" - }, - "local": { - "type": "Identifier", - "start": 296, - "end": 301, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 31 - }, - "identifierName": "tools" - }, - "name": "tools" - } - }, - { - "type": "ImportSpecifier", - "start": 303, - "end": 309, + "type": "ImportNamespaceSpecifier", + "start": 277, + "end": 286, "loc": { "start": { "line": 14, - "column": 33 + "column": 7 }, "end": { "line": 14, - "column": 39 + "column": 16 } }, - "imported": { - "type": "Identifier", - "start": 303, - "end": 309, - "loc": { - "start": { - "line": 14, - "column": 33 - }, - "end": { - "line": 14, - "column": 39 - }, - "identifierName": "Reader" - }, - "name": "Reader" - }, "local": { "type": "Identifier", - "start": 303, - "end": 309, + "start": 282, + "end": 286, "loc": { "start": { "line": 14, - "column": 33 + "column": 12 }, "end": { "line": 14, - "column": 39 + "column": 16 }, - "identifierName": "Reader" + "identifierName": "ebml" }, - "name": "Reader" + "name": "ebml" } } ], "source": { "type": "StringLiteral", - "start": 316, - "end": 325, + "start": 292, + "end": 301, "loc": { "start": { "line": 14, - "column": 46 + "column": 22 }, "end": { "line": 14, - "column": 55 + "column": 31 } }, "extra": { @@ -712,8 +548,8 @@ { "type": "CommentBlock", "value": "*\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n ", - "start": 330, - "end": 502, + "start": 306, + "end": 478, "loc": { "start": { "line": 16, @@ -729,8 +565,8 @@ }, { "type": "Identifier", - "start": 504, - "end": 2203, + "start": 480, + "end": 2194, "loc": { "start": { "line": 24, @@ -743,8 +579,8 @@ }, "id": { "type": "Identifier", - "start": 510, - "end": 522, + "start": 486, + "end": 498, "loc": { "start": { "line": 24, @@ -761,8 +597,8 @@ }, "superClass": { "type": "Identifier", - "start": 531, - "end": 544, + "start": 507, + "end": 520, "loc": { "start": { "line": 24, @@ -778,8 +614,8 @@ }, "body": { "type": "ClassBody", - "start": 545, - "end": 2203, + "start": 521, + "end": 2194, "loc": { "start": { "line": 24, @@ -793,8 +629,8 @@ "body": [ { "type": "ClassMethod", - "start": 674, - "end": 2200, + "start": 650, + "end": 2191, "loc": { "start": { "line": 30, @@ -809,8 +645,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 674, - "end": 681, + "start": 650, + "end": 657, "loc": { "start": { "line": 30, @@ -833,8 +669,8 @@ "params": [ { "type": "Identifier", - "start": 682, - "end": 686, + "start": 658, + "end": 662, "loc": { "start": { "line": 30, @@ -851,8 +687,8 @@ ], "body": { "type": "BlockStatement", - "start": 688, - "end": 2200, + "start": 664, + "end": 2191, "loc": { "start": { "line": 30, @@ -866,8 +702,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 699, - "end": 729, + "start": 675, + "end": 710, "loc": { "start": { "line": 31, @@ -875,14 +711,14 @@ }, "end": { "line": 31, - "column": 38 + "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 705, - "end": 728, + "start": 681, + "end": 709, "loc": { "start": { "line": 31, @@ -890,13 +726,13 @@ }, "end": { "line": 31, - "column": 37 + "column": 42 } }, "id": { "type": "Identifier", - "start": 705, - "end": 712, + "start": 681, + "end": 688, "loc": { "start": { "line": 31, @@ -912,8 +748,8 @@ }, "init": { "type": "NewExpression", - "start": 715, - "end": 728, + "start": 691, + "end": 709, "loc": { "start": { "line": 31, @@ -921,13 +757,13 @@ }, "end": { "line": 31, - "column": 37 + "column": 42 } }, "callee": { - "type": "Identifier", - "start": 719, - "end": 726, + "type": "MemberExpression", + "start": 695, + "end": 707, "loc": { "start": { "line": 31, @@ -935,11 +771,44 @@ }, "end": { "line": 31, - "column": 35 + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 695, + "end": 699, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 32 + }, + "identifierName": "ebml" + }, + "name": "ebml" + }, + "property": { + "type": "Identifier", + "start": 700, + "end": 707, + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 40 + }, + "identifierName": "Decoder" }, - "identifierName": "Decoder" + "name": "Decoder" }, - "name": "Decoder" + "computed": false }, "arguments": [] } @@ -949,8 +818,8 @@ }, { "type": "VariableDeclaration", - "start": 739, - "end": 767, + "start": 720, + "end": 753, "loc": { "start": { "line": 32, @@ -958,14 +827,14 @@ }, "end": { "line": 32, - "column": 36 + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 745, - "end": 766, + "start": 726, + "end": 752, "loc": { "start": { "line": 32, @@ -973,13 +842,13 @@ }, "end": { "line": 32, - "column": 35 + "column": 40 } }, "id": { "type": "Identifier", - "start": 745, - "end": 751, + "start": 726, + "end": 732, "loc": { "start": { "line": 32, @@ -995,8 +864,8 @@ }, "init": { "type": "NewExpression", - "start": 754, - "end": 766, + "start": 735, + "end": 752, "loc": { "start": { "line": 32, @@ -1004,13 +873,13 @@ }, "end": { "line": 32, - "column": 35 + "column": 40 } }, "callee": { - "type": "Identifier", - "start": 758, - "end": 764, + "type": "MemberExpression", + "start": 739, + "end": 750, "loc": { "start": { "line": 32, @@ -1018,11 +887,44 @@ }, "end": { "line": 32, - "column": 33 + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 739, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 31 + }, + "identifierName": "ebml" + }, + "name": "ebml" + }, + "property": { + "type": "Identifier", + "start": 744, + "end": 750, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 38 + }, + "identifierName": "Reader" }, - "identifierName": "Reader" + "name": "Reader" }, - "name": "Reader" + "computed": false }, "arguments": [] } @@ -1032,8 +934,8 @@ }, { "type": "ExpressionStatement", - "start": 777, - "end": 800, + "start": 763, + "end": 786, "loc": { "start": { "line": 33, @@ -1046,8 +948,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 777, - "end": 799, + "start": 763, + "end": 785, "loc": { "start": { "line": 33, @@ -1061,8 +963,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 777, - "end": 791, + "start": 763, + "end": 777, "loc": { "start": { "line": 33, @@ -1075,8 +977,8 @@ }, "object": { "type": "Identifier", - "start": 777, - "end": 783, + "start": 763, + "end": 769, "loc": { "start": { "line": 33, @@ -1092,8 +994,8 @@ }, "property": { "type": "Identifier", - "start": 784, - "end": 791, + "start": 770, + "end": 777, "loc": { "start": { "line": 33, @@ -1111,8 +1013,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 794, - "end": 799, + "start": 780, + "end": 785, "loc": { "start": { "line": 33, @@ -1129,8 +1031,8 @@ }, { "type": "ExpressionStatement", - "start": 810, - "end": 847, + "start": 796, + "end": 833, "loc": { "start": { "line": 34, @@ -1143,8 +1045,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 810, - "end": 846, + "start": 796, + "end": 832, "loc": { "start": { "line": 34, @@ -1158,8 +1060,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 810, - "end": 838, + "start": 796, + "end": 824, "loc": { "start": { "line": 34, @@ -1172,8 +1074,8 @@ }, "object": { "type": "Identifier", - "start": 810, - "end": 816, + "start": 796, + "end": 802, "loc": { "start": { "line": 34, @@ -1189,8 +1091,8 @@ }, "property": { "type": "Identifier", - "start": 817, - "end": 838, + "start": 803, + "end": 824, "loc": { "start": { "line": 34, @@ -1208,8 +1110,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 841, - "end": 846, + "start": 827, + "end": 832, "loc": { "start": { "line": 34, @@ -1227,8 +1129,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -1244,8 +1146,8 @@ }, { "type": "VariableDeclaration", - "start": 886, - "end": 915, + "start": 872, + "end": 901, "loc": { "start": { "line": 37, @@ -1259,8 +1161,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 892, - "end": 914, + "start": 878, + "end": 900, "loc": { "start": { "line": 37, @@ -1273,8 +1175,8 @@ }, "id": { "type": "Identifier", - "start": 892, - "end": 901, + "start": 878, + "end": 887, "loc": { "start": { "line": 37, @@ -1291,8 +1193,8 @@ }, "init": { "type": "NewExpression", - "start": 904, - "end": 914, + "start": 890, + "end": 900, "loc": { "start": { "line": 37, @@ -1305,8 +1207,8 @@ }, "callee": { "type": "Identifier", - "start": 908, - "end": 912, + "start": 894, + "end": 898, "loc": { "start": { "line": 37, @@ -1330,8 +1232,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -1347,8 +1249,8 @@ }, { "type": "ExpressionStatement", - "start": 925, - "end": 962, + "start": 911, + "end": 948, "loc": { "start": { "line": 38, @@ -1361,8 +1263,8 @@ }, "expression": { "type": "CallExpression", - "start": 925, - "end": 961, + "start": 911, + "end": 947, "loc": { "start": { "line": 38, @@ -1375,8 +1277,8 @@ }, "callee": { "type": "MemberExpression", - "start": 925, - "end": 942, + "start": 911, + "end": 928, "loc": { "start": { "line": 38, @@ -1389,8 +1291,8 @@ }, "object": { "type": "Identifier", - "start": 925, - "end": 934, + "start": 911, + "end": 920, "loc": { "start": { "line": 38, @@ -1406,8 +1308,8 @@ }, "property": { "type": "Identifier", - "start": 935, - "end": 942, + "start": 921, + "end": 928, "loc": { "start": { "line": 38, @@ -1426,8 +1328,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 943, - "end": 960, + "start": 929, + "end": 946, "loc": { "start": { "line": 38, @@ -1440,8 +1342,8 @@ }, "object": { "type": "Identifier", - "start": 943, - "end": 947, + "start": 929, + "end": 933, "loc": { "start": { "line": 38, @@ -1457,8 +1359,8 @@ }, "property": { "type": "Identifier", - "start": 948, - "end": 960, + "start": 934, + "end": 946, "loc": { "start": { "line": 38, @@ -1480,8 +1382,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -1497,8 +1399,8 @@ }, { "type": "ExpressionStatement", - "start": 1003, - "end": 1041, + "start": 989, + "end": 1027, "loc": { "start": { "line": 41, @@ -1511,8 +1413,8 @@ }, "expression": { "type": "CallExpression", - "start": 1003, - "end": 1040, + "start": 989, + "end": 1026, "loc": { "start": { "line": 41, @@ -1525,8 +1427,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1003, - "end": 1024, + "start": 989, + "end": 1010, "loc": { "start": { "line": 41, @@ -1539,8 +1441,8 @@ }, "object": { "type": "CallExpression", - "start": 1003, - "end": 1016, + "start": 989, + "end": 1002, "loc": { "start": { "line": 41, @@ -1553,8 +1455,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1003, - "end": 1014, + "start": 989, + "end": 1000, "loc": { "start": { "line": 41, @@ -1567,8 +1469,8 @@ }, "object": { "type": "ThisExpression", - "start": 1003, - "end": 1007, + "start": 989, + "end": 993, "loc": { "start": { "line": 41, @@ -1583,8 +1485,8 @@ }, "property": { "type": "Identifier", - "start": 1008, - "end": 1014, + "start": 994, + "end": 1000, "loc": { "start": { "line": 41, @@ -1606,8 +1508,8 @@ }, "property": { "type": "Identifier", - "start": 1017, - "end": 1024, + "start": 1003, + "end": 1010, "loc": { "start": { "line": 41, @@ -1627,8 +1529,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1025, - "end": 1039, + "start": 1011, + "end": 1025, "loc": { "start": { "line": 41, @@ -1652,8 +1554,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -1670,8 +1572,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -1687,8 +1589,8 @@ }, { "type": "ExpressionStatement", - "start": 1087, - "end": 2193, + "start": 1073, + "end": 2184, "loc": { "start": { "line": 44, @@ -1701,8 +1603,8 @@ }, "expression": { "type": "CallExpression", - "start": 1087, - "end": 2192, + "start": 1073, + "end": 2183, "loc": { "start": { "line": 44, @@ -1715,8 +1617,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1087, - "end": 1111, + "start": 1073, + "end": 1097, "loc": { "start": { "line": 44, @@ -1729,8 +1631,8 @@ }, "object": { "type": "CallExpression", - "start": 1087, - "end": 1106, + "start": 1073, + "end": 1092, "loc": { "start": { "line": 44, @@ -1743,8 +1645,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1087, - "end": 1100, + "start": 1073, + "end": 1086, "loc": { "start": { "line": 44, @@ -1757,8 +1659,8 @@ }, "object": { "type": "ThisExpression", - "start": 1087, - "end": 1091, + "start": 1073, + "end": 1077, "loc": { "start": { "line": 44, @@ -1773,8 +1675,8 @@ }, "property": { "type": "Identifier", - "start": 1092, - "end": 1100, + "start": 1078, + "end": 1086, "loc": { "start": { "line": 44, @@ -1794,8 +1696,8 @@ "arguments": [ { "type": "Identifier", - "start": 1101, - "end": 1105, + "start": 1087, + "end": 1091, "loc": { "start": { "line": 44, @@ -1814,8 +1716,8 @@ }, "property": { "type": "Identifier", - "start": 1107, - "end": 1111, + "start": 1093, + "end": 1097, "loc": { "start": { "line": 44, @@ -1835,8 +1737,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1112, - "end": 2191, + "start": 1098, + "end": 2182, "loc": { "start": { "line": 44, @@ -1854,8 +1756,8 @@ "params": [ { "type": "Identifier", - "start": 1113, - "end": 1119, + "start": 1099, + "end": 1105, "loc": { "start": { "line": 44, @@ -1872,8 +1774,8 @@ ], "body": { "type": "BlockStatement", - "start": 1124, - "end": 2191, + "start": 1110, + "end": 2182, "loc": { "start": { "line": 44, @@ -1887,8 +1789,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1162, - "end": 1196, + "start": 1148, + "end": 1182, "loc": { "start": { "line": 46, @@ -1902,8 +1804,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1166, - "end": 1195, + "start": 1152, + "end": 1181, "loc": { "start": { "line": 46, @@ -1916,8 +1818,8 @@ }, "id": { "type": "Identifier", - "start": 1166, - "end": 1170, + "start": 1152, + "end": 1156, "loc": { "start": { "line": 46, @@ -1934,8 +1836,8 @@ }, "init": { "type": "CallExpression", - "start": 1173, - "end": 1195, + "start": 1159, + "end": 1181, "loc": { "start": { "line": 46, @@ -1948,8 +1850,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1173, - "end": 1187, + "start": 1159, + "end": 1173, "loc": { "start": { "line": 46, @@ -1962,8 +1864,8 @@ }, "object": { "type": "Identifier", - "start": 1173, - "end": 1180, + "start": 1159, + "end": 1166, "loc": { "start": { "line": 46, @@ -1979,8 +1881,8 @@ }, "property": { "type": "Identifier", - "start": 1181, - "end": 1187, + "start": 1167, + "end": 1173, "loc": { "start": { "line": 46, @@ -1999,8 +1901,8 @@ "arguments": [ { "type": "Identifier", - "start": 1188, - "end": 1194, + "start": 1174, + "end": 1180, "loc": { "start": { "line": 46, @@ -2024,8 +1926,8 @@ { "type": "CommentLine", "value": " decode", - "start": 1139, - "end": 1148, + "start": 1125, + "end": 1134, "loc": { "start": { "line": 45, @@ -2042,8 +1944,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -2059,8 +1961,8 @@ }, { "type": "VariableDeclaration", - "start": 1302, - "end": 1364, + "start": 1288, + "end": 1350, "loc": { "start": { "line": 49, @@ -2074,8 +1976,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1308, - "end": 1363, + "start": 1294, + "end": 1349, "loc": { "start": { "line": 49, @@ -2088,8 +1990,8 @@ }, "id": { "type": "Identifier", - "start": 1308, - "end": 1320, + "start": 1294, + "end": 1306, "loc": { "start": { "line": 49, @@ -2106,8 +2008,8 @@ }, "init": { "type": "ArrayExpression", - "start": 1323, - "end": 1363, + "start": 1309, + "end": 1349, "loc": { "start": { "line": 49, @@ -2121,8 +2023,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1324, - "end": 1327, + "start": 1310, + "end": 1313, "loc": { "start": { "line": 49, @@ -2141,8 +2043,8 @@ }, { "type": "StringLiteral", - "start": 1329, - "end": 1332, + "start": 1315, + "end": 1318, "loc": { "start": { "line": 49, @@ -2161,8 +2063,8 @@ }, { "type": "StringLiteral", - "start": 1334, - "end": 1337, + "start": 1320, + "end": 1323, "loc": { "start": { "line": 49, @@ -2181,8 +2083,8 @@ }, { "type": "StringLiteral", - "start": 1339, - "end": 1342, + "start": 1325, + "end": 1328, "loc": { "start": { "line": 49, @@ -2201,8 +2103,8 @@ }, { "type": "StringLiteral", - "start": 1344, - "end": 1347, + "start": 1330, + "end": 1333, "loc": { "start": { "line": 49, @@ -2221,8 +2123,8 @@ }, { "type": "StringLiteral", - "start": 1349, - "end": 1352, + "start": 1335, + "end": 1338, "loc": { "start": { "line": 49, @@ -2241,8 +2143,8 @@ }, { "type": "StringLiteral", - "start": 1354, - "end": 1357, + "start": 1340, + "end": 1343, "loc": { "start": { "line": 49, @@ -2261,8 +2163,8 @@ }, { "type": "StringLiteral", - "start": 1359, - "end": 1362, + "start": 1345, + "end": 1348, "loc": { "start": { "line": 49, @@ -2289,8 +2191,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -2306,8 +2208,8 @@ }, { "type": "ExpressionStatement", - "start": 1378, - "end": 1439, + "start": 1364, + "end": 1425, "loc": { "start": { "line": 50, @@ -2320,8 +2222,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1378, - "end": 1438, + "start": 1364, + "end": 1424, "loc": { "start": { "line": 50, @@ -2335,8 +2237,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1378, - "end": 1382, + "start": 1364, + "end": 1368, "loc": { "start": { "line": 50, @@ -2352,8 +2254,8 @@ }, "right": { "type": "CallExpression", - "start": 1385, - "end": 1438, + "start": 1371, + "end": 1424, "loc": { "start": { "line": 50, @@ -2366,8 +2268,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1385, - "end": 1396, + "start": 1371, + "end": 1382, "loc": { "start": { "line": 50, @@ -2380,8 +2282,8 @@ }, "object": { "type": "Identifier", - "start": 1385, - "end": 1389, + "start": 1371, + "end": 1375, "loc": { "start": { "line": 50, @@ -2397,8 +2299,8 @@ }, "property": { "type": "Identifier", - "start": 1390, - "end": 1396, + "start": 1376, + "end": 1382, "loc": { "start": { "line": 50, @@ -2417,8 +2319,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1397, - "end": 1437, + "start": 1383, + "end": 1423, "loc": { "start": { "line": 50, @@ -2436,8 +2338,8 @@ "params": [ { "type": "Identifier", - "start": 1398, - "end": 1401, + "start": 1384, + "end": 1387, "loc": { "start": { "line": 50, @@ -2454,8 +2356,8 @@ ], "body": { "type": "CallExpression", - "start": 1406, - "end": 1437, + "start": 1392, + "end": 1423, "loc": { "start": { "line": 50, @@ -2468,8 +2370,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1406, - "end": 1427, + "start": 1392, + "end": 1413, "loc": { "start": { "line": 50, @@ -2482,8 +2384,8 @@ }, "object": { "type": "Identifier", - "start": 1406, - "end": 1418, + "start": 1392, + "end": 1404, "loc": { "start": { "line": 50, @@ -2499,8 +2401,8 @@ }, "property": { "type": "Identifier", - "start": 1419, - "end": 1427, + "start": 1405, + "end": 1413, "loc": { "start": { "line": 50, @@ -2519,8 +2421,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1428, - "end": 1436, + "start": 1414, + "end": 1422, "loc": { "start": { "line": 50, @@ -2533,8 +2435,8 @@ }, "object": { "type": "Identifier", - "start": 1428, - "end": 1431, + "start": 1414, + "end": 1417, "loc": { "start": { "line": 50, @@ -2550,8 +2452,8 @@ }, "property": { "type": "Identifier", - "start": 1432, - "end": 1436, + "start": 1418, + "end": 1422, "loc": { "start": { "line": 50, @@ -2576,8 +2478,8 @@ }, { "type": "ExpressionStatement", - "start": 1455, - "end": 1530, + "start": 1441, + "end": 1516, "loc": { "start": { "line": 52, @@ -2590,8 +2492,8 @@ }, "expression": { "type": "CallExpression", - "start": 1455, - "end": 1529, + "start": 1441, + "end": 1515, "loc": { "start": { "line": 52, @@ -2604,8 +2506,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1455, - "end": 1467, + "start": 1441, + "end": 1453, "loc": { "start": { "line": 52, @@ -2618,8 +2520,8 @@ }, "object": { "type": "Identifier", - "start": 1455, - "end": 1459, + "start": 1441, + "end": 1445, "loc": { "start": { "line": 52, @@ -2635,8 +2537,8 @@ }, "property": { "type": "Identifier", - "start": 1460, - "end": 1467, + "start": 1446, + "end": 1453, "loc": { "start": { "line": 52, @@ -2655,8 +2557,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1468, - "end": 1528, + "start": 1454, + "end": 1514, "loc": { "start": { "line": 52, @@ -2674,8 +2576,8 @@ "params": [ { "type": "Identifier", - "start": 1469, - "end": 1472, + "start": 1455, + "end": 1458, "loc": { "start": { "line": 52, @@ -2692,8 +2594,8 @@ ], "body": { "type": "BlockStatement", - "start": 1477, - "end": 1528, + "start": 1463, + "end": 1514, "loc": { "start": { "line": 52, @@ -2707,8 +2609,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1496, - "end": 1513, + "start": 1482, + "end": 1499, "loc": { "start": { "line": 53, @@ -2721,8 +2623,8 @@ }, "expression": { "type": "CallExpression", - "start": 1496, - "end": 1512, + "start": 1482, + "end": 1498, "loc": { "start": { "line": 53, @@ -2735,8 +2637,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1496, - "end": 1507, + "start": 1482, + "end": 1493, "loc": { "start": { "line": 53, @@ -2749,8 +2651,8 @@ }, "object": { "type": "Identifier", - "start": 1496, - "end": 1502, + "start": 1482, + "end": 1488, "loc": { "start": { "line": 53, @@ -2766,8 +2668,8 @@ }, "property": { "type": "Identifier", - "start": 1503, - "end": 1507, + "start": 1489, + "end": 1493, "loc": { "start": { "line": 53, @@ -2786,8 +2688,8 @@ "arguments": [ { "type": "Identifier", - "start": 1508, - "end": 1511, + "start": 1494, + "end": 1497, "loc": { "start": { "line": 53, @@ -2813,8 +2715,8 @@ }, { "type": "ExpressionStatement", - "start": 1544, - "end": 1558, + "start": 1530, + "end": 1544, "loc": { "start": { "line": 55, @@ -2827,8 +2729,8 @@ }, "expression": { "type": "CallExpression", - "start": 1544, - "end": 1557, + "start": 1530, + "end": 1543, "loc": { "start": { "line": 55, @@ -2841,8 +2743,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1544, - "end": 1555, + "start": 1530, + "end": 1541, "loc": { "start": { "line": 55, @@ -2855,8 +2757,8 @@ }, "object": { "type": "Identifier", - "start": 1544, - "end": 1550, + "start": 1530, + "end": 1536, "loc": { "start": { "line": 55, @@ -2872,8 +2774,8 @@ }, "property": { "type": "Identifier", - "start": 1551, - "end": 1555, + "start": 1537, + "end": 1541, "loc": { "start": { "line": 55, @@ -2895,8 +2797,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -2912,8 +2814,8 @@ }, { "type": "VariableDeclaration", - "start": 1608, - "end": 1726, + "start": 1594, + "end": 1717, "loc": { "start": { "line": 58, @@ -2927,8 +2829,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1612, - "end": 1725, + "start": 1598, + "end": 1716, "loc": { "start": { "line": 58, @@ -2941,8 +2843,8 @@ }, "id": { "type": "Identifier", - "start": 1612, - "end": 1630, + "start": 1598, + "end": 1616, "loc": { "start": { "line": 58, @@ -2959,8 +2861,8 @@ }, "init": { "type": "CallExpression", - "start": 1633, - "end": 1725, + "start": 1619, + "end": 1716, "loc": { "start": { "line": 58, @@ -2973,8 +2875,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1633, - "end": 1659, + "start": 1619, + "end": 1650, "loc": { "start": { "line": 58, @@ -2982,13 +2884,13 @@ }, "end": { "line": 58, - "column": 63 + "column": 68 } }, "object": { - "type": "Identifier", - "start": 1633, - "end": 1638, + "type": "MemberExpression", + "start": 1619, + "end": 1629, "loc": { "start": { "line": 58, @@ -2996,24 +2898,57 @@ }, "end": { "line": 58, - "column": 42 + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 1619, + "end": 1623, + "loc": { + "start": { + "line": 58, + "column": 37 + }, + "end": { + "line": 58, + "column": 41 + }, + "identifierName": "ebml" }, - "identifierName": "tools" + "name": "ebml" }, - "name": "tools" + "property": { + "type": "Identifier", + "start": 1624, + "end": 1629, + "loc": { + "start": { + "line": 58, + "column": 42 + }, + "end": { + "line": 58, + "column": 47 + }, + "identifierName": "tools" + }, + "name": "tools" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1639, - "end": 1659, + "start": 1630, + "end": 1650, "loc": { "start": { "line": 58, - "column": 43 + "column": 48 }, "end": { "line": 58, - "column": 63 + "column": 68 }, "identifierName": "makeMetadataSeekable" }, @@ -3024,8 +2959,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1678, - "end": 1694, + "start": 1669, + "end": 1685, "loc": { "start": { "line": 59, @@ -3038,8 +2973,8 @@ }, "object": { "type": "Identifier", - "start": 1678, - "end": 1684, + "start": 1669, + "end": 1675, "loc": { "start": { "line": 59, @@ -3055,8 +2990,8 @@ }, "property": { "type": "Identifier", - "start": 1685, - "end": 1694, + "start": 1676, + "end": 1685, "loc": { "start": { "line": 59, @@ -3074,8 +3009,8 @@ }, { "type": "MemberExpression", - "start": 1696, - "end": 1711, + "start": 1687, + "end": 1702, "loc": { "start": { "line": 59, @@ -3088,8 +3023,8 @@ }, "object": { "type": "Identifier", - "start": 1696, - "end": 1702, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 59, @@ -3105,8 +3040,8 @@ }, "property": { "type": "Identifier", - "start": 1703, - "end": 1711, + "start": 1694, + "end": 1702, "loc": { "start": { "line": 59, @@ -3124,8 +3059,8 @@ }, { "type": "MemberExpression", - "start": 1713, - "end": 1724, + "start": 1704, + "end": 1715, "loc": { "start": { "line": 59, @@ -3138,8 +3073,8 @@ }, "object": { "type": "Identifier", - "start": 1713, - "end": 1719, + "start": 1704, + "end": 1710, "loc": { "start": { "line": 59, @@ -3155,8 +3090,8 @@ }, "property": { "type": "Identifier", - "start": 1720, - "end": 1724, + "start": 1711, + "end": 1715, "loc": { "start": { "line": 59, @@ -3182,8 +3117,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -3199,8 +3134,8 @@ }, { "type": "VariableDeclaration", - "start": 1740, - "end": 1785, + "start": 1731, + "end": 1776, "loc": { "start": { "line": 60, @@ -3214,8 +3149,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1744, - "end": 1784, + "start": 1735, + "end": 1775, "loc": { "start": { "line": 60, @@ -3228,8 +3163,8 @@ }, "id": { "type": "Identifier", - "start": 1744, - "end": 1748, + "start": 1735, + "end": 1739, "loc": { "start": { "line": 60, @@ -3245,8 +3180,8 @@ }, "init": { "type": "CallExpression", - "start": 1751, - "end": 1784, + "start": 1742, + "end": 1775, "loc": { "start": { "line": 60, @@ -3259,8 +3194,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1751, - "end": 1763, + "start": 1742, + "end": 1754, "loc": { "start": { "line": 60, @@ -3273,8 +3208,8 @@ }, "object": { "type": "Identifier", - "start": 1751, - "end": 1757, + "start": 1742, + "end": 1748, "loc": { "start": { "line": 60, @@ -3290,8 +3225,8 @@ }, "property": { "type": "Identifier", - "start": 1758, - "end": 1763, + "start": 1749, + "end": 1754, "loc": { "start": { "line": 60, @@ -3310,8 +3245,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1764, - "end": 1783, + "start": 1755, + "end": 1774, "loc": { "start": { "line": 60, @@ -3324,8 +3259,8 @@ }, "object": { "type": "Identifier", - "start": 1764, - "end": 1770, + "start": 1755, + "end": 1761, "loc": { "start": { "line": 60, @@ -3341,8 +3276,8 @@ }, "property": { "type": "Identifier", - "start": 1771, - "end": 1783, + "start": 1762, + "end": 1774, "loc": { "start": { "line": 60, @@ -3367,8 +3302,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -3384,8 +3319,8 @@ }, { "type": "VariableDeclaration", - "start": 1833, - "end": 1919, + "start": 1824, + "end": 1910, "loc": { "start": { "line": 63, @@ -3399,8 +3334,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1837, - "end": 1918, + "start": 1828, + "end": 1909, "loc": { "start": { "line": 63, @@ -3413,8 +3348,8 @@ }, "id": { "type": "Identifier", - "start": 1837, - "end": 1843, + "start": 1828, + "end": 1834, "loc": { "start": { "line": 63, @@ -3431,8 +3366,8 @@ }, "init": { "type": "NewExpression", - "start": 1846, - "end": 1918, + "start": 1837, + "end": 1909, "loc": { "start": { "line": 63, @@ -3445,8 +3380,8 @@ }, "callee": { "type": "Identifier", - "start": 1850, - "end": 1854, + "start": 1841, + "end": 1845, "loc": { "start": { "line": 63, @@ -3463,8 +3398,8 @@ "arguments": [ { "type": "ArrayExpression", - "start": 1855, - "end": 1881, + "start": 1846, + "end": 1872, "loc": { "start": { "line": 63, @@ -3478,8 +3413,8 @@ "elements": [ { "type": "Identifier", - "start": 1856, - "end": 1874, + "start": 1847, + "end": 1865, "loc": { "start": { "line": 63, @@ -3495,8 +3430,8 @@ }, { "type": "Identifier", - "start": 1876, - "end": 1880, + "start": 1867, + "end": 1871, "loc": { "start": { "line": 63, @@ -3514,8 +3449,8 @@ }, { "type": "ObjectExpression", - "start": 1900, - "end": 1917, + "start": 1891, + "end": 1908, "loc": { "start": { "line": 64, @@ -3529,8 +3464,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1901, - "end": 1916, + "start": 1892, + "end": 1907, "loc": { "start": { "line": 64, @@ -3546,8 +3481,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1901, - "end": 1905, + "start": 1892, + "end": 1896, "loc": { "start": { "line": 64, @@ -3563,8 +3498,8 @@ }, "value": { "type": "MemberExpression", - "start": 1907, - "end": 1916, + "start": 1898, + "end": 1907, "loc": { "start": { "line": 64, @@ -3577,8 +3512,8 @@ }, "object": { "type": "Identifier", - "start": 1907, - "end": 1911, + "start": 1898, + "end": 1902, "loc": { "start": { "line": 64, @@ -3594,8 +3529,8 @@ }, "property": { "type": "Identifier", - "start": 1912, - "end": 1916, + "start": 1903, + "end": 1907, "loc": { "start": { "line": 64, @@ -3624,8 +3559,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -3642,8 +3577,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -3659,8 +3594,8 @@ }, { "type": "ExpressionStatement", - "start": 1974, - "end": 2010, + "start": 1965, + "end": 2001, "loc": { "start": { "line": 67, @@ -3673,8 +3608,8 @@ }, "expression": { "type": "CallExpression", - "start": 1974, - "end": 2009, + "start": 1965, + "end": 2000, "loc": { "start": { "line": 67, @@ -3687,8 +3622,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1974, - "end": 1990, + "start": 1965, + "end": 1981, "loc": { "start": { "line": 67, @@ -3701,8 +3636,8 @@ }, "object": { "type": "ThisExpression", - "start": 1974, - "end": 1978, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 67, @@ -3717,8 +3652,8 @@ }, "property": { "type": "Identifier", - "start": 1979, - "end": 1990, + "start": 1970, + "end": 1981, "loc": { "start": { "line": 67, @@ -3738,8 +3673,8 @@ "arguments": [ { "type": "Identifier", - "start": 1991, - "end": 1997, + "start": 1982, + "end": 1988, "loc": { "start": { "line": 67, @@ -3755,8 +3690,8 @@ }, { "type": "Identifier", - "start": 1999, - "end": 2008, + "start": 1990, + "end": 1999, "loc": { "start": { "line": 67, @@ -3777,8 +3712,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -3795,8 +3730,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -3812,8 +3747,8 @@ }, { "type": "ExpressionStatement", - "start": 2055, - "end": 2092, + "start": 2046, + "end": 2083, "loc": { "start": { "line": 70, @@ -3826,8 +3761,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2055, - "end": 2091, + "start": 2046, + "end": 2082, "loc": { "start": { "line": 70, @@ -3841,8 +3776,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2055, - "end": 2082, + "start": 2046, + "end": 2073, "loc": { "start": { "line": 70, @@ -3855,8 +3790,8 @@ }, "object": { "type": "CallExpression", - "start": 2055, - "end": 2068, + "start": 2046, + "end": 2059, "loc": { "start": { "line": 70, @@ -3869,8 +3804,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2055, - "end": 2066, + "start": 2046, + "end": 2057, "loc": { "start": { "line": 70, @@ -3883,8 +3818,8 @@ }, "object": { "type": "ThisExpression", - "start": 2055, - "end": 2059, + "start": 2046, + "end": 2050, "loc": { "start": { "line": 70, @@ -3899,8 +3834,8 @@ }, "property": { "type": "Identifier", - "start": 2060, - "end": 2066, + "start": 2051, + "end": 2057, "loc": { "start": { "line": 70, @@ -3922,8 +3857,8 @@ }, "property": { "type": "Identifier", - "start": 2069, - "end": 2082, + "start": 2060, + "end": 2073, "loc": { "start": { "line": 70, @@ -3942,8 +3877,8 @@ }, "right": { "type": "Identifier", - "start": 2085, - "end": 2091, + "start": 2076, + "end": 2082, "loc": { "start": { "line": 70, @@ -3963,8 +3898,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -3981,8 +3916,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -3998,8 +3933,8 @@ }, { "type": "ExpressionStatement", - "start": 2141, - "end": 2180, + "start": 2132, + "end": 2171, "loc": { "start": { "line": 73, @@ -4012,8 +3947,8 @@ }, "expression": { "type": "CallExpression", - "start": 2141, - "end": 2179, + "start": 2132, + "end": 2170, "loc": { "start": { "line": 73, @@ -4026,8 +3961,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2141, - "end": 2162, + "start": 2132, + "end": 2153, "loc": { "start": { "line": 73, @@ -4040,8 +3975,8 @@ }, "object": { "type": "CallExpression", - "start": 2141, - "end": 2154, + "start": 2132, + "end": 2145, "loc": { "start": { "line": 73, @@ -4054,8 +3989,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2141, - "end": 2152, + "start": 2132, + "end": 2143, "loc": { "start": { "line": 73, @@ -4068,8 +4003,8 @@ }, "object": { "type": "ThisExpression", - "start": 2141, - "end": 2145, + "start": 2132, + "end": 2136, "loc": { "start": { "line": 73, @@ -4084,8 +4019,8 @@ }, "property": { "type": "Identifier", - "start": 2146, - "end": 2152, + "start": 2137, + "end": 2143, "loc": { "start": { "line": 73, @@ -4107,8 +4042,8 @@ }, "property": { "type": "Identifier", - "start": 2155, - "end": 2162, + "start": 2146, + "end": 2153, "loc": { "start": { "line": 73, @@ -4128,8 +4063,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2163, - "end": 2178, + "start": 2154, + "end": 2169, "loc": { "start": { "line": 73, @@ -4153,8 +4088,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -4179,8 +4114,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -4201,8 +4136,8 @@ { "type": "CommentBlock", "value": "*\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n ", - "start": 552, - "end": 668, + "start": 528, + "end": 644, "loc": { "start": { "line": 25, @@ -4225,8 +4160,8 @@ }, { "type": "ExpressionStatement", - "start": 2225, - "end": 2261, + "start": 2216, + "end": 2252, "loc": { "start": { "line": 79, @@ -4239,8 +4174,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2225, - "end": 2260, + "start": 2216, + "end": 2251, "loc": { "start": { "line": 79, @@ -4254,8 +4189,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2225, - "end": 2245, + "start": 2216, + "end": 2236, "loc": { "start": { "line": 79, @@ -4268,8 +4203,8 @@ }, "object": { "type": "Identifier", - "start": 2225, - "end": 2232, + "start": 2216, + "end": 2223, "loc": { "start": { "line": 79, @@ -4286,8 +4221,8 @@ }, "property": { "type": "Identifier", - "start": 2233, - "end": 2245, + "start": 2224, + "end": 2236, "loc": { "start": { "line": 79, @@ -4306,8 +4241,8 @@ }, "right": { "type": "Identifier", - "start": 2248, - "end": 2260, + "start": 2239, + "end": 2251, "loc": { "start": { "line": 79, @@ -4327,8 +4262,8 @@ { "type": "CommentLine", "value": " expose plugin", - "start": 2207, - "end": 2223, + "start": 2198, + "end": 2214, "loc": { "start": { "line": 78, @@ -4344,8 +4279,8 @@ }, { "type": "Identifier", - "start": 2265, - "end": 2293, + "start": 2256, + "end": 2284, "loc": { "start": { "line": 81, @@ -4358,8 +4293,8 @@ }, "declaration": { "type": "Identifier", - "start": 2280, - "end": 2292, + "start": 2271, + "end": 2283, "loc": { "start": { "line": 81, @@ -4379,8 +4314,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 2265, - "end": 2293, + "start": 2256, + "end": 2284, "loc": { "start": { "line": 81, @@ -4393,8 +4328,8 @@ }, "declaration": { "type": "ClassDeclaration", - "start": 504, - "end": 2203, + "start": 480, + "end": 2194, "loc": { "start": { "line": 24, @@ -4407,8 +4342,8 @@ }, "id": { "type": "Identifier", - "start": 510, - "end": 522, + "start": 486, + "end": 498, "loc": { "start": { "line": 24, @@ -4425,8 +4360,8 @@ }, "superClass": { "type": "Identifier", - "start": 531, - "end": 544, + "start": 507, + "end": 520, "loc": { "start": { "line": 24, @@ -4442,8 +4377,8 @@ }, "body": { "type": "ClassBody", - "start": 545, - "end": 2203, + "start": 521, + "end": 2194, "loc": { "start": { "line": 24, @@ -4457,8 +4392,8 @@ "body": [ { "type": "ClassMethod", - "start": 674, - "end": 2200, + "start": 650, + "end": 2191, "loc": { "start": { "line": 30, @@ -4473,8 +4408,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 674, - "end": 681, + "start": 650, + "end": 657, "loc": { "start": { "line": 30, @@ -4497,8 +4432,8 @@ "params": [ { "type": "Identifier", - "start": 682, - "end": 686, + "start": 658, + "end": 662, "loc": { "start": { "line": 30, @@ -4515,8 +4450,8 @@ ], "body": { "type": "BlockStatement", - "start": 688, - "end": 2200, + "start": 664, + "end": 2191, "loc": { "start": { "line": 30, @@ -4530,8 +4465,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 699, - "end": 729, + "start": 675, + "end": 710, "loc": { "start": { "line": 31, @@ -4539,14 +4474,14 @@ }, "end": { "line": 31, - "column": 38 + "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 705, - "end": 728, + "start": 681, + "end": 709, "loc": { "start": { "line": 31, @@ -4554,13 +4489,13 @@ }, "end": { "line": 31, - "column": 37 + "column": 42 } }, "id": { "type": "Identifier", - "start": 705, - "end": 712, + "start": 681, + "end": 688, "loc": { "start": { "line": 31, @@ -4576,8 +4511,8 @@ }, "init": { "type": "NewExpression", - "start": 715, - "end": 728, + "start": 691, + "end": 709, "loc": { "start": { "line": 31, @@ -4585,13 +4520,13 @@ }, "end": { "line": 31, - "column": 37 + "column": 42 } }, "callee": { - "type": "Identifier", - "start": 719, - "end": 726, + "type": "MemberExpression", + "start": 695, + "end": 707, "loc": { "start": { "line": 31, @@ -4599,11 +4534,44 @@ }, "end": { "line": 31, - "column": 35 + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 695, + "end": 699, + "loc": { + "start": { + "line": 31, + "column": 28 + }, + "end": { + "line": 31, + "column": 32 + }, + "identifierName": "ebml" }, - "identifierName": "Decoder" + "name": "ebml" }, - "name": "Decoder" + "property": { + "type": "Identifier", + "start": 700, + "end": 707, + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 40 + }, + "identifierName": "Decoder" + }, + "name": "Decoder" + }, + "computed": false }, "arguments": [] } @@ -4613,8 +4581,8 @@ }, { "type": "VariableDeclaration", - "start": 739, - "end": 767, + "start": 720, + "end": 753, "loc": { "start": { "line": 32, @@ -4622,14 +4590,14 @@ }, "end": { "line": 32, - "column": 36 + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 745, - "end": 766, + "start": 726, + "end": 752, "loc": { "start": { "line": 32, @@ -4637,13 +4605,13 @@ }, "end": { "line": 32, - "column": 35 + "column": 40 } }, "id": { "type": "Identifier", - "start": 745, - "end": 751, + "start": 726, + "end": 732, "loc": { "start": { "line": 32, @@ -4659,8 +4627,8 @@ }, "init": { "type": "NewExpression", - "start": 754, - "end": 766, + "start": 735, + "end": 752, "loc": { "start": { "line": 32, @@ -4668,13 +4636,13 @@ }, "end": { "line": 32, - "column": 35 + "column": 40 } }, "callee": { - "type": "Identifier", - "start": 758, - "end": 764, + "type": "MemberExpression", + "start": 739, + "end": 750, "loc": { "start": { "line": 32, @@ -4682,11 +4650,44 @@ }, "end": { "line": 32, - "column": 33 + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 739, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 31 + }, + "identifierName": "ebml" }, - "identifierName": "Reader" + "name": "ebml" }, - "name": "Reader" + "property": { + "type": "Identifier", + "start": 744, + "end": 750, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 38 + }, + "identifierName": "Reader" + }, + "name": "Reader" + }, + "computed": false }, "arguments": [] } @@ -4696,8 +4697,8 @@ }, { "type": "ExpressionStatement", - "start": 777, - "end": 800, + "start": 763, + "end": 786, "loc": { "start": { "line": 33, @@ -4710,8 +4711,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 777, - "end": 799, + "start": 763, + "end": 785, "loc": { "start": { "line": 33, @@ -4725,8 +4726,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 777, - "end": 791, + "start": 763, + "end": 777, "loc": { "start": { "line": 33, @@ -4739,8 +4740,8 @@ }, "object": { "type": "Identifier", - "start": 777, - "end": 783, + "start": 763, + "end": 769, "loc": { "start": { "line": 33, @@ -4756,8 +4757,8 @@ }, "property": { "type": "Identifier", - "start": 784, - "end": 791, + "start": 770, + "end": 777, "loc": { "start": { "line": 33, @@ -4775,8 +4776,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 794, - "end": 799, + "start": 780, + "end": 785, "loc": { "start": { "line": 33, @@ -4793,8 +4794,8 @@ }, { "type": "ExpressionStatement", - "start": 810, - "end": 847, + "start": 796, + "end": 833, "loc": { "start": { "line": 34, @@ -4807,8 +4808,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 810, - "end": 846, + "start": 796, + "end": 832, "loc": { "start": { "line": 34, @@ -4822,8 +4823,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 810, - "end": 838, + "start": 796, + "end": 824, "loc": { "start": { "line": 34, @@ -4836,8 +4837,8 @@ }, "object": { "type": "Identifier", - "start": 810, - "end": 816, + "start": 796, + "end": 802, "loc": { "start": { "line": 34, @@ -4853,8 +4854,8 @@ }, "property": { "type": "Identifier", - "start": 817, - "end": 838, + "start": 803, + "end": 824, "loc": { "start": { "line": 34, @@ -4872,8 +4873,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 841, - "end": 846, + "start": 827, + "end": 832, "loc": { "start": { "line": 34, @@ -4891,8 +4892,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -4908,8 +4909,8 @@ }, { "type": "VariableDeclaration", - "start": 886, - "end": 915, + "start": 872, + "end": 901, "loc": { "start": { "line": 37, @@ -4923,8 +4924,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 892, - "end": 914, + "start": 878, + "end": 900, "loc": { "start": { "line": 37, @@ -4937,8 +4938,8 @@ }, "id": { "type": "Identifier", - "start": 892, - "end": 901, + "start": 878, + "end": 887, "loc": { "start": { "line": 37, @@ -4955,8 +4956,8 @@ }, "init": { "type": "NewExpression", - "start": 904, - "end": 914, + "start": 890, + "end": 900, "loc": { "start": { "line": 37, @@ -4969,8 +4970,8 @@ }, "callee": { "type": "Identifier", - "start": 908, - "end": 912, + "start": 894, + "end": 898, "loc": { "start": { "line": 37, @@ -4994,8 +4995,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -5011,8 +5012,8 @@ }, { "type": "ExpressionStatement", - "start": 925, - "end": 962, + "start": 911, + "end": 948, "loc": { "start": { "line": 38, @@ -5025,8 +5026,8 @@ }, "expression": { "type": "CallExpression", - "start": 925, - "end": 961, + "start": 911, + "end": 947, "loc": { "start": { "line": 38, @@ -5039,8 +5040,8 @@ }, "callee": { "type": "MemberExpression", - "start": 925, - "end": 942, + "start": 911, + "end": 928, "loc": { "start": { "line": 38, @@ -5053,8 +5054,8 @@ }, "object": { "type": "Identifier", - "start": 925, - "end": 934, + "start": 911, + "end": 920, "loc": { "start": { "line": 38, @@ -5070,8 +5071,8 @@ }, "property": { "type": "Identifier", - "start": 935, - "end": 942, + "start": 921, + "end": 928, "loc": { "start": { "line": 38, @@ -5090,8 +5091,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 943, - "end": 960, + "start": 929, + "end": 946, "loc": { "start": { "line": 38, @@ -5104,8 +5105,8 @@ }, "object": { "type": "Identifier", - "start": 943, - "end": 947, + "start": 929, + "end": 933, "loc": { "start": { "line": 38, @@ -5121,8 +5122,8 @@ }, "property": { "type": "Identifier", - "start": 948, - "end": 960, + "start": 934, + "end": 946, "loc": { "start": { "line": 38, @@ -5144,8 +5145,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -5161,8 +5162,8 @@ }, { "type": "ExpressionStatement", - "start": 1003, - "end": 1041, + "start": 989, + "end": 1027, "loc": { "start": { "line": 41, @@ -5175,8 +5176,8 @@ }, "expression": { "type": "CallExpression", - "start": 1003, - "end": 1040, + "start": 989, + "end": 1026, "loc": { "start": { "line": 41, @@ -5189,8 +5190,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1003, - "end": 1024, + "start": 989, + "end": 1010, "loc": { "start": { "line": 41, @@ -5203,8 +5204,8 @@ }, "object": { "type": "CallExpression", - "start": 1003, - "end": 1016, + "start": 989, + "end": 1002, "loc": { "start": { "line": 41, @@ -5217,8 +5218,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1003, - "end": 1014, + "start": 989, + "end": 1000, "loc": { "start": { "line": 41, @@ -5231,8 +5232,8 @@ }, "object": { "type": "ThisExpression", - "start": 1003, - "end": 1007, + "start": 989, + "end": 993, "loc": { "start": { "line": 41, @@ -5247,8 +5248,8 @@ }, "property": { "type": "Identifier", - "start": 1008, - "end": 1014, + "start": 994, + "end": 1000, "loc": { "start": { "line": 41, @@ -5270,8 +5271,8 @@ }, "property": { "type": "Identifier", - "start": 1017, - "end": 1024, + "start": 1003, + "end": 1010, "loc": { "start": { "line": 41, @@ -5291,8 +5292,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1025, - "end": 1039, + "start": 1011, + "end": 1025, "loc": { "start": { "line": 41, @@ -5316,8 +5317,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -5334,8 +5335,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -5351,8 +5352,8 @@ }, { "type": "ExpressionStatement", - "start": 1087, - "end": 2193, + "start": 1073, + "end": 2184, "loc": { "start": { "line": 44, @@ -5365,8 +5366,8 @@ }, "expression": { "type": "CallExpression", - "start": 1087, - "end": 2192, + "start": 1073, + "end": 2183, "loc": { "start": { "line": 44, @@ -5379,8 +5380,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1087, - "end": 1111, + "start": 1073, + "end": 1097, "loc": { "start": { "line": 44, @@ -5393,8 +5394,8 @@ }, "object": { "type": "CallExpression", - "start": 1087, - "end": 1106, + "start": 1073, + "end": 1092, "loc": { "start": { "line": 44, @@ -5407,8 +5408,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1087, - "end": 1100, + "start": 1073, + "end": 1086, "loc": { "start": { "line": 44, @@ -5421,8 +5422,8 @@ }, "object": { "type": "ThisExpression", - "start": 1087, - "end": 1091, + "start": 1073, + "end": 1077, "loc": { "start": { "line": 44, @@ -5437,8 +5438,8 @@ }, "property": { "type": "Identifier", - "start": 1092, - "end": 1100, + "start": 1078, + "end": 1086, "loc": { "start": { "line": 44, @@ -5458,8 +5459,8 @@ "arguments": [ { "type": "Identifier", - "start": 1101, - "end": 1105, + "start": 1087, + "end": 1091, "loc": { "start": { "line": 44, @@ -5478,8 +5479,8 @@ }, "property": { "type": "Identifier", - "start": 1107, - "end": 1111, + "start": 1093, + "end": 1097, "loc": { "start": { "line": 44, @@ -5499,8 +5500,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1112, - "end": 2191, + "start": 1098, + "end": 2182, "loc": { "start": { "line": 44, @@ -5518,8 +5519,8 @@ "params": [ { "type": "Identifier", - "start": 1113, - "end": 1119, + "start": 1099, + "end": 1105, "loc": { "start": { "line": 44, @@ -5536,8 +5537,8 @@ ], "body": { "type": "BlockStatement", - "start": 1124, - "end": 2191, + "start": 1110, + "end": 2182, "loc": { "start": { "line": 44, @@ -5551,8 +5552,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1162, - "end": 1196, + "start": 1148, + "end": 1182, "loc": { "start": { "line": 46, @@ -5566,8 +5567,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1166, - "end": 1195, + "start": 1152, + "end": 1181, "loc": { "start": { "line": 46, @@ -5580,8 +5581,8 @@ }, "id": { "type": "Identifier", - "start": 1166, - "end": 1170, + "start": 1152, + "end": 1156, "loc": { "start": { "line": 46, @@ -5598,8 +5599,8 @@ }, "init": { "type": "CallExpression", - "start": 1173, - "end": 1195, + "start": 1159, + "end": 1181, "loc": { "start": { "line": 46, @@ -5612,8 +5613,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1173, - "end": 1187, + "start": 1159, + "end": 1173, "loc": { "start": { "line": 46, @@ -5626,8 +5627,8 @@ }, "object": { "type": "Identifier", - "start": 1173, - "end": 1180, + "start": 1159, + "end": 1166, "loc": { "start": { "line": 46, @@ -5643,8 +5644,8 @@ }, "property": { "type": "Identifier", - "start": 1181, - "end": 1187, + "start": 1167, + "end": 1173, "loc": { "start": { "line": 46, @@ -5663,8 +5664,8 @@ "arguments": [ { "type": "Identifier", - "start": 1188, - "end": 1194, + "start": 1174, + "end": 1180, "loc": { "start": { "line": 46, @@ -5688,8 +5689,8 @@ { "type": "CommentLine", "value": " decode", - "start": 1139, - "end": 1148, + "start": 1125, + "end": 1134, "loc": { "start": { "line": 45, @@ -5706,8 +5707,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -5723,8 +5724,8 @@ }, { "type": "VariableDeclaration", - "start": 1302, - "end": 1364, + "start": 1288, + "end": 1350, "loc": { "start": { "line": 49, @@ -5738,8 +5739,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1308, - "end": 1363, + "start": 1294, + "end": 1349, "loc": { "start": { "line": 49, @@ -5752,8 +5753,8 @@ }, "id": { "type": "Identifier", - "start": 1308, - "end": 1320, + "start": 1294, + "end": 1306, "loc": { "start": { "line": 49, @@ -5770,8 +5771,8 @@ }, "init": { "type": "ArrayExpression", - "start": 1323, - "end": 1363, + "start": 1309, + "end": 1349, "loc": { "start": { "line": 49, @@ -5785,8 +5786,8 @@ "elements": [ { "type": "StringLiteral", - "start": 1324, - "end": 1327, + "start": 1310, + "end": 1313, "loc": { "start": { "line": 49, @@ -5805,8 +5806,8 @@ }, { "type": "StringLiteral", - "start": 1329, - "end": 1332, + "start": 1315, + "end": 1318, "loc": { "start": { "line": 49, @@ -5825,8 +5826,8 @@ }, { "type": "StringLiteral", - "start": 1334, - "end": 1337, + "start": 1320, + "end": 1323, "loc": { "start": { "line": 49, @@ -5845,8 +5846,8 @@ }, { "type": "StringLiteral", - "start": 1339, - "end": 1342, + "start": 1325, + "end": 1328, "loc": { "start": { "line": 49, @@ -5865,8 +5866,8 @@ }, { "type": "StringLiteral", - "start": 1344, - "end": 1347, + "start": 1330, + "end": 1333, "loc": { "start": { "line": 49, @@ -5885,8 +5886,8 @@ }, { "type": "StringLiteral", - "start": 1349, - "end": 1352, + "start": 1335, + "end": 1338, "loc": { "start": { "line": 49, @@ -5905,8 +5906,8 @@ }, { "type": "StringLiteral", - "start": 1354, - "end": 1357, + "start": 1340, + "end": 1343, "loc": { "start": { "line": 49, @@ -5925,8 +5926,8 @@ }, { "type": "StringLiteral", - "start": 1359, - "end": 1362, + "start": 1345, + "end": 1348, "loc": { "start": { "line": 49, @@ -5953,8 +5954,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -5970,8 +5971,8 @@ }, { "type": "ExpressionStatement", - "start": 1378, - "end": 1439, + "start": 1364, + "end": 1425, "loc": { "start": { "line": 50, @@ -5984,8 +5985,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1378, - "end": 1438, + "start": 1364, + "end": 1424, "loc": { "start": { "line": 50, @@ -5999,8 +6000,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1378, - "end": 1382, + "start": 1364, + "end": 1368, "loc": { "start": { "line": 50, @@ -6016,8 +6017,8 @@ }, "right": { "type": "CallExpression", - "start": 1385, - "end": 1438, + "start": 1371, + "end": 1424, "loc": { "start": { "line": 50, @@ -6030,8 +6031,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1385, - "end": 1396, + "start": 1371, + "end": 1382, "loc": { "start": { "line": 50, @@ -6044,8 +6045,8 @@ }, "object": { "type": "Identifier", - "start": 1385, - "end": 1389, + "start": 1371, + "end": 1375, "loc": { "start": { "line": 50, @@ -6061,8 +6062,8 @@ }, "property": { "type": "Identifier", - "start": 1390, - "end": 1396, + "start": 1376, + "end": 1382, "loc": { "start": { "line": 50, @@ -6081,8 +6082,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1397, - "end": 1437, + "start": 1383, + "end": 1423, "loc": { "start": { "line": 50, @@ -6100,8 +6101,8 @@ "params": [ { "type": "Identifier", - "start": 1398, - "end": 1401, + "start": 1384, + "end": 1387, "loc": { "start": { "line": 50, @@ -6118,8 +6119,8 @@ ], "body": { "type": "CallExpression", - "start": 1406, - "end": 1437, + "start": 1392, + "end": 1423, "loc": { "start": { "line": 50, @@ -6132,8 +6133,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1406, - "end": 1427, + "start": 1392, + "end": 1413, "loc": { "start": { "line": 50, @@ -6146,8 +6147,8 @@ }, "object": { "type": "Identifier", - "start": 1406, - "end": 1418, + "start": 1392, + "end": 1404, "loc": { "start": { "line": 50, @@ -6163,8 +6164,8 @@ }, "property": { "type": "Identifier", - "start": 1419, - "end": 1427, + "start": 1405, + "end": 1413, "loc": { "start": { "line": 50, @@ -6183,8 +6184,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1428, - "end": 1436, + "start": 1414, + "end": 1422, "loc": { "start": { "line": 50, @@ -6197,8 +6198,8 @@ }, "object": { "type": "Identifier", - "start": 1428, - "end": 1431, + "start": 1414, + "end": 1417, "loc": { "start": { "line": 50, @@ -6214,8 +6215,8 @@ }, "property": { "type": "Identifier", - "start": 1432, - "end": 1436, + "start": 1418, + "end": 1422, "loc": { "start": { "line": 50, @@ -6240,8 +6241,8 @@ }, { "type": "ExpressionStatement", - "start": 1455, - "end": 1530, + "start": 1441, + "end": 1516, "loc": { "start": { "line": 52, @@ -6254,8 +6255,8 @@ }, "expression": { "type": "CallExpression", - "start": 1455, - "end": 1529, + "start": 1441, + "end": 1515, "loc": { "start": { "line": 52, @@ -6268,8 +6269,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1455, - "end": 1467, + "start": 1441, + "end": 1453, "loc": { "start": { "line": 52, @@ -6282,8 +6283,8 @@ }, "object": { "type": "Identifier", - "start": 1455, - "end": 1459, + "start": 1441, + "end": 1445, "loc": { "start": { "line": 52, @@ -6299,8 +6300,8 @@ }, "property": { "type": "Identifier", - "start": 1460, - "end": 1467, + "start": 1446, + "end": 1453, "loc": { "start": { "line": 52, @@ -6319,8 +6320,8 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1468, - "end": 1528, + "start": 1454, + "end": 1514, "loc": { "start": { "line": 52, @@ -6338,8 +6339,8 @@ "params": [ { "type": "Identifier", - "start": 1469, - "end": 1472, + "start": 1455, + "end": 1458, "loc": { "start": { "line": 52, @@ -6356,8 +6357,8 @@ ], "body": { "type": "BlockStatement", - "start": 1477, - "end": 1528, + "start": 1463, + "end": 1514, "loc": { "start": { "line": 52, @@ -6371,8 +6372,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1496, - "end": 1513, + "start": 1482, + "end": 1499, "loc": { "start": { "line": 53, @@ -6385,8 +6386,8 @@ }, "expression": { "type": "CallExpression", - "start": 1496, - "end": 1512, + "start": 1482, + "end": 1498, "loc": { "start": { "line": 53, @@ -6399,8 +6400,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1496, - "end": 1507, + "start": 1482, + "end": 1493, "loc": { "start": { "line": 53, @@ -6413,8 +6414,8 @@ }, "object": { "type": "Identifier", - "start": 1496, - "end": 1502, + "start": 1482, + "end": 1488, "loc": { "start": { "line": 53, @@ -6430,8 +6431,8 @@ }, "property": { "type": "Identifier", - "start": 1503, - "end": 1507, + "start": 1489, + "end": 1493, "loc": { "start": { "line": 53, @@ -6450,8 +6451,8 @@ "arguments": [ { "type": "Identifier", - "start": 1508, - "end": 1511, + "start": 1494, + "end": 1497, "loc": { "start": { "line": 53, @@ -6477,8 +6478,8 @@ }, { "type": "ExpressionStatement", - "start": 1544, - "end": 1558, + "start": 1530, + "end": 1544, "loc": { "start": { "line": 55, @@ -6491,8 +6492,8 @@ }, "expression": { "type": "CallExpression", - "start": 1544, - "end": 1557, + "start": 1530, + "end": 1543, "loc": { "start": { "line": 55, @@ -6505,8 +6506,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1544, - "end": 1555, + "start": 1530, + "end": 1541, "loc": { "start": { "line": 55, @@ -6519,8 +6520,8 @@ }, "object": { "type": "Identifier", - "start": 1544, - "end": 1550, + "start": 1530, + "end": 1536, "loc": { "start": { "line": 55, @@ -6536,8 +6537,8 @@ }, "property": { "type": "Identifier", - "start": 1551, - "end": 1555, + "start": 1537, + "end": 1541, "loc": { "start": { "line": 55, @@ -6559,8 +6560,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -6576,8 +6577,8 @@ }, { "type": "VariableDeclaration", - "start": 1608, - "end": 1726, + "start": 1594, + "end": 1717, "loc": { "start": { "line": 58, @@ -6591,8 +6592,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1612, - "end": 1725, + "start": 1598, + "end": 1716, "loc": { "start": { "line": 58, @@ -6605,8 +6606,8 @@ }, "id": { "type": "Identifier", - "start": 1612, - "end": 1630, + "start": 1598, + "end": 1616, "loc": { "start": { "line": 58, @@ -6623,8 +6624,8 @@ }, "init": { "type": "CallExpression", - "start": 1633, - "end": 1725, + "start": 1619, + "end": 1716, "loc": { "start": { "line": 58, @@ -6637,8 +6638,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1633, - "end": 1659, + "start": 1619, + "end": 1650, "loc": { "start": { "line": 58, @@ -6646,13 +6647,13 @@ }, "end": { "line": 58, - "column": 63 + "column": 68 } }, "object": { - "type": "Identifier", - "start": 1633, - "end": 1638, + "type": "MemberExpression", + "start": 1619, + "end": 1629, "loc": { "start": { "line": 58, @@ -6660,24 +6661,57 @@ }, "end": { "line": 58, - "column": 42 + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 1619, + "end": 1623, + "loc": { + "start": { + "line": 58, + "column": 37 + }, + "end": { + "line": 58, + "column": 41 + }, + "identifierName": "ebml" }, - "identifierName": "tools" + "name": "ebml" }, - "name": "tools" + "property": { + "type": "Identifier", + "start": 1624, + "end": 1629, + "loc": { + "start": { + "line": 58, + "column": 42 + }, + "end": { + "line": 58, + "column": 47 + }, + "identifierName": "tools" + }, + "name": "tools" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1639, - "end": 1659, + "start": 1630, + "end": 1650, "loc": { "start": { "line": 58, - "column": 43 + "column": 48 }, "end": { "line": 58, - "column": 63 + "column": 68 }, "identifierName": "makeMetadataSeekable" }, @@ -6688,8 +6722,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1678, - "end": 1694, + "start": 1669, + "end": 1685, "loc": { "start": { "line": 59, @@ -6702,8 +6736,8 @@ }, "object": { "type": "Identifier", - "start": 1678, - "end": 1684, + "start": 1669, + "end": 1675, "loc": { "start": { "line": 59, @@ -6719,8 +6753,8 @@ }, "property": { "type": "Identifier", - "start": 1685, - "end": 1694, + "start": 1676, + "end": 1685, "loc": { "start": { "line": 59, @@ -6738,8 +6772,8 @@ }, { "type": "MemberExpression", - "start": 1696, - "end": 1711, + "start": 1687, + "end": 1702, "loc": { "start": { "line": 59, @@ -6752,8 +6786,8 @@ }, "object": { "type": "Identifier", - "start": 1696, - "end": 1702, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 59, @@ -6769,8 +6803,8 @@ }, "property": { "type": "Identifier", - "start": 1703, - "end": 1711, + "start": 1694, + "end": 1702, "loc": { "start": { "line": 59, @@ -6788,8 +6822,8 @@ }, { "type": "MemberExpression", - "start": 1713, - "end": 1724, + "start": 1704, + "end": 1715, "loc": { "start": { "line": 59, @@ -6802,8 +6836,8 @@ }, "object": { "type": "Identifier", - "start": 1713, - "end": 1719, + "start": 1704, + "end": 1710, "loc": { "start": { "line": 59, @@ -6819,8 +6853,8 @@ }, "property": { "type": "Identifier", - "start": 1720, - "end": 1724, + "start": 1711, + "end": 1715, "loc": { "start": { "line": 59, @@ -6846,8 +6880,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -6863,8 +6897,8 @@ }, { "type": "VariableDeclaration", - "start": 1740, - "end": 1785, + "start": 1731, + "end": 1776, "loc": { "start": { "line": 60, @@ -6878,8 +6912,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1744, - "end": 1784, + "start": 1735, + "end": 1775, "loc": { "start": { "line": 60, @@ -6892,8 +6926,8 @@ }, "id": { "type": "Identifier", - "start": 1744, - "end": 1748, + "start": 1735, + "end": 1739, "loc": { "start": { "line": 60, @@ -6909,8 +6943,8 @@ }, "init": { "type": "CallExpression", - "start": 1751, - "end": 1784, + "start": 1742, + "end": 1775, "loc": { "start": { "line": 60, @@ -6923,8 +6957,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1751, - "end": 1763, + "start": 1742, + "end": 1754, "loc": { "start": { "line": 60, @@ -6937,8 +6971,8 @@ }, "object": { "type": "Identifier", - "start": 1751, - "end": 1757, + "start": 1742, + "end": 1748, "loc": { "start": { "line": 60, @@ -6954,8 +6988,8 @@ }, "property": { "type": "Identifier", - "start": 1758, - "end": 1763, + "start": 1749, + "end": 1754, "loc": { "start": { "line": 60, @@ -6974,8 +7008,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1764, - "end": 1783, + "start": 1755, + "end": 1774, "loc": { "start": { "line": 60, @@ -6988,8 +7022,8 @@ }, "object": { "type": "Identifier", - "start": 1764, - "end": 1770, + "start": 1755, + "end": 1761, "loc": { "start": { "line": 60, @@ -7005,8 +7039,8 @@ }, "property": { "type": "Identifier", - "start": 1771, - "end": 1783, + "start": 1762, + "end": 1774, "loc": { "start": { "line": 60, @@ -7031,8 +7065,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -7048,8 +7082,8 @@ }, { "type": "VariableDeclaration", - "start": 1833, - "end": 1919, + "start": 1824, + "end": 1910, "loc": { "start": { "line": 63, @@ -7063,8 +7097,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1837, - "end": 1918, + "start": 1828, + "end": 1909, "loc": { "start": { "line": 63, @@ -7077,8 +7111,8 @@ }, "id": { "type": "Identifier", - "start": 1837, - "end": 1843, + "start": 1828, + "end": 1834, "loc": { "start": { "line": 63, @@ -7095,8 +7129,8 @@ }, "init": { "type": "NewExpression", - "start": 1846, - "end": 1918, + "start": 1837, + "end": 1909, "loc": { "start": { "line": 63, @@ -7109,8 +7143,8 @@ }, "callee": { "type": "Identifier", - "start": 1850, - "end": 1854, + "start": 1841, + "end": 1845, "loc": { "start": { "line": 63, @@ -7127,8 +7161,8 @@ "arguments": [ { "type": "ArrayExpression", - "start": 1855, - "end": 1881, + "start": 1846, + "end": 1872, "loc": { "start": { "line": 63, @@ -7142,8 +7176,8 @@ "elements": [ { "type": "Identifier", - "start": 1856, - "end": 1874, + "start": 1847, + "end": 1865, "loc": { "start": { "line": 63, @@ -7159,8 +7193,8 @@ }, { "type": "Identifier", - "start": 1876, - "end": 1880, + "start": 1867, + "end": 1871, "loc": { "start": { "line": 63, @@ -7178,8 +7212,8 @@ }, { "type": "ObjectExpression", - "start": 1900, - "end": 1917, + "start": 1891, + "end": 1908, "loc": { "start": { "line": 64, @@ -7193,8 +7227,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1901, - "end": 1916, + "start": 1892, + "end": 1907, "loc": { "start": { "line": 64, @@ -7210,8 +7244,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1901, - "end": 1905, + "start": 1892, + "end": 1896, "loc": { "start": { "line": 64, @@ -7227,8 +7261,8 @@ }, "value": { "type": "MemberExpression", - "start": 1907, - "end": 1916, + "start": 1898, + "end": 1907, "loc": { "start": { "line": 64, @@ -7241,8 +7275,8 @@ }, "object": { "type": "Identifier", - "start": 1907, - "end": 1911, + "start": 1898, + "end": 1902, "loc": { "start": { "line": 64, @@ -7258,8 +7292,8 @@ }, "property": { "type": "Identifier", - "start": 1912, - "end": 1916, + "start": 1903, + "end": 1907, "loc": { "start": { "line": 64, @@ -7288,8 +7322,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -7306,8 +7340,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -7323,8 +7357,8 @@ }, { "type": "ExpressionStatement", - "start": 1974, - "end": 2010, + "start": 1965, + "end": 2001, "loc": { "start": { "line": 67, @@ -7337,8 +7371,8 @@ }, "expression": { "type": "CallExpression", - "start": 1974, - "end": 2009, + "start": 1965, + "end": 2000, "loc": { "start": { "line": 67, @@ -7351,8 +7385,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1974, - "end": 1990, + "start": 1965, + "end": 1981, "loc": { "start": { "line": 67, @@ -7365,8 +7399,8 @@ }, "object": { "type": "ThisExpression", - "start": 1974, - "end": 1978, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 67, @@ -7381,8 +7415,8 @@ }, "property": { "type": "Identifier", - "start": 1979, - "end": 1990, + "start": 1970, + "end": 1981, "loc": { "start": { "line": 67, @@ -7402,8 +7436,8 @@ "arguments": [ { "type": "Identifier", - "start": 1991, - "end": 1997, + "start": 1982, + "end": 1988, "loc": { "start": { "line": 67, @@ -7419,8 +7453,8 @@ }, { "type": "Identifier", - "start": 1999, - "end": 2008, + "start": 1990, + "end": 1999, "loc": { "start": { "line": 67, @@ -7441,8 +7475,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -7459,8 +7493,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -7476,8 +7510,8 @@ }, { "type": "ExpressionStatement", - "start": 2055, - "end": 2092, + "start": 2046, + "end": 2083, "loc": { "start": { "line": 70, @@ -7490,8 +7524,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2055, - "end": 2091, + "start": 2046, + "end": 2082, "loc": { "start": { "line": 70, @@ -7505,8 +7539,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2055, - "end": 2082, + "start": 2046, + "end": 2073, "loc": { "start": { "line": 70, @@ -7519,8 +7553,8 @@ }, "object": { "type": "CallExpression", - "start": 2055, - "end": 2068, + "start": 2046, + "end": 2059, "loc": { "start": { "line": 70, @@ -7533,8 +7567,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2055, - "end": 2066, + "start": 2046, + "end": 2057, "loc": { "start": { "line": 70, @@ -7547,8 +7581,8 @@ }, "object": { "type": "ThisExpression", - "start": 2055, - "end": 2059, + "start": 2046, + "end": 2050, "loc": { "start": { "line": 70, @@ -7563,8 +7597,8 @@ }, "property": { "type": "Identifier", - "start": 2060, - "end": 2066, + "start": 2051, + "end": 2057, "loc": { "start": { "line": 70, @@ -7586,8 +7620,8 @@ }, "property": { "type": "Identifier", - "start": 2069, - "end": 2082, + "start": 2060, + "end": 2073, "loc": { "start": { "line": 70, @@ -7606,8 +7640,8 @@ }, "right": { "type": "Identifier", - "start": 2085, - "end": 2091, + "start": 2076, + "end": 2082, "loc": { "start": { "line": 70, @@ -7627,8 +7661,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -7645,8 +7679,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -7662,8 +7696,8 @@ }, { "type": "ExpressionStatement", - "start": 2141, - "end": 2180, + "start": 2132, + "end": 2171, "loc": { "start": { "line": 73, @@ -7676,8 +7710,8 @@ }, "expression": { "type": "CallExpression", - "start": 2141, - "end": 2179, + "start": 2132, + "end": 2170, "loc": { "start": { "line": 73, @@ -7690,8 +7724,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2141, - "end": 2162, + "start": 2132, + "end": 2153, "loc": { "start": { "line": 73, @@ -7704,8 +7738,8 @@ }, "object": { "type": "CallExpression", - "start": 2141, - "end": 2154, + "start": 2132, + "end": 2145, "loc": { "start": { "line": 73, @@ -7718,8 +7752,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2141, - "end": 2152, + "start": 2132, + "end": 2143, "loc": { "start": { "line": 73, @@ -7732,8 +7766,8 @@ }, "object": { "type": "ThisExpression", - "start": 2141, - "end": 2145, + "start": 2132, + "end": 2136, "loc": { "start": { "line": 73, @@ -7748,8 +7782,8 @@ }, "property": { "type": "Identifier", - "start": 2146, - "end": 2152, + "start": 2137, + "end": 2143, "loc": { "start": { "line": 73, @@ -7771,8 +7805,8 @@ }, "property": { "type": "Identifier", - "start": 2155, - "end": 2162, + "start": 2146, + "end": 2153, "loc": { "start": { "line": 73, @@ -7792,8 +7826,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2163, - "end": 2178, + "start": 2154, + "end": 2169, "loc": { "start": { "line": 73, @@ -7817,8 +7851,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -7843,8 +7877,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -7865,8 +7899,8 @@ { "type": "CommentBlock", "value": "*\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n ", - "start": 552, - "end": 668, + "start": 528, + "end": 644, "loc": { "start": { "line": 25, @@ -7887,8 +7921,8 @@ { "type": "CommentBlock", "value": "*\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n ", - "start": 330, - "end": 502, + "start": 306, + "end": 478, "loc": { "start": { "line": 16, @@ -7905,8 +7939,8 @@ { "type": "CommentLine", "value": " expose plugin", - "start": 2207, - "end": 2223, + "start": 2198, + "end": 2214, "loc": { "start": { "line": 78, @@ -7962,8 +7996,8 @@ { "type": "CommentBlock", "value": "*\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n ", - "start": 330, - "end": 502, + "start": 306, + "end": 478, "loc": { "start": { "line": 16, @@ -7978,8 +8012,8 @@ { "type": "CommentBlock", "value": "*\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n ", - "start": 552, - "end": 668, + "start": 528, + "end": 644, "loc": { "start": { "line": 25, @@ -7994,8 +8028,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -8010,8 +8044,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -8026,8 +8060,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -8042,8 +8076,8 @@ { "type": "CommentLine", "value": " decode", - "start": 1139, - "end": 1148, + "start": 1125, + "end": 1134, "loc": { "start": { "line": 45, @@ -8058,8 +8092,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -8074,8 +8108,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -8090,8 +8124,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -8106,8 +8140,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -8122,8 +8156,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -8138,8 +8172,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -8154,8 +8188,8 @@ { "type": "CommentLine", "value": " expose plugin", - "start": 2207, - "end": 2223, + "start": 2198, + "end": 2214, "loc": { "start": { "line": 78, @@ -8966,16 +9000,18 @@ }, { "type": { - "label": "{", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, + "value": "*", "start": 277, "end": 278, "loc": { @@ -9001,147 +9037,17 @@ "postfix": false, "binop": null }, - "value": "Decoder", - "start": 278, - "end": 285, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Encoder", - "start": 287, - "end": 294, + "value": "as", + "start": 279, + "end": 281, "loc": { "start": { "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 294, - "end": 295, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tools", - "start": 296, - "end": 301, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 301, - "end": 302, - "loc": { - "start": { - "line": 14, - "column": 31 + "column": 9 }, "end": { "line": 14, - "column": 32 + "column": 11 } } }, @@ -9157,42 +9063,17 @@ "postfix": false, "binop": null }, - "value": "Reader", - "start": 303, - "end": 309, - "loc": { - "start": { - "line": 14, - "column": 33 - }, - "end": { - "line": 14, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, + "value": "ebml", + "start": 282, + "end": 286, "loc": { "start": { "line": 14, - "column": 39 + "column": 12 }, "end": { "line": 14, - "column": 40 + "column": 16 } } }, @@ -9209,16 +9090,16 @@ "binop": null }, "value": "from", - "start": 311, - "end": 315, + "start": 287, + "end": 291, "loc": { "start": { "line": 14, - "column": 41 + "column": 17 }, "end": { "line": 14, - "column": 45 + "column": 21 } } }, @@ -9236,16 +9117,16 @@ "updateContext": null }, "value": "ts-ebml", - "start": 316, - "end": 325, + "start": 292, + "end": 301, "loc": { "start": { "line": 14, - "column": 46 + "column": 22 }, "end": { "line": 14, - "column": 55 + "column": 31 } } }, @@ -9262,24 +9143,24 @@ "binop": null, "updateContext": null }, - "start": 325, - "end": 326, + "start": 301, + "end": 302, "loc": { "start": { "line": 14, - "column": 55 + "column": 31 }, "end": { "line": 14, - "column": 56 + "column": 32 } } }, { "type": "CommentBlock", "value": "*\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n ", - "start": 330, - "end": 502, + "start": 306, + "end": 478, "loc": { "start": { "line": 16, @@ -9306,8 +9187,8 @@ "updateContext": null }, "value": "class", - "start": 504, - "end": 509, + "start": 480, + "end": 485, "loc": { "start": { "line": 24, @@ -9332,8 +9213,8 @@ "binop": null }, "value": "TsEBMLEngine", - "start": 510, - "end": 522, + "start": 486, + "end": 498, "loc": { "start": { "line": 24, @@ -9360,8 +9241,8 @@ "updateContext": null }, "value": "extends", - "start": 523, - "end": 530, + "start": 499, + "end": 506, "loc": { "start": { "line": 24, @@ -9386,8 +9267,8 @@ "binop": null }, "value": "ConvertEngine", - "start": 531, - "end": 544, + "start": 507, + "end": 520, "loc": { "start": { "line": 24, @@ -9411,8 +9292,8 @@ "postfix": false, "binop": null }, - "start": 545, - "end": 546, + "start": 521, + "end": 522, "loc": { "start": { "line": 24, @@ -9427,8 +9308,8 @@ { "type": "CommentBlock", "value": "*\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n ", - "start": 552, - "end": 668, + "start": 528, + "end": 644, "loc": { "start": { "line": 25, @@ -9453,8 +9334,8 @@ "binop": null }, "value": "convert", - "start": 674, - "end": 681, + "start": 650, + "end": 657, "loc": { "start": { "line": 30, @@ -9478,8 +9359,8 @@ "postfix": false, "binop": null }, - "start": 681, - "end": 682, + "start": 657, + "end": 658, "loc": { "start": { "line": 30, @@ -9504,8 +9385,8 @@ "binop": null }, "value": "data", - "start": 682, - "end": 686, + "start": 658, + "end": 662, "loc": { "start": { "line": 30, @@ -9529,8 +9410,8 @@ "postfix": false, "binop": null }, - "start": 686, - "end": 687, + "start": 662, + "end": 663, "loc": { "start": { "line": 30, @@ -9554,8 +9435,8 @@ "postfix": false, "binop": null }, - "start": 688, - "end": 689, + "start": 664, + "end": 665, "loc": { "start": { "line": 30, @@ -9582,8 +9463,8 @@ "updateContext": null }, "value": "const", - "start": 699, - "end": 704, + "start": 675, + "end": 680, "loc": { "start": { "line": 31, @@ -9608,8 +9489,8 @@ "binop": null }, "value": "decoder", - "start": 705, - "end": 712, + "start": 681, + "end": 688, "loc": { "start": { "line": 31, @@ -9635,8 +9516,8 @@ "updateContext": null }, "value": "=", - "start": 713, - "end": 714, + "start": 689, + "end": 690, "loc": { "start": { "line": 31, @@ -9663,8 +9544,8 @@ "updateContext": null }, "value": "new", - "start": 715, - "end": 718, + "start": 691, + "end": 694, "loc": { "start": { "line": 31, @@ -9688,9 +9569,9 @@ "postfix": false, "binop": null }, - "value": "Decoder", - "start": 719, - "end": 726, + "value": "ebml", + "start": 695, + "end": 699, "loc": { "start": { "line": 31, @@ -9698,7 +9579,59 @@ }, "end": { "line": 31, - "column": 35 + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Decoder", + "start": 700, + "end": 707, + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 40 } } }, @@ -9714,16 +9647,16 @@ "postfix": false, "binop": null }, - "start": 726, - "end": 727, + "start": 707, + "end": 708, "loc": { "start": { "line": 31, - "column": 35 + "column": 40 }, "end": { "line": 31, - "column": 36 + "column": 41 } } }, @@ -9739,16 +9672,16 @@ "postfix": false, "binop": null }, - "start": 727, - "end": 728, + "start": 708, + "end": 709, "loc": { "start": { "line": 31, - "column": 36 + "column": 41 }, "end": { "line": 31, - "column": 37 + "column": 42 } } }, @@ -9765,16 +9698,16 @@ "binop": null, "updateContext": null }, - "start": 728, - "end": 729, + "start": 709, + "end": 710, "loc": { "start": { "line": 31, - "column": 37 + "column": 42 }, "end": { "line": 31, - "column": 38 + "column": 43 } } }, @@ -9793,8 +9726,8 @@ "updateContext": null }, "value": "const", - "start": 739, - "end": 744, + "start": 720, + "end": 725, "loc": { "start": { "line": 32, @@ -9819,8 +9752,8 @@ "binop": null }, "value": "reader", - "start": 745, - "end": 751, + "start": 726, + "end": 732, "loc": { "start": { "line": 32, @@ -9846,8 +9779,8 @@ "updateContext": null }, "value": "=", - "start": 752, - "end": 753, + "start": 733, + "end": 734, "loc": { "start": { "line": 32, @@ -9873,17 +9806,69 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 754, - "end": 757, + "value": "new", + "start": 735, + "end": 738, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ebml", + "start": 739, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 743, + "end": 744, "loc": { "start": { "line": 32, - "column": 23 + "column": 31 }, "end": { "line": 32, - "column": 26 + "column": 32 } } }, @@ -9900,16 +9885,16 @@ "binop": null }, "value": "Reader", - "start": 758, - "end": 764, + "start": 744, + "end": 750, "loc": { "start": { "line": 32, - "column": 27 + "column": 32 }, "end": { "line": 32, - "column": 33 + "column": 38 } } }, @@ -9925,16 +9910,16 @@ "postfix": false, "binop": null }, - "start": 764, - "end": 765, + "start": 750, + "end": 751, "loc": { "start": { "line": 32, - "column": 33 + "column": 38 }, "end": { "line": 32, - "column": 34 + "column": 39 } } }, @@ -9950,16 +9935,16 @@ "postfix": false, "binop": null }, - "start": 765, - "end": 766, + "start": 751, + "end": 752, "loc": { "start": { "line": 32, - "column": 34 + "column": 39 }, "end": { "line": 32, - "column": 35 + "column": 40 } } }, @@ -9976,16 +9961,16 @@ "binop": null, "updateContext": null }, - "start": 766, - "end": 767, + "start": 752, + "end": 753, "loc": { "start": { "line": 32, - "column": 35 + "column": 40 }, "end": { "line": 32, - "column": 36 + "column": 41 } } }, @@ -10002,8 +9987,8 @@ "binop": null }, "value": "reader", - "start": 777, - "end": 783, + "start": 763, + "end": 769, "loc": { "start": { "line": 33, @@ -10028,8 +10013,8 @@ "binop": null, "updateContext": null }, - "start": 783, - "end": 784, + "start": 769, + "end": 770, "loc": { "start": { "line": 33, @@ -10054,8 +10039,8 @@ "binop": null }, "value": "logging", - "start": 784, - "end": 791, + "start": 770, + "end": 777, "loc": { "start": { "line": 33, @@ -10081,8 +10066,8 @@ "updateContext": null }, "value": "=", - "start": 792, - "end": 793, + "start": 778, + "end": 779, "loc": { "start": { "line": 33, @@ -10109,8 +10094,8 @@ "updateContext": null }, "value": "false", - "start": 794, - "end": 799, + "start": 780, + "end": 785, "loc": { "start": { "line": 33, @@ -10135,8 +10120,8 @@ "binop": null, "updateContext": null }, - "start": 799, - "end": 800, + "start": 785, + "end": 786, "loc": { "start": { "line": 33, @@ -10161,8 +10146,8 @@ "binop": null }, "value": "reader", - "start": 810, - "end": 816, + "start": 796, + "end": 802, "loc": { "start": { "line": 34, @@ -10187,8 +10172,8 @@ "binop": null, "updateContext": null }, - "start": 816, - "end": 817, + "start": 802, + "end": 803, "loc": { "start": { "line": 34, @@ -10213,8 +10198,8 @@ "binop": null }, "value": "drop_default_duration", - "start": 817, - "end": 838, + "start": 803, + "end": 824, "loc": { "start": { "line": 34, @@ -10240,8 +10225,8 @@ "updateContext": null }, "value": "=", - "start": 839, - "end": 840, + "start": 825, + "end": 826, "loc": { "start": { "line": 34, @@ -10268,8 +10253,8 @@ "updateContext": null }, "value": "false", - "start": 841, - "end": 846, + "start": 827, + "end": 832, "loc": { "start": { "line": 34, @@ -10294,8 +10279,8 @@ "binop": null, "updateContext": null }, - "start": 846, - "end": 847, + "start": 832, + "end": 833, "loc": { "start": { "line": 34, @@ -10310,8 +10295,8 @@ { "type": "CommentLine", "value": " save timestamp", - "start": 859, - "end": 876, + "start": 845, + "end": 862, "loc": { "start": { "line": 36, @@ -10338,8 +10323,8 @@ "updateContext": null }, "value": "const", - "start": 886, - "end": 891, + "start": 872, + "end": 877, "loc": { "start": { "line": 37, @@ -10364,8 +10349,8 @@ "binop": null }, "value": "timestamp", - "start": 892, - "end": 901, + "start": 878, + "end": 887, "loc": { "start": { "line": 37, @@ -10391,8 +10376,8 @@ "updateContext": null }, "value": "=", - "start": 902, - "end": 903, + "start": 888, + "end": 889, "loc": { "start": { "line": 37, @@ -10419,8 +10404,8 @@ "updateContext": null }, "value": "new", - "start": 904, - "end": 907, + "start": 890, + "end": 893, "loc": { "start": { "line": 37, @@ -10445,8 +10430,8 @@ "binop": null }, "value": "Date", - "start": 908, - "end": 912, + "start": 894, + "end": 898, "loc": { "start": { "line": 37, @@ -10470,8 +10455,8 @@ "postfix": false, "binop": null }, - "start": 912, - "end": 913, + "start": 898, + "end": 899, "loc": { "start": { "line": 37, @@ -10495,8 +10480,8 @@ "postfix": false, "binop": null }, - "start": 913, - "end": 914, + "start": 899, + "end": 900, "loc": { "start": { "line": 37, @@ -10521,8 +10506,8 @@ "binop": null, "updateContext": null }, - "start": 914, - "end": 915, + "start": 900, + "end": 901, "loc": { "start": { "line": 37, @@ -10547,8 +10532,8 @@ "binop": null }, "value": "timestamp", - "start": 925, - "end": 934, + "start": 911, + "end": 920, "loc": { "start": { "line": 38, @@ -10573,8 +10558,8 @@ "binop": null, "updateContext": null }, - "start": 934, - "end": 935, + "start": 920, + "end": 921, "loc": { "start": { "line": 38, @@ -10599,8 +10584,8 @@ "binop": null }, "value": "setTime", - "start": 935, - "end": 942, + "start": 921, + "end": 928, "loc": { "start": { "line": 38, @@ -10624,8 +10609,8 @@ "postfix": false, "binop": null }, - "start": 942, - "end": 943, + "start": 928, + "end": 929, "loc": { "start": { "line": 38, @@ -10650,8 +10635,8 @@ "binop": null }, "value": "data", - "start": 943, - "end": 947, + "start": 929, + "end": 933, "loc": { "start": { "line": 38, @@ -10676,8 +10661,8 @@ "binop": null, "updateContext": null }, - "start": 947, - "end": 948, + "start": 933, + "end": 934, "loc": { "start": { "line": 38, @@ -10702,8 +10687,8 @@ "binop": null }, "value": "lastModified", - "start": 948, - "end": 960, + "start": 934, + "end": 946, "loc": { "start": { "line": 38, @@ -10727,8 +10712,8 @@ "postfix": false, "binop": null }, - "start": 960, - "end": 961, + "start": 946, + "end": 947, "loc": { "start": { "line": 38, @@ -10753,8 +10738,8 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 947, + "end": 948, "loc": { "start": { "line": 38, @@ -10769,8 +10754,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 974, - "end": 993, + "start": 960, + "end": 979, "loc": { "start": { "line": 40, @@ -10797,8 +10782,8 @@ "updateContext": null }, "value": "this", - "start": 1003, - "end": 1007, + "start": 989, + "end": 993, "loc": { "start": { "line": 41, @@ -10823,8 +10808,8 @@ "binop": null, "updateContext": null }, - "start": 1007, - "end": 1008, + "start": 993, + "end": 994, "loc": { "start": { "line": 41, @@ -10849,8 +10834,8 @@ "binop": null }, "value": "player", - "start": 1008, - "end": 1014, + "start": 994, + "end": 1000, "loc": { "start": { "line": 41, @@ -10874,8 +10859,8 @@ "postfix": false, "binop": null }, - "start": 1014, - "end": 1015, + "start": 1000, + "end": 1001, "loc": { "start": { "line": 41, @@ -10899,8 +10884,8 @@ "postfix": false, "binop": null }, - "start": 1015, - "end": 1016, + "start": 1001, + "end": 1002, "loc": { "start": { "line": 41, @@ -10925,8 +10910,8 @@ "binop": null, "updateContext": null }, - "start": 1016, - "end": 1017, + "start": 1002, + "end": 1003, "loc": { "start": { "line": 41, @@ -10951,8 +10936,8 @@ "binop": null }, "value": "trigger", - "start": 1017, - "end": 1024, + "start": 1003, + "end": 1010, "loc": { "start": { "line": 41, @@ -10976,8 +10961,8 @@ "postfix": false, "binop": null }, - "start": 1024, - "end": 1025, + "start": 1010, + "end": 1011, "loc": { "start": { "line": 41, @@ -11003,8 +10988,8 @@ "updateContext": null }, "value": "startConvert", - "start": 1025, - "end": 1039, + "start": 1011, + "end": 1025, "loc": { "start": { "line": 41, @@ -11028,8 +11013,8 @@ "postfix": false, "binop": null }, - "start": 1039, - "end": 1040, + "start": 1025, + "end": 1026, "loc": { "start": { "line": 41, @@ -11054,8 +11039,8 @@ "binop": null, "updateContext": null }, - "start": 1040, - "end": 1041, + "start": 1026, + "end": 1027, "loc": { "start": { "line": 41, @@ -11070,8 +11055,8 @@ { "type": "CommentLine", "value": " load and convert blob", - "start": 1053, - "end": 1077, + "start": 1039, + "end": 1063, "loc": { "start": { "line": 43, @@ -11098,8 +11083,8 @@ "updateContext": null }, "value": "this", - "start": 1087, - "end": 1091, + "start": 1073, + "end": 1077, "loc": { "start": { "line": 44, @@ -11124,8 +11109,8 @@ "binop": null, "updateContext": null }, - "start": 1091, - "end": 1092, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 44, @@ -11150,8 +11135,8 @@ "binop": null }, "value": "loadBlob", - "start": 1092, - "end": 1100, + "start": 1078, + "end": 1086, "loc": { "start": { "line": 44, @@ -11175,8 +11160,8 @@ "postfix": false, "binop": null }, - "start": 1100, - "end": 1101, + "start": 1086, + "end": 1087, "loc": { "start": { "line": 44, @@ -11201,8 +11186,8 @@ "binop": null }, "value": "data", - "start": 1101, - "end": 1105, + "start": 1087, + "end": 1091, "loc": { "start": { "line": 44, @@ -11226,8 +11211,8 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1091, + "end": 1092, "loc": { "start": { "line": 44, @@ -11252,8 +11237,8 @@ "binop": null, "updateContext": null }, - "start": 1106, - "end": 1107, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 44, @@ -11278,8 +11263,8 @@ "binop": null }, "value": "then", - "start": 1107, - "end": 1111, + "start": 1093, + "end": 1097, "loc": { "start": { "line": 44, @@ -11303,8 +11288,8 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "start": 1097, + "end": 1098, "loc": { "start": { "line": 44, @@ -11328,8 +11313,8 @@ "postfix": false, "binop": null }, - "start": 1112, - "end": 1113, + "start": 1098, + "end": 1099, "loc": { "start": { "line": 44, @@ -11354,8 +11339,8 @@ "binop": null }, "value": "buffer", - "start": 1113, - "end": 1119, + "start": 1099, + "end": 1105, "loc": { "start": { "line": 44, @@ -11379,8 +11364,8 @@ "postfix": false, "binop": null }, - "start": 1119, - "end": 1120, + "start": 1105, + "end": 1106, "loc": { "start": { "line": 44, @@ -11405,8 +11390,8 @@ "binop": null, "updateContext": null }, - "start": 1121, - "end": 1123, + "start": 1107, + "end": 1109, "loc": { "start": { "line": 44, @@ -11430,8 +11415,8 @@ "postfix": false, "binop": null }, - "start": 1124, - "end": 1125, + "start": 1110, + "end": 1111, "loc": { "start": { "line": 44, @@ -11446,8 +11431,8 @@ { "type": "CommentLine", "value": " decode", - "start": 1139, - "end": 1148, + "start": 1125, + "end": 1134, "loc": { "start": { "line": 45, @@ -11474,8 +11459,8 @@ "updateContext": null }, "value": "let", - "start": 1162, - "end": 1165, + "start": 1148, + "end": 1151, "loc": { "start": { "line": 46, @@ -11500,8 +11485,8 @@ "binop": null }, "value": "elms", - "start": 1166, - "end": 1170, + "start": 1152, + "end": 1156, "loc": { "start": { "line": 46, @@ -11527,8 +11512,8 @@ "updateContext": null }, "value": "=", - "start": 1171, - "end": 1172, + "start": 1157, + "end": 1158, "loc": { "start": { "line": 46, @@ -11553,8 +11538,8 @@ "binop": null }, "value": "decoder", - "start": 1173, - "end": 1180, + "start": 1159, + "end": 1166, "loc": { "start": { "line": 46, @@ -11579,8 +11564,8 @@ "binop": null, "updateContext": null }, - "start": 1180, - "end": 1181, + "start": 1166, + "end": 1167, "loc": { "start": { "line": 46, @@ -11605,8 +11590,8 @@ "binop": null }, "value": "decode", - "start": 1181, - "end": 1187, + "start": 1167, + "end": 1173, "loc": { "start": { "line": 46, @@ -11630,8 +11615,8 @@ "postfix": false, "binop": null }, - "start": 1187, - "end": 1188, + "start": 1173, + "end": 1174, "loc": { "start": { "line": 46, @@ -11656,8 +11641,8 @@ "binop": null }, "value": "buffer", - "start": 1188, - "end": 1194, + "start": 1174, + "end": 1180, "loc": { "start": { "line": 46, @@ -11681,8 +11666,8 @@ "postfix": false, "binop": null }, - "start": 1194, - "end": 1195, + "start": 1180, + "end": 1181, "loc": { "start": { "line": 46, @@ -11707,8 +11692,8 @@ "binop": null, "updateContext": null }, - "start": 1195, - "end": 1196, + "start": 1181, + "end": 1182, "loc": { "start": { "line": 46, @@ -11723,8 +11708,8 @@ { "type": "CommentLine", "value": " see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828", - "start": 1212, - "end": 1288, + "start": 1198, + "end": 1274, "loc": { "start": { "line": 48, @@ -11751,8 +11736,8 @@ "updateContext": null }, "value": "const", - "start": 1302, - "end": 1307, + "start": 1288, + "end": 1293, "loc": { "start": { "line": 49, @@ -11777,8 +11762,8 @@ "binop": null }, "value": "validEmlType", - "start": 1308, - "end": 1320, + "start": 1294, + "end": 1306, "loc": { "start": { "line": 49, @@ -11804,8 +11789,8 @@ "updateContext": null }, "value": "=", - "start": 1321, - "end": 1322, + "start": 1307, + "end": 1308, "loc": { "start": { "line": 49, @@ -11830,8 +11815,8 @@ "binop": null, "updateContext": null }, - "start": 1323, - "end": 1324, + "start": 1309, + "end": 1310, "loc": { "start": { "line": 49, @@ -11857,8 +11842,8 @@ "updateContext": null }, "value": "m", - "start": 1324, - "end": 1327, + "start": 1310, + "end": 1313, "loc": { "start": { "line": 49, @@ -11883,8 +11868,8 @@ "binop": null, "updateContext": null }, - "start": 1327, - "end": 1328, + "start": 1313, + "end": 1314, "loc": { "start": { "line": 49, @@ -11910,8 +11895,8 @@ "updateContext": null }, "value": "u", - "start": 1329, - "end": 1332, + "start": 1315, + "end": 1318, "loc": { "start": { "line": 49, @@ -11936,8 +11921,8 @@ "binop": null, "updateContext": null }, - "start": 1332, - "end": 1333, + "start": 1318, + "end": 1319, "loc": { "start": { "line": 49, @@ -11963,8 +11948,8 @@ "updateContext": null }, "value": "i", - "start": 1334, - "end": 1337, + "start": 1320, + "end": 1323, "loc": { "start": { "line": 49, @@ -11989,8 +11974,8 @@ "binop": null, "updateContext": null }, - "start": 1337, - "end": 1338, + "start": 1323, + "end": 1324, "loc": { "start": { "line": 49, @@ -12016,8 +12001,8 @@ "updateContext": null }, "value": "f", - "start": 1339, - "end": 1342, + "start": 1325, + "end": 1328, "loc": { "start": { "line": 49, @@ -12042,8 +12027,8 @@ "binop": null, "updateContext": null }, - "start": 1342, - "end": 1343, + "start": 1328, + "end": 1329, "loc": { "start": { "line": 49, @@ -12069,8 +12054,8 @@ "updateContext": null }, "value": "s", - "start": 1344, - "end": 1347, + "start": 1330, + "end": 1333, "loc": { "start": { "line": 49, @@ -12095,8 +12080,8 @@ "binop": null, "updateContext": null }, - "start": 1347, - "end": 1348, + "start": 1333, + "end": 1334, "loc": { "start": { "line": 49, @@ -12122,8 +12107,8 @@ "updateContext": null }, "value": "8", - "start": 1349, - "end": 1352, + "start": 1335, + "end": 1338, "loc": { "start": { "line": 49, @@ -12148,8 +12133,8 @@ "binop": null, "updateContext": null }, - "start": 1352, - "end": 1353, + "start": 1338, + "end": 1339, "loc": { "start": { "line": 49, @@ -12175,8 +12160,8 @@ "updateContext": null }, "value": "b", - "start": 1354, - "end": 1357, + "start": 1340, + "end": 1343, "loc": { "start": { "line": 49, @@ -12201,8 +12186,8 @@ "binop": null, "updateContext": null }, - "start": 1357, - "end": 1358, + "start": 1343, + "end": 1344, "loc": { "start": { "line": 49, @@ -12228,8 +12213,8 @@ "updateContext": null }, "value": "d", - "start": 1359, - "end": 1362, + "start": 1345, + "end": 1348, "loc": { "start": { "line": 49, @@ -12254,8 +12239,8 @@ "binop": null, "updateContext": null }, - "start": 1362, - "end": 1363, + "start": 1348, + "end": 1349, "loc": { "start": { "line": 49, @@ -12280,8 +12265,8 @@ "binop": null, "updateContext": null }, - "start": 1363, - "end": 1364, + "start": 1349, + "end": 1350, "loc": { "start": { "line": 49, @@ -12306,8 +12291,8 @@ "binop": null }, "value": "elms", - "start": 1378, - "end": 1382, + "start": 1364, + "end": 1368, "loc": { "start": { "line": 50, @@ -12333,8 +12318,8 @@ "updateContext": null }, "value": "=", - "start": 1383, - "end": 1384, + "start": 1369, + "end": 1370, "loc": { "start": { "line": 50, @@ -12359,8 +12344,8 @@ "binop": null }, "value": "elms", - "start": 1385, - "end": 1389, + "start": 1371, + "end": 1375, "loc": { "start": { "line": 50, @@ -12385,8 +12370,8 @@ "binop": null, "updateContext": null }, - "start": 1389, - "end": 1390, + "start": 1375, + "end": 1376, "loc": { "start": { "line": 50, @@ -12411,8 +12396,8 @@ "binop": null }, "value": "filter", - "start": 1390, - "end": 1396, + "start": 1376, + "end": 1382, "loc": { "start": { "line": 50, @@ -12436,8 +12421,8 @@ "postfix": false, "binop": null }, - "start": 1396, - "end": 1397, + "start": 1382, + "end": 1383, "loc": { "start": { "line": 50, @@ -12461,8 +12446,8 @@ "postfix": false, "binop": null }, - "start": 1397, - "end": 1398, + "start": 1383, + "end": 1384, "loc": { "start": { "line": 50, @@ -12487,8 +12472,8 @@ "binop": null }, "value": "elm", - "start": 1398, - "end": 1401, + "start": 1384, + "end": 1387, "loc": { "start": { "line": 50, @@ -12512,8 +12497,8 @@ "postfix": false, "binop": null }, - "start": 1401, - "end": 1402, + "start": 1387, + "end": 1388, "loc": { "start": { "line": 50, @@ -12538,8 +12523,8 @@ "binop": null, "updateContext": null }, - "start": 1403, - "end": 1405, + "start": 1389, + "end": 1391, "loc": { "start": { "line": 50, @@ -12564,8 +12549,8 @@ "binop": null }, "value": "validEmlType", - "start": 1406, - "end": 1418, + "start": 1392, + "end": 1404, "loc": { "start": { "line": 50, @@ -12590,8 +12575,8 @@ "binop": null, "updateContext": null }, - "start": 1418, - "end": 1419, + "start": 1404, + "end": 1405, "loc": { "start": { "line": 50, @@ -12616,8 +12601,8 @@ "binop": null }, "value": "includes", - "start": 1419, - "end": 1427, + "start": 1405, + "end": 1413, "loc": { "start": { "line": 50, @@ -12641,8 +12626,8 @@ "postfix": false, "binop": null }, - "start": 1427, - "end": 1428, + "start": 1413, + "end": 1414, "loc": { "start": { "line": 50, @@ -12667,8 +12652,8 @@ "binop": null }, "value": "elm", - "start": 1428, - "end": 1431, + "start": 1414, + "end": 1417, "loc": { "start": { "line": 50, @@ -12693,8 +12678,8 @@ "binop": null, "updateContext": null }, - "start": 1431, - "end": 1432, + "start": 1417, + "end": 1418, "loc": { "start": { "line": 50, @@ -12719,8 +12704,8 @@ "binop": null }, "value": "type", - "start": 1432, - "end": 1436, + "start": 1418, + "end": 1422, "loc": { "start": { "line": 50, @@ -12744,8 +12729,8 @@ "postfix": false, "binop": null }, - "start": 1436, - "end": 1437, + "start": 1422, + "end": 1423, "loc": { "start": { "line": 50, @@ -12769,8 +12754,8 @@ "postfix": false, "binop": null }, - "start": 1437, - "end": 1438, + "start": 1423, + "end": 1424, "loc": { "start": { "line": 50, @@ -12795,8 +12780,8 @@ "binop": null, "updateContext": null }, - "start": 1438, - "end": 1439, + "start": 1424, + "end": 1425, "loc": { "start": { "line": 50, @@ -12821,8 +12806,8 @@ "binop": null }, "value": "elms", - "start": 1455, - "end": 1459, + "start": 1441, + "end": 1445, "loc": { "start": { "line": 52, @@ -12847,8 +12832,8 @@ "binop": null, "updateContext": null }, - "start": 1459, - "end": 1460, + "start": 1445, + "end": 1446, "loc": { "start": { "line": 52, @@ -12873,8 +12858,8 @@ "binop": null }, "value": "forEach", - "start": 1460, - "end": 1467, + "start": 1446, + "end": 1453, "loc": { "start": { "line": 52, @@ -12898,8 +12883,8 @@ "postfix": false, "binop": null }, - "start": 1467, - "end": 1468, + "start": 1453, + "end": 1454, "loc": { "start": { "line": 52, @@ -12923,8 +12908,8 @@ "postfix": false, "binop": null }, - "start": 1468, - "end": 1469, + "start": 1454, + "end": 1455, "loc": { "start": { "line": 52, @@ -12949,8 +12934,8 @@ "binop": null }, "value": "elm", - "start": 1469, - "end": 1472, + "start": 1455, + "end": 1458, "loc": { "start": { "line": 52, @@ -12974,8 +12959,8 @@ "postfix": false, "binop": null }, - "start": 1472, - "end": 1473, + "start": 1458, + "end": 1459, "loc": { "start": { "line": 52, @@ -13000,8 +12985,8 @@ "binop": null, "updateContext": null }, - "start": 1474, - "end": 1476, + "start": 1460, + "end": 1462, "loc": { "start": { "line": 52, @@ -13025,8 +13010,8 @@ "postfix": false, "binop": null }, - "start": 1477, - "end": 1478, + "start": 1463, + "end": 1464, "loc": { "start": { "line": 52, @@ -13051,8 +13036,8 @@ "binop": null }, "value": "reader", - "start": 1496, - "end": 1502, + "start": 1482, + "end": 1488, "loc": { "start": { "line": 53, @@ -13077,8 +13062,8 @@ "binop": null, "updateContext": null }, - "start": 1502, - "end": 1503, + "start": 1488, + "end": 1489, "loc": { "start": { "line": 53, @@ -13103,8 +13088,8 @@ "binop": null }, "value": "read", - "start": 1503, - "end": 1507, + "start": 1489, + "end": 1493, "loc": { "start": { "line": 53, @@ -13128,8 +13113,8 @@ "postfix": false, "binop": null }, - "start": 1507, - "end": 1508, + "start": 1493, + "end": 1494, "loc": { "start": { "line": 53, @@ -13154,8 +13139,8 @@ "binop": null }, "value": "elm", - "start": 1508, - "end": 1511, + "start": 1494, + "end": 1497, "loc": { "start": { "line": 53, @@ -13179,8 +13164,8 @@ "postfix": false, "binop": null }, - "start": 1511, - "end": 1512, + "start": 1497, + "end": 1498, "loc": { "start": { "line": 53, @@ -13205,8 +13190,8 @@ "binop": null, "updateContext": null }, - "start": 1512, - "end": 1513, + "start": 1498, + "end": 1499, "loc": { "start": { "line": 53, @@ -13230,8 +13215,8 @@ "postfix": false, "binop": null }, - "start": 1527, - "end": 1528, + "start": 1513, + "end": 1514, "loc": { "start": { "line": 54, @@ -13255,8 +13240,8 @@ "postfix": false, "binop": null }, - "start": 1528, - "end": 1529, + "start": 1514, + "end": 1515, "loc": { "start": { "line": 54, @@ -13281,8 +13266,8 @@ "binop": null, "updateContext": null }, - "start": 1529, - "end": 1530, + "start": 1515, + "end": 1516, "loc": { "start": { "line": 54, @@ -13307,8 +13292,8 @@ "binop": null }, "value": "reader", - "start": 1544, - "end": 1550, + "start": 1530, + "end": 1536, "loc": { "start": { "line": 55, @@ -13333,8 +13318,8 @@ "binop": null, "updateContext": null }, - "start": 1550, - "end": 1551, + "start": 1536, + "end": 1537, "loc": { "start": { "line": 55, @@ -13359,8 +13344,8 @@ "binop": null }, "value": "stop", - "start": 1551, - "end": 1555, + "start": 1537, + "end": 1541, "loc": { "start": { "line": 55, @@ -13384,8 +13369,8 @@ "postfix": false, "binop": null }, - "start": 1555, - "end": 1556, + "start": 1541, + "end": 1542, "loc": { "start": { "line": 55, @@ -13409,8 +13394,8 @@ "postfix": false, "binop": null }, - "start": 1556, - "end": 1557, + "start": 1542, + "end": 1543, "loc": { "start": { "line": 55, @@ -13435,8 +13420,8 @@ "binop": null, "updateContext": null }, - "start": 1557, - "end": 1558, + "start": 1543, + "end": 1544, "loc": { "start": { "line": 55, @@ -13451,8 +13436,8 @@ { "type": "CommentLine", "value": " generate metadata", - "start": 1574, - "end": 1594, + "start": 1560, + "end": 1580, "loc": { "start": { "line": 57, @@ -13479,8 +13464,8 @@ "updateContext": null }, "value": "let", - "start": 1608, - "end": 1611, + "start": 1594, + "end": 1597, "loc": { "start": { "line": 58, @@ -13505,8 +13490,8 @@ "binop": null }, "value": "refinedMetadataBuf", - "start": 1612, - "end": 1630, + "start": 1598, + "end": 1616, "loc": { "start": { "line": 58, @@ -13532,8 +13517,8 @@ "updateContext": null }, "value": "=", - "start": 1631, - "end": 1632, + "start": 1617, + "end": 1618, "loc": { "start": { "line": 58, @@ -13557,9 +13542,9 @@ "postfix": false, "binop": null }, - "value": "tools", - "start": 1633, - "end": 1638, + "value": "ebml", + "start": 1619, + "end": 1623, "loc": { "start": { "line": 58, @@ -13567,7 +13552,7 @@ }, "end": { "line": 58, - "column": 42 + "column": 41 } } }, @@ -13584,8 +13569,34 @@ "binop": null, "updateContext": null }, - "start": 1638, - "end": 1639, + "start": 1623, + "end": 1624, + "loc": { + "start": { + "line": 58, + "column": 41 + }, + "end": { + "line": 58, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tools", + "start": 1624, + "end": 1629, "loc": { "start": { "line": 58, @@ -13593,7 +13604,33 @@ }, "end": { "line": 58, - "column": 43 + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1629, + "end": 1630, + "loc": { + "start": { + "line": 58, + "column": 47 + }, + "end": { + "line": 58, + "column": 48 } } }, @@ -13610,16 +13647,16 @@ "binop": null }, "value": "makeMetadataSeekable", - "start": 1639, - "end": 1659, + "start": 1630, + "end": 1650, "loc": { "start": { "line": 58, - "column": 43 + "column": 48 }, "end": { "line": 58, - "column": 63 + "column": 68 } } }, @@ -13635,16 +13672,16 @@ "postfix": false, "binop": null }, - "start": 1659, - "end": 1660, + "start": 1650, + "end": 1651, "loc": { "start": { "line": 58, - "column": 63 + "column": 68 }, "end": { "line": 58, - "column": 64 + "column": 69 } } }, @@ -13661,8 +13698,8 @@ "binop": null }, "value": "reader", - "start": 1678, - "end": 1684, + "start": 1669, + "end": 1675, "loc": { "start": { "line": 59, @@ -13687,8 +13724,8 @@ "binop": null, "updateContext": null }, - "start": 1684, - "end": 1685, + "start": 1675, + "end": 1676, "loc": { "start": { "line": 59, @@ -13713,8 +13750,8 @@ "binop": null }, "value": "metadatas", - "start": 1685, - "end": 1694, + "start": 1676, + "end": 1685, "loc": { "start": { "line": 59, @@ -13739,8 +13776,8 @@ "binop": null, "updateContext": null }, - "start": 1694, - "end": 1695, + "start": 1685, + "end": 1686, "loc": { "start": { "line": 59, @@ -13765,8 +13802,8 @@ "binop": null }, "value": "reader", - "start": 1696, - "end": 1702, + "start": 1687, + "end": 1693, "loc": { "start": { "line": 59, @@ -13791,8 +13828,8 @@ "binop": null, "updateContext": null }, - "start": 1702, - "end": 1703, + "start": 1693, + "end": 1694, "loc": { "start": { "line": 59, @@ -13817,8 +13854,8 @@ "binop": null }, "value": "duration", - "start": 1703, - "end": 1711, + "start": 1694, + "end": 1702, "loc": { "start": { "line": 59, @@ -13843,8 +13880,8 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 1702, + "end": 1703, "loc": { "start": { "line": 59, @@ -13869,8 +13906,8 @@ "binop": null }, "value": "reader", - "start": 1713, - "end": 1719, + "start": 1704, + "end": 1710, "loc": { "start": { "line": 59, @@ -13895,8 +13932,8 @@ "binop": null, "updateContext": null }, - "start": 1719, - "end": 1720, + "start": 1710, + "end": 1711, "loc": { "start": { "line": 59, @@ -13921,8 +13958,8 @@ "binop": null }, "value": "cues", - "start": 1720, - "end": 1724, + "start": 1711, + "end": 1715, "loc": { "start": { "line": 59, @@ -13946,8 +13983,8 @@ "postfix": false, "binop": null }, - "start": 1724, - "end": 1725, + "start": 1715, + "end": 1716, "loc": { "start": { "line": 59, @@ -13972,8 +14009,8 @@ "binop": null, "updateContext": null }, - "start": 1725, - "end": 1726, + "start": 1716, + "end": 1717, "loc": { "start": { "line": 59, @@ -14000,8 +14037,8 @@ "updateContext": null }, "value": "let", - "start": 1740, - "end": 1743, + "start": 1731, + "end": 1734, "loc": { "start": { "line": 60, @@ -14026,8 +14063,8 @@ "binop": null }, "value": "body", - "start": 1744, - "end": 1748, + "start": 1735, + "end": 1739, "loc": { "start": { "line": 60, @@ -14053,8 +14090,8 @@ "updateContext": null }, "value": "=", - "start": 1749, - "end": 1750, + "start": 1740, + "end": 1741, "loc": { "start": { "line": 60, @@ -14079,8 +14116,8 @@ "binop": null }, "value": "buffer", - "start": 1751, - "end": 1757, + "start": 1742, + "end": 1748, "loc": { "start": { "line": 60, @@ -14105,8 +14142,8 @@ "binop": null, "updateContext": null }, - "start": 1757, - "end": 1758, + "start": 1748, + "end": 1749, "loc": { "start": { "line": 60, @@ -14131,8 +14168,8 @@ "binop": null }, "value": "slice", - "start": 1758, - "end": 1763, + "start": 1749, + "end": 1754, "loc": { "start": { "line": 60, @@ -14156,8 +14193,8 @@ "postfix": false, "binop": null }, - "start": 1763, - "end": 1764, + "start": 1754, + "end": 1755, "loc": { "start": { "line": 60, @@ -14182,8 +14219,8 @@ "binop": null }, "value": "reader", - "start": 1764, - "end": 1770, + "start": 1755, + "end": 1761, "loc": { "start": { "line": 60, @@ -14208,8 +14245,8 @@ "binop": null, "updateContext": null }, - "start": 1770, - "end": 1771, + "start": 1761, + "end": 1762, "loc": { "start": { "line": 60, @@ -14234,8 +14271,8 @@ "binop": null }, "value": "metadataSize", - "start": 1771, - "end": 1783, + "start": 1762, + "end": 1774, "loc": { "start": { "line": 60, @@ -14259,8 +14296,8 @@ "postfix": false, "binop": null }, - "start": 1783, - "end": 1784, + "start": 1774, + "end": 1775, "loc": { "start": { "line": 60, @@ -14285,8 +14322,8 @@ "binop": null, "updateContext": null }, - "start": 1784, - "end": 1785, + "start": 1775, + "end": 1776, "loc": { "start": { "line": 60, @@ -14301,8 +14338,8 @@ { "type": "CommentLine", "value": " create new blob", - "start": 1801, - "end": 1819, + "start": 1792, + "end": 1810, "loc": { "start": { "line": 62, @@ -14329,8 +14366,8 @@ "updateContext": null }, "value": "let", - "start": 1833, - "end": 1836, + "start": 1824, + "end": 1827, "loc": { "start": { "line": 63, @@ -14355,8 +14392,8 @@ "binop": null }, "value": "result", - "start": 1837, - "end": 1843, + "start": 1828, + "end": 1834, "loc": { "start": { "line": 63, @@ -14382,8 +14419,8 @@ "updateContext": null }, "value": "=", - "start": 1844, - "end": 1845, + "start": 1835, + "end": 1836, "loc": { "start": { "line": 63, @@ -14410,8 +14447,8 @@ "updateContext": null }, "value": "new", - "start": 1846, - "end": 1849, + "start": 1837, + "end": 1840, "loc": { "start": { "line": 63, @@ -14436,8 +14473,8 @@ "binop": null }, "value": "Blob", - "start": 1850, - "end": 1854, + "start": 1841, + "end": 1845, "loc": { "start": { "line": 63, @@ -14461,8 +14498,8 @@ "postfix": false, "binop": null }, - "start": 1854, - "end": 1855, + "start": 1845, + "end": 1846, "loc": { "start": { "line": 63, @@ -14487,8 +14524,8 @@ "binop": null, "updateContext": null }, - "start": 1855, - "end": 1856, + "start": 1846, + "end": 1847, "loc": { "start": { "line": 63, @@ -14513,8 +14550,8 @@ "binop": null }, "value": "refinedMetadataBuf", - "start": 1856, - "end": 1874, + "start": 1847, + "end": 1865, "loc": { "start": { "line": 63, @@ -14539,8 +14576,8 @@ "binop": null, "updateContext": null }, - "start": 1874, - "end": 1875, + "start": 1865, + "end": 1866, "loc": { "start": { "line": 63, @@ -14565,8 +14602,8 @@ "binop": null }, "value": "body", - "start": 1876, - "end": 1880, + "start": 1867, + "end": 1871, "loc": { "start": { "line": 63, @@ -14591,8 +14628,8 @@ "binop": null, "updateContext": null }, - "start": 1880, - "end": 1881, + "start": 1871, + "end": 1872, "loc": { "start": { "line": 63, @@ -14617,8 +14654,8 @@ "binop": null, "updateContext": null }, - "start": 1881, - "end": 1882, + "start": 1872, + "end": 1873, "loc": { "start": { "line": 63, @@ -14642,8 +14679,8 @@ "postfix": false, "binop": null }, - "start": 1900, - "end": 1901, + "start": 1891, + "end": 1892, "loc": { "start": { "line": 64, @@ -14668,8 +14705,8 @@ "binop": null }, "value": "type", - "start": 1901, - "end": 1905, + "start": 1892, + "end": 1896, "loc": { "start": { "line": 64, @@ -14694,8 +14731,8 @@ "binop": null, "updateContext": null }, - "start": 1905, - "end": 1906, + "start": 1896, + "end": 1897, "loc": { "start": { "line": 64, @@ -14720,8 +14757,8 @@ "binop": null }, "value": "data", - "start": 1907, - "end": 1911, + "start": 1898, + "end": 1902, "loc": { "start": { "line": 64, @@ -14746,8 +14783,8 @@ "binop": null, "updateContext": null }, - "start": 1911, - "end": 1912, + "start": 1902, + "end": 1903, "loc": { "start": { "line": 64, @@ -14772,8 +14809,8 @@ "binop": null }, "value": "type", - "start": 1912, - "end": 1916, + "start": 1903, + "end": 1907, "loc": { "start": { "line": 64, @@ -14797,8 +14834,8 @@ "postfix": false, "binop": null }, - "start": 1916, - "end": 1917, + "start": 1907, + "end": 1908, "loc": { "start": { "line": 64, @@ -14822,8 +14859,8 @@ "postfix": false, "binop": null }, - "start": 1917, - "end": 1918, + "start": 1908, + "end": 1909, "loc": { "start": { "line": 64, @@ -14848,8 +14885,8 @@ "binop": null, "updateContext": null }, - "start": 1918, - "end": 1919, + "start": 1909, + "end": 1910, "loc": { "start": { "line": 64, @@ -14864,8 +14901,8 @@ { "type": "CommentLine", "value": " add existing file info", - "start": 1935, - "end": 1960, + "start": 1926, + "end": 1951, "loc": { "start": { "line": 66, @@ -14892,8 +14929,8 @@ "updateContext": null }, "value": "this", - "start": 1974, - "end": 1978, + "start": 1965, + "end": 1969, "loc": { "start": { "line": 67, @@ -14918,8 +14955,8 @@ "binop": null, "updateContext": null }, - "start": 1978, - "end": 1979, + "start": 1969, + "end": 1970, "loc": { "start": { "line": 67, @@ -14944,8 +14981,8 @@ "binop": null }, "value": "addFileInfo", - "start": 1979, - "end": 1990, + "start": 1970, + "end": 1981, "loc": { "start": { "line": 67, @@ -14969,8 +15006,8 @@ "postfix": false, "binop": null }, - "start": 1990, - "end": 1991, + "start": 1981, + "end": 1982, "loc": { "start": { "line": 67, @@ -14995,8 +15032,8 @@ "binop": null }, "value": "result", - "start": 1991, - "end": 1997, + "start": 1982, + "end": 1988, "loc": { "start": { "line": 67, @@ -15021,8 +15058,8 @@ "binop": null, "updateContext": null }, - "start": 1997, - "end": 1998, + "start": 1988, + "end": 1989, "loc": { "start": { "line": 67, @@ -15047,8 +15084,8 @@ "binop": null }, "value": "timestamp", - "start": 1999, - "end": 2008, + "start": 1990, + "end": 1999, "loc": { "start": { "line": 67, @@ -15072,8 +15109,8 @@ "postfix": false, "binop": null }, - "start": 2008, - "end": 2009, + "start": 1999, + "end": 2000, "loc": { "start": { "line": 67, @@ -15098,8 +15135,8 @@ "binop": null, "updateContext": null }, - "start": 2009, - "end": 2010, + "start": 2000, + "end": 2001, "loc": { "start": { "line": 67, @@ -15114,8 +15151,8 @@ { "type": "CommentLine", "value": " store result", - "start": 2026, - "end": 2041, + "start": 2017, + "end": 2032, "loc": { "start": { "line": 69, @@ -15142,8 +15179,8 @@ "updateContext": null }, "value": "this", - "start": 2055, - "end": 2059, + "start": 2046, + "end": 2050, "loc": { "start": { "line": 70, @@ -15168,8 +15205,8 @@ "binop": null, "updateContext": null }, - "start": 2059, - "end": 2060, + "start": 2050, + "end": 2051, "loc": { "start": { "line": 70, @@ -15194,8 +15231,8 @@ "binop": null }, "value": "player", - "start": 2060, - "end": 2066, + "start": 2051, + "end": 2057, "loc": { "start": { "line": 70, @@ -15219,8 +15256,8 @@ "postfix": false, "binop": null }, - "start": 2066, - "end": 2067, + "start": 2057, + "end": 2058, "loc": { "start": { "line": 70, @@ -15244,8 +15281,8 @@ "postfix": false, "binop": null }, - "start": 2067, - "end": 2068, + "start": 2058, + "end": 2059, "loc": { "start": { "line": 70, @@ -15270,8 +15307,8 @@ "binop": null, "updateContext": null }, - "start": 2068, - "end": 2069, + "start": 2059, + "end": 2060, "loc": { "start": { "line": 70, @@ -15296,8 +15333,8 @@ "binop": null }, "value": "convertedData", - "start": 2069, - "end": 2082, + "start": 2060, + "end": 2073, "loc": { "start": { "line": 70, @@ -15323,8 +15360,8 @@ "updateContext": null }, "value": "=", - "start": 2083, - "end": 2084, + "start": 2074, + "end": 2075, "loc": { "start": { "line": 70, @@ -15349,8 +15386,8 @@ "binop": null }, "value": "result", - "start": 2085, - "end": 2091, + "start": 2076, + "end": 2082, "loc": { "start": { "line": 70, @@ -15375,8 +15412,8 @@ "binop": null, "updateContext": null }, - "start": 2091, - "end": 2092, + "start": 2082, + "end": 2083, "loc": { "start": { "line": 70, @@ -15391,8 +15428,8 @@ { "type": "CommentLine", "value": " notify listeners", - "start": 2108, - "end": 2127, + "start": 2099, + "end": 2118, "loc": { "start": { "line": 72, @@ -15419,8 +15456,8 @@ "updateContext": null }, "value": "this", - "start": 2141, - "end": 2145, + "start": 2132, + "end": 2136, "loc": { "start": { "line": 73, @@ -15445,8 +15482,8 @@ "binop": null, "updateContext": null }, - "start": 2145, - "end": 2146, + "start": 2136, + "end": 2137, "loc": { "start": { "line": 73, @@ -15471,8 +15508,8 @@ "binop": null }, "value": "player", - "start": 2146, - "end": 2152, + "start": 2137, + "end": 2143, "loc": { "start": { "line": 73, @@ -15496,8 +15533,8 @@ "postfix": false, "binop": null }, - "start": 2152, - "end": 2153, + "start": 2143, + "end": 2144, "loc": { "start": { "line": 73, @@ -15521,8 +15558,8 @@ "postfix": false, "binop": null }, - "start": 2153, - "end": 2154, + "start": 2144, + "end": 2145, "loc": { "start": { "line": 73, @@ -15547,8 +15584,8 @@ "binop": null, "updateContext": null }, - "start": 2154, - "end": 2155, + "start": 2145, + "end": 2146, "loc": { "start": { "line": 73, @@ -15573,8 +15610,8 @@ "binop": null }, "value": "trigger", - "start": 2155, - "end": 2162, + "start": 2146, + "end": 2153, "loc": { "start": { "line": 73, @@ -15598,8 +15635,8 @@ "postfix": false, "binop": null }, - "start": 2162, - "end": 2163, + "start": 2153, + "end": 2154, "loc": { "start": { "line": 73, @@ -15625,8 +15662,8 @@ "updateContext": null }, "value": "finishConvert", - "start": 2163, - "end": 2178, + "start": 2154, + "end": 2169, "loc": { "start": { "line": 73, @@ -15650,8 +15687,8 @@ "postfix": false, "binop": null }, - "start": 2178, - "end": 2179, + "start": 2169, + "end": 2170, "loc": { "start": { "line": 73, @@ -15676,8 +15713,8 @@ "binop": null, "updateContext": null }, - "start": 2179, - "end": 2180, + "start": 2170, + "end": 2171, "loc": { "start": { "line": 73, @@ -15701,8 +15738,8 @@ "postfix": false, "binop": null }, - "start": 2190, - "end": 2191, + "start": 2181, + "end": 2182, "loc": { "start": { "line": 74, @@ -15726,8 +15763,8 @@ "postfix": false, "binop": null }, - "start": 2191, - "end": 2192, + "start": 2182, + "end": 2183, "loc": { "start": { "line": 74, @@ -15752,8 +15789,8 @@ "binop": null, "updateContext": null }, - "start": 2192, - "end": 2193, + "start": 2183, + "end": 2184, "loc": { "start": { "line": 74, @@ -15777,8 +15814,8 @@ "postfix": false, "binop": null }, - "start": 2199, - "end": 2200, + "start": 2190, + "end": 2191, "loc": { "start": { "line": 75, @@ -15802,8 +15839,8 @@ "postfix": false, "binop": null }, - "start": 2202, - "end": 2203, + "start": 2193, + "end": 2194, "loc": { "start": { "line": 76, @@ -15818,8 +15855,8 @@ { "type": "CommentLine", "value": " expose plugin", - "start": 2207, - "end": 2223, + "start": 2198, + "end": 2214, "loc": { "start": { "line": 78, @@ -15844,8 +15881,8 @@ "binop": null }, "value": "videojs", - "start": 2225, - "end": 2232, + "start": 2216, + "end": 2223, "loc": { "start": { "line": 79, @@ -15870,8 +15907,8 @@ "binop": null, "updateContext": null }, - "start": 2232, - "end": 2233, + "start": 2223, + "end": 2224, "loc": { "start": { "line": 79, @@ -15896,8 +15933,8 @@ "binop": null }, "value": "TsEBMLEngine", - "start": 2233, - "end": 2245, + "start": 2224, + "end": 2236, "loc": { "start": { "line": 79, @@ -15923,8 +15960,8 @@ "updateContext": null }, "value": "=", - "start": 2246, - "end": 2247, + "start": 2237, + "end": 2238, "loc": { "start": { "line": 79, @@ -15949,8 +15986,8 @@ "binop": null }, "value": "TsEBMLEngine", - "start": 2248, - "end": 2260, + "start": 2239, + "end": 2251, "loc": { "start": { "line": 79, @@ -15975,8 +16012,8 @@ "binop": null, "updateContext": null }, - "start": 2260, - "end": 2261, + "start": 2251, + "end": 2252, "loc": { "start": { "line": 79, @@ -16003,8 +16040,8 @@ "updateContext": null }, "value": "export", - "start": 2265, - "end": 2271, + "start": 2256, + "end": 2262, "loc": { "start": { "line": 81, @@ -16031,8 +16068,8 @@ "updateContext": null }, "value": "default", - "start": 2272, - "end": 2279, + "start": 2263, + "end": 2270, "loc": { "start": { "line": 81, @@ -16057,8 +16094,8 @@ "binop": null }, "value": "TsEBMLEngine", - "start": 2280, - "end": 2292, + "start": 2271, + "end": 2283, "loc": { "start": { "line": 81, @@ -16083,8 +16120,8 @@ "binop": null, "updateContext": null }, - "start": 2292, - "end": 2293, + "start": 2283, + "end": 2284, "loc": { "start": { "line": 81, @@ -16109,8 +16146,8 @@ "binop": null, "updateContext": null }, - "start": 2295, - "end": 2295, + "start": 2286, + "end": 2286, "loc": { "start": { "line": 82, diff --git a/docs/api/file/js/plugins/ts-ebml-plugin.js.html b/docs/api/file/js/plugins/ts-ebml-plugin.js.html index 18ea0580..eed121e9 100644 --- a/docs/api/file/js/plugins/ts-ebml-plugin.js.html +++ b/docs/api/file/js/plugins/ts-ebml-plugin.js.html @@ -114,7 +114,7 @@ import {Buffer} from 'buffer'; window.Buffer = Buffer; -import {Decoder, Encoder, tools, Reader} from 'ts-ebml'; +import * as ebml from 'ts-ebml'; /** * Converter engine using the ts-ebml library. @@ -131,8 +131,8 @@ * @param {Blob} data - Recorded data that needs to be converted. */ convert(data) { - const decoder = new Decoder(); - const reader = new Reader(); + const decoder = new ebml.Decoder(); + const reader = new ebml.Reader(); reader.logging = false; reader.drop_default_duration = false; @@ -158,7 +158,7 @@ reader.stop(); // generate metadata - let refinedMetadataBuf = tools.makeMetadataSeekable( + let refinedMetadataBuf = ebml.tools.makeMetadataSeekable( reader.metadatas, reader.duration, reader.cues); let body = buffer.slice(reader.metadataSize); diff --git a/docs/api/index.json b/docs/api/index.json index 047d7572..cf033681 100644 --- a/docs/api/index.json +++ b/docs/api/index.json @@ -6116,7 +6116,7 @@ "__docId__": 314, "kind": "file", "name": "js/plugins/ts-ebml-plugin.js", - "content": "/**\r\n * @file ts-ebml-plugin.js\r\n * @since 3.3.0\r\n */\r\n\r\nimport videojs from 'video.js';\r\n\r\nconst ConvertEngine = videojs.getComponent('ConvertEngine');\r\n\r\n// see https://github.com/legokichi/ts-ebml/issues/25\r\nimport {Buffer} from 'buffer';\r\nwindow.Buffer = Buffer;\r\n\r\nimport {Decoder, Encoder, tools, Reader} from 'ts-ebml';\r\n\r\n/**\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n */\r\nclass TsEBMLEngine extends ConvertEngine {\r\n /**\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n */\r\n convert(data) {\r\n const decoder = new Decoder();\r\n const reader = new Reader();\r\n reader.logging = false;\r\n reader.drop_default_duration = false;\r\n\r\n // save timestamp\r\n const timestamp = new Date();\r\n timestamp.setTime(data.lastModified);\r\n\r\n // notify listeners\r\n this.player().trigger('startConvert');\r\n\r\n // load and convert blob\r\n this.loadBlob(data).then((buffer) => {\r\n // decode\r\n let elms = decoder.decode(buffer);\r\n\r\n // see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828\r\n const validEmlType = ['m', 'u', 'i', 'f', 's', '8', 'b', 'd'];\r\n elms = elms.filter((elm) => validEmlType.includes(elm.type));\r\n\r\n elms.forEach((elm) => {\r\n reader.read(elm);\r\n });\r\n reader.stop();\r\n\r\n // generate metadata\r\n let refinedMetadataBuf = tools.makeMetadataSeekable(\r\n reader.metadatas, reader.duration, reader.cues);\r\n let body = buffer.slice(reader.metadataSize);\r\n\r\n // create new blob\r\n let result = new Blob([refinedMetadataBuf, body],\r\n {type: data.type});\r\n\r\n // add existing file info\r\n this.addFileInfo(result, timestamp);\r\n\r\n // store result\r\n this.player().convertedData = result;\r\n\r\n // notify listeners\r\n this.player().trigger('finishConvert');\r\n });\r\n }\r\n}\r\n\r\n// expose plugin\r\nvideojs.TsEBMLEngine = TsEBMLEngine;\r\n\r\nexport default TsEBMLEngine;\r\n", + "content": "/**\r\n * @file ts-ebml-plugin.js\r\n * @since 3.3.0\r\n */\r\n\r\nimport videojs from 'video.js';\r\n\r\nconst ConvertEngine = videojs.getComponent('ConvertEngine');\r\n\r\n// see https://github.com/legokichi/ts-ebml/issues/25\r\nimport {Buffer} from 'buffer';\r\nwindow.Buffer = Buffer;\r\n\r\nimport * as ebml from 'ts-ebml';\r\n\r\n/**\r\n * Converter engine using the ts-ebml library.\r\n *\r\n * Used to inject metadata, like duration, into webm files.\r\n *\r\n * @class\r\n * @augments videojs.ConvertEngine\r\n */\r\nclass TsEBMLEngine extends ConvertEngine {\r\n /**\r\n * Inject metadata.\r\n *\r\n * @param {Blob} data - Recorded data that needs to be converted.\r\n */\r\n convert(data) {\r\n const decoder = new ebml.Decoder();\r\n const reader = new ebml.Reader();\r\n reader.logging = false;\r\n reader.drop_default_duration = false;\r\n\r\n // save timestamp\r\n const timestamp = new Date();\r\n timestamp.setTime(data.lastModified);\r\n\r\n // notify listeners\r\n this.player().trigger('startConvert');\r\n\r\n // load and convert blob\r\n this.loadBlob(data).then((buffer) => {\r\n // decode\r\n let elms = decoder.decode(buffer);\r\n\r\n // see https://github.com/legokichi/ts-ebml/issues/33#issuecomment-888800828\r\n const validEmlType = ['m', 'u', 'i', 'f', 's', '8', 'b', 'd'];\r\n elms = elms.filter((elm) => validEmlType.includes(elm.type));\r\n\r\n elms.forEach((elm) => {\r\n reader.read(elm);\r\n });\r\n reader.stop();\r\n\r\n // generate metadata\r\n let refinedMetadataBuf = ebml.tools.makeMetadataSeekable(\r\n reader.metadatas, reader.duration, reader.cues);\r\n let body = buffer.slice(reader.metadataSize);\r\n\r\n // create new blob\r\n let result = new Blob([refinedMetadataBuf, body],\r\n {type: data.type});\r\n\r\n // add existing file info\r\n this.addFileInfo(result, timestamp);\r\n\r\n // store result\r\n this.player().convertedData = result;\r\n\r\n // notify listeners\r\n this.player().trigger('finishConvert');\r\n });\r\n }\r\n}\r\n\r\n// expose plugin\r\nvideojs.TsEBMLEngine = TsEBMLEngine;\r\n\r\nexport default TsEBMLEngine;\r\n", "static": true, "longname": "C:/Users/Thijs/projects/videojs-record/src/js/plugins/ts-ebml-plugin.js", "access": "public", @@ -9947,7 +9947,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"videojs-record\",\r\n \"version\": \"4.7.0\",\r\n \"description\": \"A video.js plugin for recording audio/video/image files.\",\r\n \"author\": \"Collab\",\r\n \"license\": \"MIT\",\r\n \"readmeFilename\": \"README.md\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/collab-project/videojs-record/issues\"\r\n },\r\n \"homepage\": \"https://github.com/collab-project/videojs-record\",\r\n \"main\": \"dist/videojs.record.js\",\r\n \"style\": \"dist/css/videojs.record.css\",\r\n \"sass\": \"src/css/videojs.record.scss\",\r\n \"directories\": {\r\n \"doc\": \"./docs\",\r\n \"lib\": \"./src\",\r\n \"example\": \"./examples\",\r\n \"test\": \"./test\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/collab-project/videojs-record.git\"\r\n },\r\n \"scripts\": {\r\n \"clean\": \"rimraf dist\",\r\n \"build\": \"npm run clean && npm run build:dev && npm run build:min && npm run build:language\",\r\n \"build:main\": \"webpack --config ./build-config/webpack.dev.main.js\",\r\n \"build:main:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\r\n \"build:plugins\": \"webpack --config ./build-config/webpack.dev.plugins.js\",\r\n \"build:plugins:min\": \"webpack --config ./build-config/webpack.prod.plugins.js\",\r\n \"build:dev\": \"npm run build:main && npm run build:plugins\",\r\n \"build:min\": \"npm run build:main:min && npm run build:plugins:min\",\r\n \"build:language\": \"vjslang -d dist/lang src/lang/*.json\",\r\n \"docs\": \"npm-run-all docs:*\",\r\n \"docs:api\": \"rimraf docs/api && esdoc\",\r\n \"lint\": \"npm-run-all lint:*\",\r\n \"lint:js\": \"eslint src/js test build-config\",\r\n \"lint:buddy\": \"buddy --no-color src/js\",\r\n \"lint:json\": \"jsonlint-cli src/lang/*.json src/fonts/*.json\",\r\n \"lint:html\": \"htmlhint examples\",\r\n \"start\": \"npm run build && webpack serve --config ./build-config/webpack.dev.main.js\",\r\n \"test\": \"karma start karma.conf.js\",\r\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\r\n },\r\n \"files\": [\r\n \"dist/\",\r\n \"src/\"\r\n ],\r\n \"keywords\": [\r\n \"waveform\",\r\n \"audio\",\r\n \"video\",\r\n \"wavesurfer\",\r\n \"videojs\",\r\n \"videojs-plugin\",\r\n \"player\",\r\n \"record\",\r\n \"stream\",\r\n \"microphone\",\r\n \"screen\",\r\n \"screenshare\",\r\n \"recorder\",\r\n \"RecordRTC\",\r\n \"MediaRecorder\",\r\n \"libvorbis.js\",\r\n \"vorbis\",\r\n \"ogg\",\r\n \"mp3\",\r\n \"wav\",\r\n \"webm\",\r\n \"opus\"\r\n ],\r\n \"dependencies\": {\r\n \"recordrtc\": \">=5.6.2\",\r\n \"video.js\": \">=7.0.5\",\r\n \"videojs-wavesurfer\": \">=3.10.0\",\r\n \"webrtc-adapter\": \">=8.2.3\"\r\n },\r\n \"devDependencies\": {\r\n \"@babel/core\": \"^7.23.9\",\r\n \"@babel/plugin-transform-runtime\": \"^7.23.9\",\r\n \"@babel/preset-env\": \"^7.23.9\",\r\n \"@babel/register\": \"^7.23.7\",\r\n \"@chiragrupani/karma-chromium-edge-launcher\": \"^2.3.1\",\r\n \"@ffmpeg/core\": \"^0.12.6\",\r\n \"@ffmpeg/core-mt\": \"^0.12.6\",\r\n \"@ffmpeg/ffmpeg\": \"^0.12.10\",\r\n \"@ffmpeg/util\": \"^0.12.1\",\r\n \"@mattiasbuelens/web-streams-polyfill\": \"^0.3.2\",\r\n \"add-zero\": \"^1.0.0\",\r\n \"babel-loader\": \"^9.1.3\",\r\n \"babel-plugin-add-module-exports\": \"^1.0.4\",\r\n \"babel-plugin-istanbul\": \"^6.1.1\",\r\n \"browserslist\": \"^4.22.3\",\r\n \"buddy.js\": \"^0.9.3\",\r\n \"buffer\": \"^6.0.3\",\r\n \"colors\": \"^1.4.0\",\r\n \"copy-webpack-plugin\": \"^12.0.2\",\r\n \"css-loader\": \"^6.10.0\",\r\n \"css-minimizer-webpack-plugin\": \"^6.0.0\",\r\n \"date-fns\": \"^3.3.1\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"^8.56.0\",\r\n \"ffmpeg.js\": \"^4.2.9003\",\r\n \"file-loader\": \"^6.2.0\",\r\n \"fine-uploader\": \">=5.16\",\r\n \"formidable\": \"^2.1.1\",\r\n \"fs-extra\": \"^11.2.0\",\r\n \"host-environment\": \"^2.1.2\",\r\n \"htmlhint\": \"^1.1.4\",\r\n \"in-publish\": \"^2.0.1\",\r\n \"jasmine-core\": \"^5.1.2\",\r\n \"jsonlint-cli\": \"^1.0.1\",\r\n \"karma\": \"^6.4.2\",\r\n \"karma-chrome-launcher\": \"^3.2.0\",\r\n \"karma-coverage\": \"^2.2.1\",\r\n \"karma-detect-browsers\": \"^2.3.3\",\r\n \"karma-firefox-launcher\": \"^2.1.2\",\r\n \"karma-host-environment\": \"^3.0.3\",\r\n \"karma-jasmine\": \"^5.1.0\",\r\n \"karma-jasmine-matchers\": \"^5.0.0\",\r\n \"karma-verbose-reporter\": \"0.0.8\",\r\n \"karma-webpack\": \"^5.0.1\",\r\n \"lamejs\": \">=1.2.1\",\r\n \"libvorbis.js\": \">=1.1.2\",\r\n \"log-timestamp\": \"^0.3.0\",\r\n \"mini-css-extract-plugin\": \"^2.8.0\",\r\n \"node-fs-extra\": \"^0.8.2\",\r\n \"node-static\": \"^0.7.11\",\r\n \"npm-run-all\": \"^4.1.5\",\r\n \"opus-media-recorder\": \">=0.8.0\",\r\n \"opus-recorder\": \">=8.0.5\",\r\n \"parse-ms\": \"^3.0.0\",\r\n \"recorderjs\": \"git+https://github.com/mattdiamond/Recorderjs.git\",\r\n \"rimraf\": \"^5.0.5\",\r\n \"sass\": \"^1.70.0\",\r\n \"sass-loader\": \"^14.1.0\",\r\n \"style-loader\": \"^3.3.4\",\r\n \"terser-webpack-plugin\": \"^5.3.10\",\r\n \"ts-ebml\": \"^2.0.2\",\r\n \"url-loader\": \"^4.1.1\",\r\n \"videojs-languages\": \"^2.0.0\",\r\n \"vmsg\": \">=0.4.0\",\r\n \"webm-wasm\": \">=0.4.1\",\r\n \"webpack\": \"^5.90.1\",\r\n \"webpack-cli\": \"^5.1.4\",\r\n \"webpack-dev-server\": \"^5.0.1\",\r\n \"webpack-merge\": \"^5.10.0\",\r\n \"webpack-remove-empty-scripts\": \"^1.0.4\"\r\n },\r\n \"collective\": {\r\n \"type\": \"opencollective\",\r\n \"url\": \"https://opencollective.com/collab\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"videojs-record\",\r\n \"version\": \"4.8.0\",\r\n \"description\": \"A video.js plugin for recording audio/video/image files.\",\r\n \"author\": \"Collab\",\r\n \"license\": \"MIT\",\r\n \"readmeFilename\": \"README.md\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/collab-project/videojs-record/issues\"\r\n },\r\n \"homepage\": \"https://github.com/collab-project/videojs-record\",\r\n \"main\": \"dist/videojs.record.js\",\r\n \"style\": \"dist/css/videojs.record.css\",\r\n \"sass\": \"src/css/videojs.record.scss\",\r\n \"directories\": {\r\n \"doc\": \"./docs\",\r\n \"lib\": \"./src\",\r\n \"example\": \"./examples\",\r\n \"test\": \"./test\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/collab-project/videojs-record.git\"\r\n },\r\n \"scripts\": {\r\n \"clean\": \"rimraf dist\",\r\n \"build\": \"npm run clean && npm run build:dev && npm run build:min && npm run build:language\",\r\n \"build:main\": \"webpack --config ./build-config/webpack.dev.main.js\",\r\n \"build:main:min\": \"webpack --config ./build-config/webpack.prod.main.js\",\r\n \"build:plugins\": \"webpack --config ./build-config/webpack.dev.plugins.js\",\r\n \"build:plugins:min\": \"webpack --config ./build-config/webpack.prod.plugins.js\",\r\n \"build:dev\": \"npm run build:main && npm run build:plugins\",\r\n \"build:min\": \"npm run build:main:min && npm run build:plugins:min\",\r\n \"build:language\": \"vjslang -d dist/lang src/lang/*.json\",\r\n \"docs\": \"npm-run-all docs:*\",\r\n \"docs:api\": \"rimraf docs/api && esdoc\",\r\n \"lint\": \"npm-run-all lint:*\",\r\n \"lint:js\": \"eslint src/js test build-config\",\r\n \"lint:json\": \"jsonlint-cli src/lang/*.json src/fonts/*.json\",\r\n \"lint:html\": \"htmlhint examples\",\r\n \"start\": \"npm run build && webpack serve --config ./build-config/webpack.dev.main.js\",\r\n \"test\": \"karma start karma.conf.js\",\r\n \"prepublishOnly\": \"not-in-install && npm run build || in-install\"\r\n },\r\n \"files\": [\r\n \"dist/\",\r\n \"src/\"\r\n ],\r\n \"keywords\": [\r\n \"waveform\",\r\n \"audio\",\r\n \"video\",\r\n \"wavesurfer\",\r\n \"videojs\",\r\n \"videojs-plugin\",\r\n \"player\",\r\n \"record\",\r\n \"stream\",\r\n \"microphone\",\r\n \"screen\",\r\n \"screenshare\",\r\n \"recorder\",\r\n \"RecordRTC\",\r\n \"MediaRecorder\",\r\n \"libvorbis.js\",\r\n \"vorbis\",\r\n \"ogg\",\r\n \"mp3\",\r\n \"wav\",\r\n \"webm\",\r\n \"opus\"\r\n ],\r\n \"dependencies\": {\r\n \"recordrtc\": \">=5.6.2\",\r\n \"video.js\": \">=7.0.5\",\r\n \"videojs-wavesurfer\": \">=3.10.0\",\r\n \"webrtc-adapter\": \">=8.2.3\"\r\n },\r\n \"devDependencies\": {\r\n \"@babel/core\": \"^7.24.3\",\r\n \"@babel/plugin-transform-runtime\": \"^7.24.3\",\r\n \"@babel/preset-env\": \"^7.24.3\",\r\n \"@babel/register\": \"^7.23.7\",\r\n \"@chiragrupani/karma-chromium-edge-launcher\": \"^2.3.1\",\r\n \"@ffmpeg/core\": \"^0.12.6\",\r\n \"@ffmpeg/core-mt\": \"^0.12.6\",\r\n \"@ffmpeg/ffmpeg\": \"^0.12.10\",\r\n \"@ffmpeg/util\": \"^0.12.1\",\r\n \"@mattiasbuelens/web-streams-polyfill\": \"^0.3.2\",\r\n \"add-zero\": \"^1.0.0\",\r\n \"babel-loader\": \"^9.1.3\",\r\n \"babel-plugin-add-module-exports\": \"^1.0.4\",\r\n \"babel-plugin-istanbul\": \"^6.1.1\",\r\n \"browserslist\": \"^4.23.0\",\r\n \"buffer\": \"^6.0.3\",\r\n \"colors\": \"^1.4.0\",\r\n \"copy-webpack-plugin\": \"^12.0.2\",\r\n \"css-loader\": \"^6.10.0\",\r\n \"css-minimizer-webpack-plugin\": \"^6.0.0\",\r\n \"date-fns\": \"^3.6.0\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"^8.57.0\",\r\n \"ffmpeg.js\": \"^4.2.9003\",\r\n \"file-loader\": \"^6.2.0\",\r\n \"fine-uploader\": \">=5.16\",\r\n \"formidable\": \"^2.1.1\",\r\n \"fs-extra\": \"^11.2.0\",\r\n \"host-environment\": \"^2.1.2\",\r\n \"htmlhint\": \"^1.1.4\",\r\n \"in-publish\": \"^2.0.1\",\r\n \"jasmine-core\": \"^5.1.2\",\r\n \"jsonlint-cli\": \"^1.0.1\",\r\n \"karma\": \"^6.4.3\",\r\n \"karma-chrome-launcher\": \"^3.2.0\",\r\n \"karma-coverage\": \"^2.2.1\",\r\n \"karma-detect-browsers\": \"^2.3.3\",\r\n \"karma-firefox-launcher\": \"^2.1.3\",\r\n \"karma-host-environment\": \"^3.0.3\",\r\n \"karma-jasmine\": \"^5.1.0\",\r\n \"karma-jasmine-matchers\": \"^5.0.0\",\r\n \"karma-verbose-reporter\": \"0.0.8\",\r\n \"karma-webpack\": \"^5.0.1\",\r\n \"lamejs\": \">=1.2.1\",\r\n \"libvorbis.js\": \">=1.1.2\",\r\n \"log-timestamp\": \"^0.3.0\",\r\n \"mini-css-extract-plugin\": \"^2.8.1\",\r\n \"node-fs-extra\": \"^0.8.2\",\r\n \"node-static\": \"^0.7.11\",\r\n \"npm-run-all\": \"^4.1.5\",\r\n \"opus-media-recorder\": \">=0.8.0\",\r\n \"opus-recorder\": \">=8.0.5\",\r\n \"parse-ms\": \"^3.0.0\",\r\n \"recorderjs\": \"git+https://github.com/mattdiamond/Recorderjs.git\",\r\n \"rimraf\": \"^5.0.5\",\r\n \"sass\": \"^1.72.0\",\r\n \"sass-loader\": \"^14.1.1\",\r\n \"style-loader\": \"^3.3.4\",\r\n \"terser-webpack-plugin\": \"^5.3.10\",\r\n \"ts-ebml\": \"^3.0.1\",\r\n \"url-loader\": \"^4.1.1\",\r\n \"videojs-languages\": \"^2.0.0\",\r\n \"vmsg\": \">=0.4.0\",\r\n \"webm-wasm\": \">=0.4.1\",\r\n \"webpack\": \"^5.91.0\",\r\n \"webpack-cli\": \"^5.1.4\",\r\n \"webpack-dev-server\": \"^5.0.4\",\r\n \"webpack-merge\": \"^5.10.0\",\r\n \"webpack-remove-empty-scripts\": \"^1.0.4\"\r\n },\r\n \"collective\": {\r\n \"type\": \"opencollective\",\r\n \"url\": \"https://opencollective.com/collab\"\r\n }\r\n}\r\n", "longname": "C:\\Users\\Thijs\\projects\\videojs-record\\package.json", "name": "package.json", "static": true, diff --git a/docs/api/source.html b/docs/api/source.html index f85c5818..2744c76f 100644 --- a/docs/api/source.html +++ b/docs/api/source.html @@ -322,9 +322,9 @@ js/plugins/ts-ebml-plugin.js TsEBMLEngine 66 %2/3 - 2295 byte + 2286 byte 81 - 2021-12-06 03:08:54 (UTC) + 2024-03-01 15:47:46 (UTC) js/plugins/vmsg-plugin.js diff --git a/package-lock.json b/package-lock.json index 9533c625..9058b555 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "videojs-record", - "version": "4.7.0", + "version": "4.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "videojs-record", - "version": "4.7.0", + "version": "4.8.0", "license": "MIT", "dependencies": { "recordrtc": ">=5.6.2", diff --git a/package.json b/package.json index ea906b72..148274dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "videojs-record", - "version": "4.7.0", + "version": "4.8.0", "description": "A video.js plugin for recording audio/video/image files.", "author": "Collab", "license": "MIT",