@npcz/magic
Version:
Emscripten port of libmagic (https://darwinsys.com/file/) with javascript interface
202 lines (139 loc) • 14.5 kB
Markdown
### Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.3.15](https://github.com/npcz/magic/compare/v1.3.14...v1.3.15)
- build(deps): bump json5 from 2.2.0 to 2.2.3 [`#13`](https://github.com/npcz/magic/pull/13)
- chore: upgrade dev dependencies [`ed821c0`](https://github.com/npcz/magic/commit/ed821c0d9024a9260aef40e4ed362e76e014948d)
- style: fix spelling errors and linter warnings [`89b1750`](https://github.com/npcz/magic/commit/89b17505f4c6f69d40b1d85dad3b6924e41bf5d3)
- doc: fix typos [`d24c5da`](https://github.com/npcz/magic/commit/d24c5da62d2c7b930793cf392585563bb3d3c6a1)
- fix: upgrade native file magic library version [`f900a9d`](https://github.com/npcz/magic/commit/f900a9d70d923e8c989e6f7e75ca1b3433c98e72)
- style: add spell checker exceptions [`3d7ceb7`](https://github.com/npcz/magic/commit/3d7ceb7d08658b4a689428339c9050e15c9124f4)
- chore: upgrade emscripten version [`6a8e875`](https://github.com/npcz/magic/commit/6a8e87579b0a79dec6fd6d698311e4ac3b17bee9)
#### [v1.3.14](https://github.com/npcz/magic/compare/v1.3.13...v1.3.14)
> 18 November 2022
- fix: min version of minimatch to avoid security issue [`38b5c8a`](https://github.com/npcz/magic/commit/38b5c8a8ab9accba8037e2c266f643c8f7331303)
- chore: release v1.3.14 [`33b8976`](https://github.com/npcz/magic/commit/33b8976c4dada593231d17bb45cffc10cc47a311)
- fix: update to latest emscripten to avoid issues with newer version of node [`301bf18`](https://github.com/npcz/magic/commit/301bf186ee1266c5094859f6e707edc69d3e38b2)
- chore: allow automatic tasks in vscode [`e46a401`](https://github.com/npcz/magic/commit/e46a401203b5c70724f1dc3a7af8813d0a1d4b47)
#### [v1.3.13](https://github.com/npcz/magic/compare/v1.3.12...v1.3.13)
> 3 August 2022
- build(deps): bump node-fetch from 2.6.1 to 2.6.7 [`#12`](https://github.com/npcz/magic/pull/12)
- build(deps): bump minimist from 1.2.5 to 1.2.6 [`#11`](https://github.com/npcz/magic/pull/11)
- chore: update dev dependencies [`0f2d70b`](https://github.com/npcz/magic/commit/0f2d70bc03a6fa144d8f839103d1a374ce0bad83)
- release: prepare release 1.3.13 [`3fe5048`](https://github.com/npcz/magic/commit/3fe50481d4afd782f0016deccd9bab685d7fd3e2)
- chore: eliminate error messages inside vscode [`3775f2a`](https://github.com/npcz/magic/commit/3775f2a0952ebcc4e06a866226552b279d5d44e7)
- style: lint fix: double quotes to single [`1053259`](https://github.com/npcz/magic/commit/1053259e9237b6f71d1cef7875bd0f7e3c28dcff)
#### [v1.3.12](https://github.com/npcz/magic/compare/v1.3.11...v1.3.12)
> 10 January 2022
- deps: updates dependencies [`44ca43b`](https://github.com/npcz/magic/commit/44ca43b255eacc0566664c01ee91c1883a588904)
- deps: update dev deps to resolve vulnerabilities [`a290a53`](https://github.com/npcz/magic/commit/a290a531b7d7535dc762c0c82b08bb30a10d7274)
- chore: streamline the build process [`3984615`](https://github.com/npcz/magic/commit/398461505dd378582b222c39dc52f37159f7beba)
- fix(#10): refer to the module as if it were installed [`7c09eaf`](https://github.com/npcz/magic/commit/7c09eaf429738f66f2ed9e69f92934e80bd5d3ce)
- chore: release version 1.3.12 [`52123e1`](https://github.com/npcz/magic/commit/52123e1fb0c972e110e76a0362caa015f38b307d)
- release version 1.3.11 [`fe0a9f5`](https://github.com/npcz/magic/commit/fe0a9f57444ea9aa767500b6c10f42e473f387c6)
- deps: update dev deps to resolve vulnerabilities [`a5788d1`](https://github.com/npcz/magic/commit/a5788d1c7653242b6ff71b116969af351712bd50)
- fix: use @npcz/magic to refer to the module [`25c8e97`](https://github.com/npcz/magic/commit/25c8e9782c75675a20742ffaab470bf7f7092314)
- deps: update emscripten to 3.1.0 [`fb426a6`](https://github.com/npcz/magic/commit/fb426a66d2f1bcad4284ce6ad2934c3ec13e4c7d)
#### [v1.3.11](https://github.com/npcz/magic/compare/v1.3.10...v1.3.11)
> 17 July 2021
- deps: update dependencies to latest [`36d2eb8`](https://github.com/npcz/magic/commit/36d2eb81498a4c21c8296640ea9a4efc579fe823)
- release version 1.3.11 [`91311b6`](https://github.com/npcz/magic/commit/91311b6d3841b4bac12c7f9f2ed73f2a2b4c9b86)
- deps: update emscripten SDK to 2.0.25 [`4aa084f`](https://github.com/npcz/magic/commit/4aa084f2488280d8c8b13136cacf428969771167)
- deps: update libmagic to version 5.40 [`31fedf2`](https://github.com/npcz/magic/commit/31fedf2e7b6d79ae3fe9d724e232c7bcd8ce0d28)
#### [v1.3.10](https://github.com/npcz/magic/compare/v1.3.9...v1.3.10)
> 9 May 2021
- upgrade dev dependencies to latest in yarn.lock [`60825e1`](https://github.com/npcz/magic/commit/60825e168db9d2704b62a0717d2482961da717aa)
- release version 1.3.10 [`5e97850`](https://github.com/npcz/magic/commit/5e9785099acc8fd468880d4991bcfd0579d2a865)
#### [v1.3.9](https://github.com/npcz/magic/compare/v1.3.8...v1.3.9)
> 9 May 2021
- update dev dependencies versions [`d4204dd`](https://github.com/npcz/magic/commit/d4204dddf3dfcb4490f678fb5da794e80951faba)
- format code to fix linter warnings [`50c892b`](https://github.com/npcz/magic/commit/50c892bdb9e1a41d5ec3b3a5233523b13f93f882)
- release version 1.3.9 [`162c80d`](https://github.com/npcz/magic/commit/162c80d552471cffd652f47d0cb83e1345e7df59)
- bump handlebars to 4.7.7 due to security issue [`e587026`](https://github.com/npcz/magic/commit/e5870263a5c14eac5a986d0d7cecdd49cedf2522)
#### [v1.3.8](https://github.com/npcz/magic/compare/v1.3.6...v1.3.8)
> 6 February 2021
- deps: update dependencies [`ea273b0`](https://github.com/npcz/magic/commit/ea273b0cc4f90e1ffbb84a0259a08090a201fd08)
- fix: bump bl and ini packages to fix security issues [`d83b3c4`](https://github.com/npcz/magic/commit/d83b3c4388d91f75a8a50c7ea5bd85266472193d)
- release: version 1.3.7 [`f400c71`](https://github.com/npcz/magic/commit/f400c71a1f1d8808743e1f4a056f499bdfb64b1c)
- build(deps): bump node-fetch from 2.6.0 to 2.6.1 [`495a8e9`](https://github.com/npcz/magic/commit/495a8e9085fc24735ab822958d0e22efa32e161a)
- release: version 1.3.8 [`e02f0a4`](https://github.com/npcz/magic/commit/e02f0a4d5d47c3041656c164cde6f3e6efd36c48)
- deps: bump 'file' lib version to 5.39 and setit in napa config [`017075f`](https://github.com/npcz/magic/commit/017075faa8e852907fcb94c9e9b19e0385da884f)
- deps: update emscripten docker image to latest [`c7aa7e1`](https://github.com/npcz/magic/commit/c7aa7e115cd7cab39bf840cd518632efb7147da2)
- Merge pull request #2 from npcz/dependabot/npm_and_yarn/node-fetch-2.6.1 [`2c810cd`](https://github.com/npcz/magic/commit/2c810cd72d060eeb47601977f19bb50891ecd047)
#### [v1.3.6](https://github.com/npcz/magic/compare/v1.3.5...v1.3.6)
> 18 July 2020
- deps: update deps to mitigate security issue in lodash [`c1dcd52`](https://github.com/npcz/magic/commit/c1dcd520bf63ac91b191162a4a8bd816754df783)
- rel: release 1.3.6 to NPM [`3ccd147`](https://github.com/npcz/magic/commit/3ccd147f7c45564ae8c0f9b1a71b2b8fc393b1c3)
#### [v1.3.5](https://github.com/npcz/magic/compare/v1.3.4...v1.3.5)
> 23 June 2020
- doc: fixed mistakes in doc and updated example in README [`04c8695`](https://github.com/npcz/magic/commit/04c8695333e2ab944c10793a2641c503cbdc54f0)
- release: v1.3.5 [`a0e4f47`](https://github.com/npcz/magic/commit/a0e4f47b7816c929a85a39d175e5a11d070616c5)
#### [v1.3.4](https://github.com/npcz/magic/compare/v1.3.3...v1.3.4)
> 23 June 2020
- deps: update dev dependencies [`7c0e5f4`](https://github.com/npcz/magic/commit/7c0e5f412904c1d9c49f5dd6838e692fa7c209b3)
- feat: upgrade to emscripten 1.37.19 [`b0555c4`](https://github.com/npcz/magic/commit/b0555c4b70b68b7ce90acc5c8727c0b53b2d2e93)
- release: version 1.3.4 [`fa42b77`](https://github.com/npcz/magic/commit/fa42b77d5c0d9c2838cff8835ebf2a3e59e8669c)
- build: remove shared lib build as it causes trouble on linux [`a4ddef8`](https://github.com/npcz/magic/commit/a4ddef81d517df8dd691d2f06ac5e6638111e16e)
#### [v1.3.3](https://github.com/npcz/magic/compare/v1.3.2...v1.3.3)
> 20 April 2020
- fix: make harcoded paths and flags dynamic [`911e1fd`](https://github.com/npcz/magic/commit/911e1fd91fcdfedbb92b75e01e0509f94bb16126)
- release: bump minor version and update changelog [`0677a8a`](https://github.com/npcz/magic/commit/0677a8ab7ad4e24c35c3420d7ffe5ba3108ce681)
- feature: add possibility for custom locateFile [`ffb00cc`](https://github.com/npcz/magic/commit/ffb00ccd6d027a6d61b15cccf2fabf7ec5cd51e6)
- fix: force environment to node [`a8ef096`](https://github.com/npcz/magic/commit/a8ef0965fd6e0af462b8774b1fe83066ed6c0fb8)
#### [v1.3.2](https://github.com/npcz/magic/compare/v1.3.1...v1.3.2)
> 20 April 2020
- updated dependencies and fixed unbound variable in build.sh [`f4bbdcc`](https://github.com/npcz/magic/commit/f4bbdcc47b42afbd96818e27029d2765d3fce58b)
- chore: update dev dependencies [`4cc3f16`](https://github.com/npcz/magic/commit/4cc3f16c443167fac6333a0f55d734b878baf08d)
- fix: fix emcc command line and options [`3a80b84`](https://github.com/npcz/magic/commit/3a80b841831b83de68f55fac49dc1443483d1cc3)
- release: bump minor and update changelog [`c8e53c5`](https://github.com/npcz/magic/commit/c8e53c5e0258234b92de6a109de3c9d7c4578296)
- fix: use explicit version of emscripten docker img [`421f0d6`](https://github.com/npcz/magic/commit/421f0d63978381dee762ba9af552d4d17f64c00d)
- fix: fix eslint command line [`3fcc673`](https://github.com/npcz/magic/commit/3fcc673f49ccaa35b4ebd72bdfdab24d77a62720)
- fix: run docker as the current user [`dde7bb8`](https://github.com/npcz/magic/commit/dde7bb8e07df67d0a8afcdd3e0f89bf8f4976760)
- style: fix lint issue with trailing whitespace [`4d6024d`](https://github.com/npcz/magic/commit/4d6024d3b1773b97c106d13ccb285dfde814cf59)
#### [v1.3.1](https://github.com/npcz/magic/compare/v1.3.0...v1.3.1)
> 2 January 2020
Having napa in npm install script is unnecessary when the package is
being used as a dependency. It should just be run at dev build time.
- release: bump minor and update changelog [`46c5234`](https://github.com/npcz/magic/commit/46c52347ab601150d38440e68331bcad3d1cf1f1)
- build(npm): napa is for dev only - removed from install [`0b70efa`](https://github.com/npcz/magic/commit/0b70efaccdfe438f1c0c80bff95c6f702697b309)
#### [v1.3.0](https://github.com/npcz/magic/compare/v1.2.0...v1.3.0)
> 2 January 2020
Resolve issues created by building separately from source and stabilize
the build scripts. Add an example using FileMagic API and update the
documentation.
- chore: delete files added by mistake to git [`13e7892`](https://github.com/npcz/magic/commit/13e7892f41f68215c284fcdd5b95e89d33d4e949)
- doc: add example using FileMagic and update README [`e4b1ea5`](https://github.com/npcz/magic/commit/e4b1ea596b321971ee15a875c7478181157f0d0d)
- (release): bump version and update change log [`3cbb620`](https://github.com/npcz/magic/commit/3cbb620a8356b4608507a92d5285d0e0c232fa75)
- fix: generate the magic-js.js and wasm in same directory [`bdf9f8c`](https://github.com/npcz/magic/commit/bdf9f8c2f8717caba4dc74f7f22081900799e043)
- build(script): create build/lib before copying [`f410425`](https://github.com/npcz/magic/commit/f410425df6e414ea9a19fc328e8ae69cd293efe2)
- build(npm): add npm scripts to run the examples [`a48786a`](https://github.com/npcz/magic/commit/a48786a746a615160eb8f8e6b7c5e27818921b04)
- build(npm): more thorough clean [`effa123`](https://github.com/npcz/magic/commit/effa123996b2412aa0dacf57e3511249c5b29c0e)
#### [v1.2.0](https://github.com/npcz/magic/compare/v1.1.1...v1.2.0)
> 1 January 2020
Full coverage unit tests have been added to both the raw binder and
the FileMagic API, and a number of bugs were discovered and fixed.
- test(jest): add jest dependencies and update tsconfig [`49de209`](https://github.com/npcz/magic/commit/49de209bade2719a6f97689bde89bc1df5a71f8f)
- test: add unit tests for FileMagic and fix bugs [`50f6f08`](https://github.com/npcz/magic/commit/50f6f08a689b4a2eece538575934ae74f4a7ae2a)
- test(jest): add unit tests for the raw binding [`25e511d`](https://github.com/npcz/magic/commit/25e511dd42fe933ef21512f00a8e1902a032c011)
- Prepare release 1.2.0 (change log, bump version) [`09fcd1c`](https://github.com/npcz/magic/commit/09fcd1c96d9fb372298ebf9d0370305d64376446)
- fix(c++): handle cases when cannot open file in detect [`c86e39c`](https://github.com/npcz/magic/commit/c86e39c059b5480111c0a593b323b4618ac84515)
- test: remove node.js process max listener warning [`645078f`](https://github.com/npcz/magic/commit/645078f0fcc5c74bce97cc52d532c34ee2aa14ff)
- chore: ignore coverage directory [`531a640`](https://github.com/npcz/magic/commit/531a64011f2ab3ce3872b35f37b0788821a32e6d)
#### [v1.1.1](https://github.com/npcz/magic/compare/v1.1.0...v1.1.1)
> 1 January 2020
No changes to API of features. Some minor tweaks to the changelog
generation to produce better release notes.
- release(changelog): update change log [`bda9ae5`](https://github.com/npcz/magic/commit/bda9ae5f3526404d7a540282b65a8a636bfdbc7a)
- build(changelog): fix mistake in releaseSummary option [`568fc42`](https://github.com/npcz/magic/commit/568fc426e38c3f38baaf620ad969e0ca52e88896)
- build(changelog): run auto-changelog separately from npm-version [`8fd18b4`](https://github.com/npcz/magic/commit/8fd18b497fdaf3adbb963b2815ea7d823f7d1b5f)
#### [v1.1.0](https://github.com/npcz/magic/compare/v1.0.0...v1.1.0)
> 1 January 2020
- feature: add high level type-safe interface [`a1155db`](https://github.com/npcz/magic/commit/a1155dbd31a38e98d7462f5e52edcb707979b3c5)
- chore: rename binding files and fix type declarations [`1cdc7e8`](https://github.com/npcz/magic/commit/1cdc7e86f71fb0ed2e42adf2b7d2661860c0c1d9)
- chore: add CHANGELOG.md and auto-changelog [`861dbf1`](https://github.com/npcz/magic/commit/861dbf1f09049e97c8c9712f3b4dffd1f12be314)
- Fix some typing bugs in the raw binding interface and add a new higher level API FileMagic) with support for better type safety, simpler management of the libmagic initialization, exceptions and promise. [`ee8ac7d`](https://github.com/npcz/magic/commit/ee8ac7d27257683ea50edda1bda413b7a0cd6383)
- fix: correct tsconfig to produce commonjs modules for node [`8f7fa8d`](https://github.com/npcz/magic/commit/8f7fa8df9cae8dd7706909b0ebba676ef5b7bda4)
#### v1.0.0
> 31 December 2019
- Initial version [`674bac4`](https://github.com/npcz/magic/commit/674bac4f57a0db02e3bdd73b25414a5478e76d41)
- chore: rename variable for more clarity [`e4226c7`](https://github.com/npcz/magic/commit/e4226c7beeb99a505de30577a9b6265a8fa1b0d8)