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

@kenjiuno/msgreader

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kenjiuno/msgreader - npm Package Compare versions

Comparing version

to
1.7.4-alpha.4

2

lib/const.d.ts

@@ -50,2 +50,4 @@ declare const _default: {

'0c1f': string;
'5d01': string;
'5d02': string;
'5d0a': string;

@@ -52,0 +54,0 @@ '5d0b': string;

@@ -63,2 +63,4 @@ "use strict";

'0c1f': 'senderEmail',
'5d01': 'senderSmtpAddress',
'5d02': 'sentRepresentingSmtpAddress',
'5d0a': 'creatorSMTPAddress',

@@ -65,0 +67,0 @@ '5d0b': 'lastModifierSMTPAddress',

54

lib/MsgReader.d.ts

@@ -365,2 +365,26 @@ export interface ParserConfig {

votingOptions?: string;
/**
* Contains the format of the Simple Mail Transport Protocol (SMTP) email address of the sending mailbox owner.
*
* e.g.
* `no-reply@microsoft.com` for {@link senderAddressType} = 'SMTP'
*
* Target {@link dataType} = 'msg'.
*
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagsendersmtpaddress-canonical-property
* @see https://github.com/HiraokaHyperTools/OXPROPS/blob/master/JSON/5D01-PidTagSenderSmtpAddress.md
*/
senderSmtpAddress?: string;
/**
* Contains the Simple Mail Transport Protocol (SMTP) email address for the messaging user who is represented by the sender.
*
* e.g.
* `no-reply@microsoft.com` for {@link senderAddressType} = 'SMTP'
*
* Target {@link dataType} = 'msg'.
*
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagsentrepresentingsmtpaddress-canonical-property
* @see https://github.com/HiraokaHyperTools/OXPROPS/blob/master/JSON/5D02-PidTagSentRepresentingSmtpAddress.md
*/
sentRepresentingSmtpAddress?: string;
}

@@ -447,3 +471,3 @@ export interface FieldsData extends SomeOxProps, SomeParsedOxProps {

/**
* Raw properties obtained while decoding msg.
* All properties obtained while decoding msg.
*

@@ -459,22 +483,28 @@ * To activate this:

/**
* RawProp includes raw data for every property.
* RawProp includes value for every property.
*/
export interface RawProp {
/**
* PidTag.
* PidTag, as lower case hex str (8 chars).
*
* Every proerty should have single PidTag.
*
* DWORD (8 hex chars) format is:
*
* - HIWORD (first 4 chars) is identifier. e.g. `3001` is PidTagDisplayName.
* - LOWORD (last 4 chars) is data type. e.g. `001f` is PT_UNICODE.
*
* e.g.
*
* - `3001` is set for PidTagDisplayName.
* - `8000` ~ `ffff` are private tags. Need to inspect: {@link propertySet} and {@link propertyLid}
* - `3001001f` is set for PidTagDisplayName.
* - `80000000` ~ `ffffffff` are private tags. Need to inspect: {@link propertySet} and {@link propertyLid}
*
* @see [[MS-OXPROPS]: Property ID Ranges | Microsoft Docs](https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxprops/ed38d6e3-2871-4cb5-ab3e-0aebe9d02c21)
* @see [[MS-OXCDATA]: Property Data Types | Microsoft Docs](https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/MS-OXCDATA/0c77892e-288e-435a-9c49-be1c20c7afdb)
*/
propertyTag?: string;
propertyTag: string | undefined;
/**
* Property set
* Property set, as lower case GUID str (36 chars)
*
* The private {@link propertyTag} (`8000` ~ `ffff`) should have both this and {@link propertyLid}
* The private {@link propertyTag} (`80000000` ~ `ffffffff`) should have both this and {@link propertyLid}
*

@@ -485,7 +515,7 @@ * e.g. `00062008-0000-0000-c000-000000000046` is set for PSETID_Common.

*/
propertySet?: string;
propertySet: string | undefined;
/**
* Long ID (LID)
* Long ID (LID), as lower case hex str (8 chars)
*
* The private {@link propertyTag} (`8000` ~ `ffff`) should have both this and {@link propertySet}
* The private {@link propertyTag} (`80000000` ~ `ffffffff`) should have both this and {@link propertySet}
*

@@ -496,3 +526,3 @@ * e.g. `00008580` is set for PidLidInternetAccountName.

*/
propertyLid?: string;
propertyLid: string | undefined;
/**

@@ -499,0 +529,0 @@ * The value depends on property.

{
"name": "@kenjiuno/msgreader",
"version": "1.7.4-alpha.2",
"version": "1.7.4-alpha.4",
"description": "",

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