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

mkdist

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdist - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

2

dist/cli.js

@@ -217,3 +217,3 @@ #!/usr/bin/env node

for (const output of outputs.filter((o) => o.extension === ".mjs")) {
output.contents = output.contents.replace(/(import|export)([\s\S]*?)['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail);
output.contents = output.contents.replace(/(import|export)([\s\S]*?)\s?from\s?['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail);
}

@@ -220,0 +220,0 @@ const writtenFiles = [];

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

for (const output of outputs.filter((o) => o.extension === ".mjs")) {
output.contents = output.contents.replace(/(import|export)([\s\S]*?)['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail);
output.contents = output.contents.replace(/(import|export)([\s\S]*?)\s?from\s?['"](.*)(['"])/g, (_, type, head, id, tail) => type + head + resolveId(output.path, id) + tail);
}

@@ -218,0 +218,0 @@ const writtenFiles = [];

{
"name": "mkdist",
"version": "0.3.6",
"version": "0.3.7",
"description": "Lightweight file-to-file transformer",

@@ -5,0 +5,0 @@ "repository": "unjs/mkdist",

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