Socket
Socket
Sign inDemoInstall

publint

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

publint - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

4

package.json
{
"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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc