Skip to content

Commit

Permalink
Update version, file format, and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtillmann committed Jan 22, 2024
1 parent 31f128b commit 7ce037d
Show file tree
Hide file tree
Showing 9 changed files with 6,772 additions and 20,189 deletions.
6,877 changes: 3,911 additions & 2,966 deletions package-lock.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chaptertool",
"version": "0.4.2",
"version": "0.4.3",
"description": "Manage and generate chapters for podcasts and other media via cli or web",
"keywords": [
"podcast",
Expand Down Expand Up @@ -37,33 +37,33 @@
],
"license": "MIT",
"dependencies": {
"@zip.js/zip.js": "^2.6.61",
"bootstrap": "^5.3.1",
"bootstrap-icons": "^1.10.5",
"dotenv": "^16.0.3",
"@zip.js/zip.js": "^2.7.32",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.3",
"dotenv": "^16.3.2",
"escape-string-regexp": "^5.0.0",
"express": "^4.18.2",
"filenamify": "^5.1.1",
"jsdom": "^20.0.3",
"node-fetch-native": "^1.0.1",
"filenamify": "^6.0.0",
"jsdom": "^24.0.0",
"node-fetch-native": "^1.6.1",
"pug": "^3.0.2",
"shepherd.js": "^11.0.1",
"yaml": "^2.1.3"
"shepherd.js": "^11.2.0",
"yaml": "^2.3.4"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"alpinejs": "^3.10.5",
"babel-jest": "^29.3.1",
"concurrently": "^7.6.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"node-sass": "^8.0.0",
"nodemon": "^2.0.20",
"rollup": "^3.7.3",
"rollup-plugin-copy": "^3.4.0",
"terser": "^5.16.1"
"@babel/preset-env": "^7.23.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"alpinejs": "^3.13.4",
"babel-jest": "^29.7.0",
"concurrently": "^8.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-sass": "^9.0.0",
"nodemon": "^3.0.3",
"rollup": "^4.9.6",
"rollup-plugin-copy": "^3.5.0",
"terser": "^5.27.0"
},
"jest": {
"transformIgnorePatterns": [
Expand Down
2 changes: 0 additions & 2 deletions src/Formats/AppleChapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ export class AppleChapters extends MatroskaXML {
const attrContent = exportOptions.acUseTextAttr && chapter.title ? ` text="${chapter.title}"` :'';
const content = !exportOptions.acUseTextAttr && chapter.title ? chapter.title :'';

console.log();

output.push(indent(3, `<TextSample sampleTime="${secondsToTimestamp(chapter.startTime, {milliseconds: true})}"${attrContent}>${content}</TextSample>`));
});

Expand Down
4 changes: 2 additions & 2 deletions src/Formats/WebVTT.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {secondsToTimestamp, timestampToSeconds} from "../util.js";

export class WebVTT extends FormatBase {

filename = 'webvtt-chapters.txt';
mimeType = 'text/plain';
filename = 'webvtt-chapters.vtt';
mimeType = 'text/vtt';

detect(inputString) {
return inputString.trim().slice(0, 6) === 'WEBVTT';
Expand Down
Loading

0 comments on commit 7ce037d

Please sign in to comment.