@vercel/nft
Advanced tools
Comparing version 0.27.2 to 0.27.3
@@ -182,4 +182,14 @@ "use strict"; | ||
const { browser: pkgBrowser } = pkgCfg; | ||
if (!pkgBrowser) { | ||
return; | ||
} | ||
if (typeof pkgBrowser === 'object') { | ||
for (const [key, value] of Object.entries(pkgBrowser)) { | ||
if (typeof value !== 'string') { | ||
/** | ||
* `false` can be used to specify that a file is not meant to be included. | ||
* Downstream processing is expected to handle this case, and it should remain in the mapping result | ||
*/ | ||
continue; | ||
} | ||
if (!key.startsWith('./') || !value.startsWith('./')) { | ||
@@ -186,0 +196,0 @@ continue; |
{ | ||
"name": "@vercel/nft", | ||
"version": "0.27.2", | ||
"version": "0.27.3", | ||
"repository": "vercel/nft", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
320398
3847