Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

publint

Package Overview
Dependencies
Maintainers
1
Versions
32
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.1.6 to 0.1.7

2

package.json
{
"name": "publint",
"version": "0.1.6",
"version": "0.1.7",
"description": "Lint packaging errors",

@@ -5,0 +5,0 @@ "type": "module",

@@ -339,2 +339,12 @@ import {

// types. check file existence only
if (currentPath.includes('types')) {
const pq = createPromiseQueue()
for (const filePath of exportsFiles) {
pq.push(async () => await readFile(filePath, currentPath))
}
await pq.wait()
return
}
const pq = createPromiseQueue()

@@ -430,22 +440,9 @@

for (const key of exportsKeys) {
if (key === 'types') {
// only check file existence
promiseQueue.push(async () => {
const typesFiles = await getExportsFiles(exports[key])
const typesPath = currentPath.concat(key)
const pq = createPromiseQueue()
for (const typesFile of typesFiles) {
pq.push(async () => await readFile(typesFile, typesPath))
}
await pq.wait()
})
} else {
crawlExports(
exports[key],
currentPath.concat(key),
isKeyAfterNodeCondition
)
if (key === 'node') {
isKeyAfterNodeCondition = true
}
crawlExports(
exports[key],
currentPath.concat(key),
isKeyAfterNodeCondition
)
if (key === 'node') {
isKeyAfterNodeCondition = true
}

@@ -452,0 +449,0 @@ }

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