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

@ronomon/mime

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ronomon/mime - npm Package Compare versions

Comparing version 2.9.1 to 2.10.1

2

package.json
{
"name": "@ronomon/mime",
"version": "2.9.1",
"version": "2.10.1",
"description": "Fast, robust, standards-compliant MIME decoder. Ships with extensive tests and fuzz tests.",

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

@@ -28,2 +28,33 @@ var common = require('./_common.js');

null
],
[
'Fake <trusted@sender.com> <fake@scam.com>',
[
{
// Multiple angle-addr's should never occur and are suspicious:
// We split an address on angle brackets outside quotes.
// This means that the pseudo address which will end up part of the name
// will lose its angle brackets, and at first glance, it might seem that
// we are causing user data to be lost.
// However, if angle brackets exist outside quotes, there should only
// be a single pair in terms of the spec, because there can only be one
// angle-addr, and a phrase atom cannot contain angle brackets.
// Therefore, removing the extra angle brackets is not a problem, since
// the case is already exceptional.
// TO DO: We should probably detect and reject multiple angle-addr's.
name: 'Fake trusted@sender.com',
email: 'fake@scam.com'
}
],
null
],
[
'"QuotedFake <trusted@sender.com>" <fake@scam.com>',
[
{
name: 'QuotedFake <trusted@sender.com>',
email: 'fake@scam.com'
}
],
null
]

@@ -30,0 +61,0 @@ ];

Sorry, the diff of this file is too big to display

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