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

@jsenv/module-resolution

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/module-resolution - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

7

dist/commonjs/main.js

@@ -185,4 +185,9 @@ 'use strict';

after = matchResult.after;
var replacement = imports[pathnamePattern];
if (replacement.startsWith("file://")) {
return "".concat(before).concat(replacement).concat(after);
}
var moduleOrigin = hrefToOrigin(href);
var replacement = imports[pathnamePattern];
return "".concat(moduleOrigin).concat(before).concat(replacement).concat(after);

@@ -189,0 +194,0 @@ }

@@ -184,4 +184,9 @@ var __dmail_assert__ = function (exports) {

after = matchResult.after;
var replacement = imports[pathnamePattern];
if (replacement.startsWith("file://")) {
return "".concat(before).concat(replacement).concat(after);
}
var moduleOrigin = hrefToOrigin(href);
var replacement = imports[pathnamePattern];
return "".concat(moduleOrigin).concat(before).concat(replacement).concat(after);

@@ -188,0 +193,0 @@ }

4

package.json
{
"name": "@jsenv/module-resolution",
"version": "5.0.0",
"version": "5.1.0",
"license": "MIT",

@@ -42,3 +42,3 @@ "repository": {

"@jsenv/href": "1.0.0",
"@jsenv/import-map": "1.1.0"
"@jsenv/import-map": "1.2.0"
},

@@ -45,0 +45,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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