Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
82049ff
refactor: simplify, remove util-node
idleberg Sep 30, 2022
a701d62
chore: sort npm scripts
idleberg Sep 30, 2022
8aa73d6
chore: remove dist folder, build at prepack-time
idleberg Sep 30, 2022
8f55481
chore: update copyright year
idleberg Sep 30, 2022
0ceea13
fix: declare .editorconfig as root
idleberg Sep 30, 2022
b50fcd8
test: update node-version matrix
idleberg Sep 30, 2022
3fc6380
fix: reduce Typescript warnings
idleberg Sep 30, 2022
f846c86
refactor: move convertComponents to util
idleberg Oct 1, 2022
0783000
refactor: rename entrypoints to match dist-files
idleberg Oct 1, 2022
056f4ed
refactor: export ESM only, use external tsconfig
idleberg Oct 1, 2022
082dcc3
chore: modify engine range
idleberg Oct 1, 2022
9e1c0b2
chore: remove CommonJS tests
idleberg Oct 1, 2022
b9ee591
chore: replace bundler and test runner
idleberg Oct 1, 2022
93ad0bf
refactor: remove isNode condition
idleberg Oct 5, 2022
5be352f
test: add tests for Picture components
idleberg Oct 5, 2022
f26ad92
Merge branch 'develop' of https://github.com/grandchild/AVS-File-Deco…
idleberg Oct 5, 2022
372e0df
refactor: remove NodeJS-specific export
idleberg Oct 5, 2022
4135b1d
fix: set moduleResolution to node
idleberg Oct 5, 2022
4c0a05f
fix: change return type of callFunction
idleberg Oct 5, 2022
e6bc807
chore: rename helper
idleberg Oct 5, 2022
fe91e68
chore: simplify export and engines declaration
idleberg Oct 5, 2022
93256c7
fix: use new method in example
idleberg Oct 11, 2022
17eef99
chore: simplify installation example
idleberg Oct 11, 2022
ea6c322
chore: add comment to usage example
idleberg Oct 11, 2022
457534b
chore: add fs.readFile to complete usage example
idleberg Oct 11, 2022
889231d
fix: remove extra space
idleberg Oct 11, 2022
3c634e6
chore: update usage example
idleberg Oct 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: change return type of callFunction
  • Loading branch information
idleberg committed Oct 5, 2022
commit 4c0a05f4f6813e0a69df8d81a7e058b2b41e2368
2 changes: 1 addition & 1 deletion src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function printTable(name: string, table: any): void {
}
}

function callFunction(funcName: string, blobOrValue: JSONPrimitive | Uint8Array, offset?: void | number, extra?: unknown | void): any {
function callFunction(funcName: string, blobOrValue: JSONPrimitive | Uint8Array, offset?: void | number, extra?: unknown | void): unknown {
try {
if (blobOrValue instanceof Uint8Array) {
return get[funcName](blobOrValue, offset, extra);
Expand Down