Comparing version 0.2.8 to 0.2.9
{ | ||
"name": "publint", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Lint packaging errors", | ||
@@ -51,3 +51,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@types/npm-packlist": "3.0.0", | ||
"@types/npm-packlist": "^3.0.0", | ||
"uvu": "^0.5.6" | ||
@@ -54,0 +54,0 @@ }, |
@@ -103,3 +103,3 @@ import c from 'picocolors' | ||
// prettier-ignore | ||
return `The package does not specify the ${c.bold('type')} field. Environments may incorrectly identify a CJS file as ESM in the future. Consider adding ${c.bold('"type"')}: "${c.bold('commonjs')}".` | ||
return `The package does not specify the ${c.bold('type')} field. NodeJS may attempt to detect the package type causing a small performance hit. Consider adding ${c.bold('"type"')}: "${c.bold('commonjs')}".` | ||
case 'TYPES_NOT_EXPORTED': { | ||
@@ -106,0 +106,0 @@ const typesFilePath = exportsRel(m.args.typesFilePath) |
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
73779