dcmjs 0.38.1 → 0.38.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,7 @@ _Parts of DICOM that dcmjs *will not* focus on:_
41
41
  - DIMSE (legacy networking like C-STORE, C-FIND, C-MOVE, etc). See the [dcmjs-dimse](https://github.com/PantelisGeorgiadis/dcmjs-dimse) project for that.
42
42
  - Physical Media (optical disks). See [this FAQ](https://www.dclunie.com/medical-image-faq/html/index.html) if you need to work with those.
43
43
  - Image rendering. See [dcmjs-imaging](https://github.com/PantelisGeorgiadis/dcmjs-imaging) for this.
44
+ - Encapsulated transfer syntax transcoding. See [dcmjs-codecs](https://github.com/PantelisGeorgiadis/dcmjs-codecs) for this.
44
45
  - 3D rendering. See [vtk.js](https://kitware.github.io/vtk-js/index.html).
45
46
  - Radiology review application - see [OHIF](https://ohif.org).
46
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcmjs",
3
- "version": "0.38.1",
3
+ "version": "0.38.2",
4
4
  "description": "Javascript implementation of DICOM manipulation",
5
5
  "main": "build/dcmjs.js",
6
6
  "module": "build/dcmjs.es.js",
package/rollup.config.mjs CHANGED
@@ -6,7 +6,11 @@ import commonjs from "@rollup/plugin-commonjs";
6
6
  // import babelRuntime from "@rollup/plugin-transform-runtime"
7
7
  import json from "@rollup/plugin-json";
8
8
  import replace from "@rollup/plugin-replace";
9
- import pkg from "./package.json" assert { type: "json" };
9
+ import { readFileSync } from "fs";
10
+
11
+ const pkg = JSON.parse(
12
+ readFileSync(new URL("./package.json", import.meta.url), "utf8")
13
+ );
10
14
 
11
15
  export default {
12
16
  input: "src/index.js",