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

@garfish/loader

Package Overview
Dependencies
Maintainers
8
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garfish/loader - npm Package Compare versions

Comparing version 0.0.38-alpha.5 to 0.0.40

7

dist/loader.cjs.js

@@ -209,5 +209,6 @@ 'use strict';

function transformUrl(resolvePath, curPath) {
const baseUrl = new URL(resolvePath, location.href);
const realPath = new URL(curPath, baseUrl.href);
return realPath.href;
// const baseUrl = new URL(resolvePath, location.href);
// const realPath = new URL(curPath, baseUrl.href);
// return realPath.href;
return curPath;
}

@@ -214,0 +215,0 @@

@@ -199,5 +199,6 @@ 'use strict';

function transformUrl(resolvePath, curPath) {
const baseUrl = new URL(resolvePath, location.href);
const realPath = new URL(curPath, baseUrl.href);
return realPath.href;
// const baseUrl = new URL(resolvePath, location.href);
// const realPath = new URL(curPath, baseUrl.href);
// return realPath.href;
return curPath;
}

@@ -204,0 +205,0 @@

@@ -205,5 +205,6 @@ /*! *****************************************************************************

function transformUrl(resolvePath, curPath) {
const baseUrl = new URL(resolvePath, location.href);
const realPath = new URL(curPath, baseUrl.href);
return realPath.href;
// const baseUrl = new URL(resolvePath, location.href);
// const realPath = new URL(curPath, baseUrl.href);
// return realPath.href;
return curPath;
}

@@ -210,0 +211,0 @@

@@ -205,5 +205,6 @@ /*! *****************************************************************************

function transformUrl(resolvePath, curPath) {
const baseUrl = new URL(resolvePath, location.href);
const realPath = new URL(curPath, baseUrl.href);
return realPath.href;
// const baseUrl = new URL(resolvePath, location.href);
// const realPath = new URL(curPath, baseUrl.href);
// return realPath.href;
return curPath;
}

@@ -210,0 +211,0 @@

@@ -211,5 +211,6 @@ (function (global, factory) {

function transformUrl(resolvePath, curPath) {
const baseUrl = new URL(resolvePath, location.href);
const realPath = new URL(curPath, baseUrl.href);
return realPath.href;
// const baseUrl = new URL(resolvePath, location.href);
// const realPath = new URL(curPath, baseUrl.href);
// return realPath.href;
return curPath;
}

@@ -216,0 +217,0 @@

{
"name": "@garfish/loader",
"version": "0.0.38-alpha.5",
"version": "0.0.40",
"description": "loader module.",

@@ -40,3 +40,3 @@ "keywords": [

},
"gitHead": "aaf3f137a5820c92bc3b025ae25b0a3a678fbdf5"
"gitHead": "a646b7671989791a9243a67bbcd3baacaf88de9e"
}
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