🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

publint

Package Overview
Dependencies
Maintainers
1
Versions
55
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.3.17
to
0.3.18
+3
-3
package.json
{
"name": "publint",
"version": "0.3.17",
"version": "0.3.18",
"description": "Lint packaging errors",

@@ -44,3 +44,3 @@ "type": "module",

"sade": "^1.8.1",
"@publint/pack": "^0.1.3"
"@publint/pack": "^0.1.4"
},

@@ -51,3 +51,3 @@ "devDependencies": {

"prompts": "^2.4.2",
"vitest": "^4.0.17"
"vitest": "^4.0.18"
},

@@ -54,0 +54,0 @@ "scripts": {

@@ -148,3 +148,3 @@ export type MessageType = 'suggestion' | 'warning' | 'error'

* - **Browser**: Automatically inferred from `{ tarball: ArrayBuffer | ReadableStream }`. If `{ files: PackFile[] }` is used,
* this must be the shared directory of all files in `files`. e.g. if `name` has `"package/src/index.js",
* this must be the shared directory of all files in `files`. e.g. if `name` has `"package/src/index.js"`,
* the `pkgDir` should be `"package"`.

@@ -191,3 +191,4 @@ * :::

/**
* Report warnings as errors.
* Report warnings as errors. This runs before `level` filters the result, which means that if
* `level` is set to `'error'`, all warnings (elevated as errors) will still be reported.
*/

@@ -194,0 +195,0 @@ strict?: boolean

@@ -469,3 +469,3 @@ import { lintableFileExtensions } from './constants.js'

for (const p of path) {
v = v[p]
v = v?.[p]
}

@@ -472,0 +472,0 @@ return v