Comparing version 1.0.1 to 1.0.2
@@ -15,3 +15,3 @@ #!/usr/bin/env node | ||
for (const [key, val] of numMap.entries()) { | ||
let pf = title.match(new RegExp(`^${key}(\\d+) .*`)); | ||
const pf = title.match(new RegExp(`^${key}(\\d+) .*`)); | ||
if (pf) { | ||
@@ -33,3 +33,3 @@ return `${val}${('0' + pf[1]).slice(-2)} ${title}.pdf`; | ||
for (const [key, val] of urlMap.entries()) { | ||
let pf = title.match(new RegExp(`^${key}(\\d+) .*`)); | ||
const pf = title.match(new RegExp(`^${key}(\\d+) .*`)); | ||
if (pf) { | ||
@@ -36,0 +36,0 @@ return `${baseUrl}${val}${pf[1]}.pdf`; |
{ | ||
"name": "curl_ifrs", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Utility to download latest unaccompanied IFRS using curl.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
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
17433