Merge main into release for tag v1.25.5

This commit is contained in:
github-actions[bot]
2025-12-04 15:41:44 +00:00
5 changed files with 19 additions and 16 deletions
+1 -4
View File
@@ -5,6 +5,7 @@ on:
types: [published] types: [published]
permissions: permissions:
id-token: write # Required for OIDC
contents: read contents: read
jobs: jobs:
@@ -59,10 +60,6 @@ jobs:
- name: Publish Mediabunny to npm - name: Publish Mediabunny to npm
run: npm publish --provenance --access public run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish workspace packages to npm - name: Publish workspace packages to npm
run: npm publish --provenance --access public --workspaces run: npm publish --provenance --access public --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+6 -6
View File
@@ -1,12 +1,12 @@
{ {
"name": "mediabunny", "name": "mediabunny",
"version": "1.25.4", "version": "1.25.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mediabunny", "name": "mediabunny",
"version": "1.25.4", "version": "1.25.5",
"license": "MPL-2.0", "license": "MPL-2.0",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@@ -7739,9 +7739,9 @@
} }
}, },
"node_modules/mediabunny": { "node_modules/mediabunny": {
"version": "1.25.3", "version": "1.25.4",
"resolved": "https://registry.npmjs.org/mediabunny/-/mediabunny-1.25.3.tgz", "resolved": "https://registry.npmjs.org/mediabunny/-/mediabunny-1.25.4.tgz",
"integrity": "sha512-+LDXv/kybsElRQCmMlrdbKmPNvegeIyouGeOUzW5DJ8+M56H4G6wyEL2AJ1A45UcOB+U62qJMV7tuFO9S7yA7g==", "integrity": "sha512-oEMpnAj3fwP6mel84liF7vG58fl0RMC77jS9nmy0UH45nSfZgQqPj06TRQoje1n9hLpz6Dun4+UyCg6x+EKUvw==",
"license": "MPL-2.0", "license": "MPL-2.0",
"peer": true, "peer": true,
"workspaces": [ "workspaces": [
@@ -12065,7 +12065,7 @@
}, },
"packages/mp3-encoder": { "packages/mp3-encoder": {
"name": "@mediabunny/mp3-encoder", "name": "@mediabunny/mp3-encoder",
"version": "1.25.4", "version": "1.25.5",
"license": "MPL-2.0", "license": "MPL-2.0",
"devDependencies": { "devDependencies": {
"@types/emscripten": "^1.40.1" "@types/emscripten": "^1.40.1"
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "mediabunny", "name": "mediabunny",
"author": "Vanilagy", "author": "Vanilagy",
"version": "1.25.4", "version": "1.25.5",
"description": "Pure TypeScript media toolkit for reading, writing, and converting media files, directly in the browser.", "description": "Pure TypeScript media toolkit for reading, writing, and converting media files, directly in the browser.",
"type": "module", "type": "module",
"workspaces": [ "workspaces": [
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@mediabunny/mp3-encoder", "name": "@mediabunny/mp3-encoder",
"author": "Vanilagy", "author": "Vanilagy",
"version": "1.25.4", "version": "1.25.5",
"description": "MP3 encoder extension for Mediabunny, based on LAME.", "description": "MP3 encoder extension for Mediabunny, based on LAME.",
"main": "./dist/bundles/mediabunny-mp3-encoder.mjs", "main": "./dist/bundles/mediabunny-mp3-encoder.mjs",
"module": "./dist/bundles/mediabunny-mp3-encoder.mjs", "module": "./dist/bundles/mediabunny-mp3-encoder.mjs",
+10 -4
View File
@@ -82,10 +82,16 @@ export type ConversionOptions = {
/** Options to trim the input file. */ /** Options to trim the input file. */
trim?: { trim?: {
/** The time in the input file in seconds at which the output file should start. Must be less than `end`. */ /**
start: number; * The time in the input file in seconds at which the output file should start. Must be less than `end`.
/** The time in the input file in seconds at which the output file should end. Must be greater than `start`. */ * Defaults to 0 when omitted.
end: number; */
start?: number;
/**
* The time in the input file in seconds at which the output file should end. Must be greater than `start`.
* Defaults to the duration of the input when omitted.
*/
end?: number;
}; };
/** /**