Borewit

Results 71 issues of Borewit

Alternative to PR #1352, avoiding utilizing [load-esm](https://github.com/Borewit/load-esm), but tweak the TypeScript compiler so that it actually does preserve the dynamic import.

In case of a file (name) provided, parses directly as file, instead of a stream. I have not tested this change runtime.

![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg) ### Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project. #### Snyk changed the following file(s): - `package.json` - `yarn.lock` #### Note...

![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project. #### Snyk changed the following file(s): - `package.json` - `yarn.lock` #### Note...

Switch Node.js compiler option `module` from `commonjs` to `node16`, to preserve dynamic import. With `commonjs` these are converted to `require`. This allows to deprecate the `load-esm` dependency, introduced in 1e43fcb6d39f52e8921311aa20fe3250a4f3aa97....

MIME media subtypes prefixed with `x-ft-` are custom-defined by us. They are neither formally registered with IANA nor based on any informal conventions. These MIME-type mappings changed: - `application/x-lzip` ↦...

API change

WebM audio file detected as: ```js { ext: 'webm', mime: 'video/webm' } ``` expected: ```js { ext: 'webm', mime: 'audio/webm' } ``` Sample file: [02 - Poxfil - Solid Ground...

enhancement

Changes: - Migrate `music-metadata-browser` to [`music-metadata`](https://github.com/Borewit/music-metadata). - Close web stream, when fetching metadata from URL - Pass [Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Type) and [Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Length) to music-metadata - Deprecate polyfills: - `process` - `buffer` -...

This PR is build on top of: - #89 I took a bunch of metadata files, spin op the audioMotion.js in server mode. With the changes of #89 it metadata...