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

fast-mhtml-maa

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-mhtml-maa - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

.nyc_output/09443f99-67fb-4165-818e-2b8b11b5f0f5.json

2

.nyc_output/processinfo/index.json

@@ -1,1 +0,1 @@

{"processes":{"1224c5ed-9d3c-4c0a-8b2c-f78d5fb6a42d":{"parent":null,"children":["90ee094f-c0bf-45ea-b959-10b26e64fc59"]},"90ee094f-c0bf-45ea-b959-10b26e64fc59":{"parent":"1224c5ed-9d3c-4c0a-8b2c-f78d5fb6a42d","children":[]}},"files":{"c:\\njs\\Projects\\mhtml-parser\\src\\decoder.js":["90ee094f-c0bf-45ea-b959-10b26e64fc59"],"c:\\njs\\Projects\\mhtml-parser\\src\\link-replacer.js":["90ee094f-c0bf-45ea-b959-10b26e64fc59"],"c:\\njs\\Projects\\mhtml-parser\\src\\dom-link-renamer.js":["90ee094f-c0bf-45ea-b959-10b26e64fc59"],"c:\\njs\\Projects\\mhtml-parser\\src\\parser.js":["90ee094f-c0bf-45ea-b959-10b26e64fc59"]},"externalIds":{}}
{"processes":{"09443f99-67fb-4165-818e-2b8b11b5f0f5":{"parent":"7fcba723-c104-407c-9277-0b9c4714540e","children":[]},"7fcba723-c104-407c-9277-0b9c4714540e":{"parent":null,"children":["09443f99-67fb-4165-818e-2b8b11b5f0f5"]}},"files":{"c:\\njs\\Projects\\mhtml-parser\\src\\decoder.js":["09443f99-67fb-4165-818e-2b8b11b5f0f5"],"c:\\njs\\Projects\\mhtml-parser\\src\\link-replacer.js":["09443f99-67fb-4165-818e-2b8b11b5f0f5"],"c:\\njs\\Projects\\mhtml-parser\\src\\dom-link-renamer.js":["09443f99-67fb-4165-818e-2b8b11b5f0f5"],"c:\\njs\\Projects\\mhtml-parser\\src\\parser.js":["09443f99-67fb-4165-818e-2b8b11b5f0f5"]},"externalIds":{}}
{
"name": "fast-mhtml-maa",
"version": "1.1.7",
"version": "1.1.8",
"description": "Parses mhtml files",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -81,6 +81,6 @@ const filenamify = require('filenamify');

.filter(part => part.location)
.map(part => [part.location.trim(), this.rewriteFn(part.location).trim()]);
.map(part => [part.location.trim(), this.rewriteFn(part.location, part).trim()]);
const rewriteMap = new Map(entries);
for (const part of this.parts.filter(x => x.id)) {
rewriteMap.set(`cid:${part.id}`, this.rewriteFn(part.location || part.id.trim()));
rewriteMap.set(`cid:${part.id}`, this.rewriteFn(part.location || part.id.trim(), part));
}

@@ -100,3 +100,3 @@ for (const part of this.parts) {

return this.parts.map(part => ({
filename: this.rewriteFn(part.location || part.id),
filename: this.rewriteFn(part.location || part.id, part),
content: this.gotString ? part.body.toString() : part.body,

@@ -103,0 +103,0 @@ type: part.type,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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