Repository navigation
Fix planar audio conversion; release 0.5.6 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f85d98e
5177418
6f6ba3c
a4cb771
aa38559
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,25 @@ | ||
| { | ||
| "name": "libavjs-webcodecs-polyfill", | ||
| "version": "0.5.5", | ||
| "name": "@kixelated/libavjs-webcodecs-polyfill", | ||
| "version": "0.5.6", | ||
| "description": "A WebCodecs polyfill (ponyfill, really), using libav.js", | ||
| "main": "dist/libavjs-webcodecs-polyfill.js", | ||
| "types": "src/main.ts", | ||
| "type": "module", | ||
| "exports": { | ||
| "import": "./dist/libavjs-webcodecs-polyfill.mjs", | ||
| "default": "./dist/libavjs-webcodecs-polyfill.js", | ||
| "types": "./src/main.ts" | ||
| ".": { | ||
| "types": "./dist/main.d.ts", | ||
| "import": "./dist/main.js" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎. |
||
| } | ||
| }, | ||
| "main": "./dist/main.js", | ||
| "types": "./dist/main.d.ts", | ||
| "files": ["dist"], | ||
| "scripts": { | ||
| "build": "tsc && rollup -c", | ||
| "build": "tsc", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Changing the build to plain Useful? React with 👍 / 👎.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Declining: this fork exists only to publish (Written by Claude Opus 5.5) |
||
| "clean": "rm -rf dist/", | ||
| "test": "echo \"Error: no test specified\" && exit 1" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/ennuicastr/libavjs-webcodecs-polyfill.git" | ||
| "url": "git+https://github.com/kixelated/libavjs-webcodecs-polyfill.git" | ||
| }, | ||
| "keywords": [ | ||
| "webcodecs", | ||
|
|
@@ -29,19 +32,15 @@ | |
| "author": "Yahweasel", | ||
| "license": "0BSD", | ||
| "bugs": { | ||
| "url": "https://github.com/ennuicastr/libavjs-webcodecs-polyfill/issues" | ||
| "url": "https://github.com/kixelated/libavjs-webcodecs-polyfill/issues" | ||
| }, | ||
| "homepage": "https://github.com/ennuicastr/libavjs-webcodecs-polyfill#readme", | ||
| "homepage": "https://github.com/kixelated/libavjs-webcodecs-polyfill#readme", | ||
| "dependencies": { | ||
| "@libav.js/types": "^6.7.7", | ||
| "@ungap/global-this": "^0.4.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@libav.js/variant-webm-vp9": "=6.7.7", | ||
| "@rollup/plugin-commonjs": "^25.0.7", | ||
| "@rollup/plugin-node-resolve": "^15.2.3", | ||
| "@rollup/plugin-terser": "^0.4.4", | ||
| "rollup": "^4.12.0", | ||
| "typescript": "^5.2.2" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consumers importing this package directly in Node or a native browser module,
tscpreserves extensionless source specifiers such as./encoded-audio-chunkindist/main.js; standard ESM resolution does not append.js, so loading the exported entry fails on its first relative dependency unless a bundler rewrites it. Publish a bundled ESM file or emit.js-suffixed imports so the declared export is executable without bundler-specific resolution.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in aa38559: relative imports now carry
.jsand the package declares"type": "module". Confirmed the published 0.5.5 failedimport()under Node withERR_MODULE_NOT_FOUND; the rebuiltdist/main.jsnow loads under Node and Bun, and moq'sjs/hang/src/util/libav.test.tspasses against it.(Written by Claude Opus 5.5)