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.0.5 to 3.0.6

2

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

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

@@ -617,7 +617,12 @@ 'use strict'

debug(`compile ${name}/${version}/${file} start`)
const mod = this.files[entries[0]]
const result = file.endsWith('.js') && (opts.package || opts.all)
? await this.bundle(entries, opts)
: await this.files[entries[0]].minify()
: await mod.minify()
const { code, map } = this.setSourceMap({ file, ...result })
if (mod.fake) {
delete this.files[mod.file]
delete this.entries[mod.file]
}
if (!opts.writeFile) return { code, map }

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