Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.3 to 1.4.4

2

package.json
{
"name": "extensionless",
"version": "1.4.3",
"version": "1.4.4",
"type": "module",

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

@@ -19,2 +19,4 @@ import {readFile} from 'fs/promises'

let warn = (field, type) => console.warn('⚠️ \x1b[33m%s\x1b[0m', `Warning: The package.json field 'extensionless.${field}' must be ${type}! Using the default value instead...`)
let defaults = {

@@ -26,4 +28,2 @@ lookFor: ['js']

let warn = (field, type) => console.warn('⚠️ \x1b[33m%s\x1b[0m', `Warning: The package.json field 'extensionless.${field}' must be ${type}! Using the default value instead...`)
Array.isArray(lookFor) && lookFor.length && lookFor.every(a => typeof a === 'string' && /^[a-z]+\w*$/i.test(a)) || (

@@ -30,0 +30,0 @@ lookFor = defaults.lookFor, warn('lookFor', 'an array of alphanumeric strings')

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