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
3
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 4.0.0-beta.18 to 4.0.0

2

loader.js

@@ -467,3 +467,3 @@ /* eslint-env browser */

if (!parent.version) {
for (const key in alias) {
for (var key in alias) {
if (specifier.indexOf(key) === 0) {

@@ -470,0 +470,0 @@ specifier = alias[key] + specifier.slice(key.length);

{
"name": "@cara/porter",
"description": "A middleware for web modules",
"version": "4.0.0-beta.18",
"version": "4.0.0",
"main": "src/porter.js",

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

"license": "BSD-3-Clause",
"gitHead": "38773a6381730f653c762bd35967c8c42f5ffacb"
"gitHead": "88b35d98657b24ad8e494edffc74f18106bc3118"
}

@@ -126,3 +126,3 @@ 'use strict';

}
// might be WasmModule
// might be WasmModule or web worker
if (mod.isolated || (format === '.js' && mod.isRootEntry)) continue;

@@ -129,0 +129,0 @@ yield* iterateEntry(mod, preload);

@@ -568,5 +568,8 @@ 'use strict';

for (const mod of Object.values(this.files)) {
if (mod.isRootEntry) entries.push(mod.file);
// .wasm needs to be bundled before other entries to generate correct manifest
if (mod.file.endsWith('.wasm')) entries.unshift(mod.file);
if (mod.isRootEntry) {
entries.push(mod.file);
} else if (mod.file.endsWith('.wasm')) {
// .wasm needs to be bundled before other entries to generate correct manifest
entries.unshift(mod.file);
}
}

@@ -577,3 +580,3 @@

for (const entry of entries) {
for (const entry of new Set(entries)) {
const bundle = bundles[entry] || Bundle.create({

@@ -580,0 +583,0 @@ packet: this,

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