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.7.2 to 1.7.3

2

package.json
{
"name": "extensionless",
"version": "1.7.2",
"version": "1.7.3",
"type": "module",

@@ -5,0 +5,0 @@ "exports": {

@@ -19,3 +19,3 @@ import {extname} from 'path'

let winAbsPathRegex = /^[/\\]?[a-z]:[/\\]/i, relSpecs = ['.', '..']
let winAbsPath = /^[/\\]?[a-z]:[/\\]/i, relSpecs = ['.', '..']
let specStarts = ['./', '../', '/', 'file://', 'https://', '.\\', '..\\', '\\']

@@ -25,3 +25,3 @@ let knownExts = ['.js', '.cjs', '.mjs', '.json', '.node', '.wasm'], empty = [[], []]

export async function resolve(specifier, context, nextResolve) {
let prefix = winAbsPathRegex.test(specifier) ? 'file://' : ''
let prefix = winAbsPath.test(specifier) ? 'file://' : ''

@@ -28,0 +28,0 @@ if (!prefix && !relSpecs.includes(specifier) && !specStarts.some(p => specifier.startsWith(p))) {

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