New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postal-mime

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postal-mime - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

7

CHANGELOG.md
# Changelog
## [2.2.5](https://github.com/postalsys/postal-mime/compare/v2.2.4...v2.2.5) (2024-04-11)
### Bug Fixes
* **types:** Fixed Address type ([57908e4](https://github.com/postalsys/postal-mime/commit/57908e428929904ee312d9e95343a9fbf52542b4))
## [2.2.4](https://github.com/postalsys/postal-mime/compare/v2.2.3...v2.2.4) (2024-04-11)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "postal-mime",
"version": "2.2.4",
"version": "2.2.5",
"description": "Email parser for browser environments",

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

@@ -6,4 +6,5 @@ export type RawEmail = string | ArrayBuffer | Uint8Array | Blob | Buffer | ReadableStream;

export type Address = {
address: string;
name: string;
address?: string;
group?: Address[]
};

@@ -10,0 +11,0 @@

@@ -140,3 +140,3 @@ # postal-mime

- **opts** is an optional options object
- **flattem** is a boolean value. If set to `true`, then ignores address groups and returns a flat array of addresses. By default (`flatten` is `false`) the result might include nested groups
- **flatten** is a boolean value. If set to `true`, then ignores address groups and returns a flat array of addresses. By default (`flatten` is `false`) the result might include nested groups

@@ -147,2 +147,3 @@ The result is an array of objects

- **address** is the email address value
- **group** is an array of nested address objects. This is used when `flatten` is `false` (the default) and the address string contains address group syntax

@@ -149,0 +150,0 @@ ```js

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