Comparing version 0.33.0 to 0.33.1
@@ -7,3 +7,3 @@ /** | ||
const fs = require('fs/promises'); | ||
const http = require('http'); | ||
const https = require('https'); | ||
const xml2js = require('xml2js'); | ||
@@ -112,3 +112,3 @@ | ||
async function getDocbook(part) { | ||
const source = await getUrl(`http://dicom.nema.org/medical/dicom/current/source/docbook/${part}`); | ||
const source = await getUrl(`https://dicom.nema.org/medical/dicom/current/source/docbook/${part}`); | ||
return xml2js.parseStringPromise(source); | ||
@@ -128,3 +128,3 @@ } | ||
return new Promise((resolve, reject) => { | ||
http.get(url, request => { | ||
https.get(url, request => { | ||
let data = ''; | ||
@@ -131,0 +131,0 @@ request.on('error', () => { |
{ | ||
"name": "dcmjs", | ||
"version": "0.33.0", | ||
"version": "0.33.1", | ||
"description": "Javascript implementation of DICOM manipulation", | ||
@@ -5,0 +5,0 @@ "main": "build/dcmjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
12640727
58287