Skip to content

Commit 57138a0

Browse files
authored
Merge pull request #19 from jens-ox/master
Update dependencies, fix output
2 parents df417d4 + 87668ba commit 57138a0

File tree

8 files changed

+1929
-1708
lines changed

8 files changed

+1929
-1708
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
build
1+
build
2+
release

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ node_modules/
33
.idea/
44
release.sh
55
.DS_Store
6+
*.d.cts
7+
*.js.map

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ var output = decoder.decompress(buffer [, offset [, length]]);
2626
### Install
2727
Get a packaged source file from the [release folder](https://github.com/rii-mango/JPEGLosslessDecoderJS/tree/master/release):
2828

29-
* [lossless.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/current/lossless.js)
30-
* [lossless-min.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/current/lossless-min.js)
29+
* [lossless.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/lossless.js)
30+
* [lossless-min.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/lossless-min.js)
3131

3232
Or install via [NPM](https://www.npmjs.com/):
3333

@@ -44,7 +44,7 @@ npm test
4444
```
4545
npm run build
4646
```
47-
This will output lossless.js and lossless-min.js to build/
47+
This will output `lossless.js` and `lossless-min.js` alongside declaration files and source maps to `/release`.
4848

4949
### Acknowledgments
5050
This decoder was originally written by Helmut Dersch for Java. I added support for selection values 2 through 7, contributed bug fixes and ported to JavaScript.

0 commit comments

Comments
 (0)