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

@cara/porter

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cara/porter - npm Package Compare versions

Comparing version 3.2.4 to 3.2.5

11

loader.js

@@ -43,3 +43,4 @@ /* eslint-env browser */

var preload = system.preload
var baseUrl = system.baseUrl.replace(/([^\/])$/, '$1/')
var basePath = system.baseUrl.replace(/([^\/])$/, '$1/')
var baseUrl = new URL(basePath, global.location.origin).toString()
var pkg = system.package

@@ -200,7 +201,7 @@

if (meta.bundle) {
return baseUrl + resolve(name, version, meta.bundle)
return basePath + resolve(name, version, meta.bundle)
}
}
var url = baseUrl + id
var url = basePath + id
if (registry[id].parent.id in system.entries) url += '?entry'

@@ -361,3 +362,3 @@ return url

require.resolve = function(specifier) {
return baseUrl + Module.resolve(specifier, mod.id)
return basePath + Module.resolve(specifier, mod.id)
}

@@ -466,3 +467,3 @@ mod.status = MODULE_LOADED

return function(id) {
var url = baseUrl + resolve(context, suffix(id))
var url = basePath + resolve(context, suffix(id))
return function createWorker() {

@@ -469,0 +470,0 @@ return new Worker([url, 'main'].join(url.indexOf('?') > 0 ? '&' : '?'))

{
"name": "@cara/porter",
"description": "A koa and express middleware for browser side javascript module authoring.",
"version": "3.2.4",
"version": "3.2.5",
"main": "src/porter.js",

@@ -6,0 +6,0 @@ "repository": {

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