New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

extensionless

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extensionless - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "extensionless",
"version": "1.0.4",
"version": "1.0.5",
"type": "module",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -23,12 +23,7 @@ import {access, existsSync, readFileSync} from 'fs'

let exitWithError = (code, message) => {
console.error('\x1b[33m%s\x1b[0m', message)
process.exit(code)
}
Array.isArray(lookFor) && lookFor.length && lookFor.every(a => typeof a === 'string' && a.length)
|| exitWithError(1, `The package.json field 'extensionless.lookFor' must be an array of strings that are not empty!`)
|| (console.error('\x1b[33m%s\x1b[0m', `The package.json field 'extensionless.lookFor' must be an array of strings that are not empty!`), process.exit(1))
typeof resolveDirs === 'boolean'
|| exitWithError(1, `The package.json field 'extensionless.resolveDirs' must be boolean value!`)
|| (console.error('\x1b[33m%s\x1b[0m', `The package.json field 'extensionless.resolveDirs' must be a boolean value!`), process.exit(1))

@@ -35,0 +30,0 @@ let indexFiles = resolveDirs ? lookFor.map(e => `index.${e}`) : []

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