@npmcli/config
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -23,2 +23,3 @@ // Parse a field, coercing it to the best type available. | ||
const isList = !listElement && typeList.has(Array) | ||
const isDate = typeList.has(typeDefs.Date.type) | ||
@@ -57,2 +58,6 @@ if (Array.isArray(f)) { | ||
if (isDate) { | ||
return new Date(f) | ||
} | ||
if (isPath) { | ||
@@ -59,0 +64,0 @@ const homePattern = platform === 'win32' ? /^~(\/|\\)/ : /^~\// |
{ | ||
"name": "@npmcli/config", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"files": [ | ||
@@ -36,3 +36,3 @@ "bin/", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.11.4", | ||
"@npmcli/template-oss": "4.12.0", | ||
"tap": "^16.3.4" | ||
@@ -54,4 +54,4 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.11.4" | ||
"version": "4.12.0" | ||
} | ||
} |
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
50797
1119