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.6.9 to 1.7.0

2

package.json
{
"name": "extensionless",
"version": "1.6.9",
"version": "1.7.0",
"type": "module",

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

@@ -1,2 +0,2 @@

import {extname, isAbsolute} from 'path'
import {extname, win32} from 'path'
import {getConfig} from './config.js'

@@ -23,3 +23,3 @@

export async function resolve(specifier, context, nextResolve) {
let isAbs = isAbsolute(specifier)
let isAbs = win32.isAbsolute(specifier)

@@ -30,3 +30,3 @@ if (!isAbs && !relSpecs.includes(specifier) && !specStarts.some(p => specifier.startsWith(p))) {

let prefix = !isAbs || specifier.startsWith('/') && specifier[2] !== ':' ? '' : 'file://'
let prefix = isAbs && specifier.slice(1, 3).includes(':') ? 'file://' : ''
let selfURL = new URL(prefix + specifier, context.parentURL).href

@@ -33,0 +33,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