m3u8stream
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -173,10 +173,4 @@ "use strict"; | ||
clearTimeout(refreshTimeout); | ||
if (currPlaylist) { | ||
currPlaylist.unpipe(); | ||
currPlaylist.abort(); | ||
} | ||
if (currSegment) { | ||
currSegment.unpipe(); | ||
currSegment.abort(); | ||
} | ||
currPlaylist === null || currPlaylist === void 0 ? void 0 : currPlaylist.destroy(); | ||
currSegment === null || currSegment === void 0 ? void 0 : currSegment.destroy(); | ||
stream_1.PassThrough.prototype.end.call(stream, null); | ||
@@ -183,0 +177,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const humanStr: (time: string | number) => number; | ||
export declare const humanStr: (time: number | string) => number; | ||
/** | ||
@@ -3,0 +3,0 @@ * Parses a duration string in the form of "123.456S", returns milliseconds. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.durationStr = exports.humanStr = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * Converts human friendly time to milliseconds. Supports the format |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"repository": { | ||
@@ -31,3 +31,3 @@ "type": "git", | ||
"dependencies": { | ||
"miniget": "^2.0.1", | ||
"miniget": "^3.0.0", | ||
"sax": "^1.2.4" | ||
@@ -41,7 +41,7 @@ }, | ||
"mocha": "^7.0.1", | ||
"nock": "^12.0.0", | ||
"nock": "^13.0.5", | ||
"nyc": "^15.0.0", | ||
"sinon": "^9.2.0", | ||
"ts-node": "^8.4.1", | ||
"typescript": "^3.4.2" | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -48,0 +48,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47942
692
+ Addedminiget@3.1.1(transitive)
- Removedminiget@2.1.0(transitive)
Updatedminiget@^3.0.0