Skip to content

Commit c7fba0c

Browse files
Updated dcmjs dictionary scanning
Updated npm packages
1 parent aab462a commit c7fba0c

11 files changed

Lines changed: 309 additions & 221 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
- name: Initialize CodeQL
26-
uses: github/codeql-action/init@v3
26+
uses: github/codeql-action/init@v4
2727
with:
2828
languages: javascript
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v5
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
- name: Install dependencies
3434
run: npm install
3535
- name: Build
3636
run: npm run build
3737
- name: Perform CodeQL analysis
38-
uses: github/codeql-action/analyze@v3
38+
uses: github/codeql-action/analyze@v4

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021-2025 Pantelis Georgiadis
3+
Copyright (c) 2021-2026 Pantelis Georgiadis
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,11 @@ declare class Transcoding {
17941794
logCodecsTrace?: boolean;
17951795
}): Promise<void>;
17961796

1797+
/**
1798+
* Checks if transcoding module is initialized.
1799+
*/
1800+
static isInitialized(): boolean;
1801+
17971802
/**
17981803
* Releases dcmjs-codecs native codecs webassembly.
17991804
*/

index.test-d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ expectType<Promise<void>>(
607607
})
608608
);
609609
expectType<Promise<void>>(Transcoding.initializeAsync());
610+
expectType<boolean>(Transcoding.isInitialized());
610611
expectType<void>(Transcoding.release());
611612
expectError(Transcoding.transcodeDataset('string', 1, 1));
612613
expectError(Transcoding.transcodeDataset(1, '2', 3));

0 commit comments

Comments
 (0)