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 1.14.0 to 1.14.1-alpha.1

1

lib/const.d.ts

@@ -64,2 +64,3 @@ declare const _default: {

'3ff1': string;
'0e07': string;
'3007': string;

@@ -66,0 +67,0 @@ '3008': string;

@@ -69,2 +69,3 @@ "use strict";

'3ff1': 'messageLocaleId',
'0e07': 'messageFlags',
// attachment specific

@@ -71,0 +72,0 @@ '3007': 'creationTime',

@@ -470,2 +470,14 @@ export interface ParserConfig {

messageLocaleId?: number;
/**
* Contains a bitmask of flags that indicate the origin and current state of a message.
*
* e.g.
*
* - `mfRead` = `0x00000001`
* - `mfUnsent` = `0x00000008`
*
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagmessageflags-canonical-property
* @see https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmsg/a0c52fe2-3014-43a7-942d-f43f6f91c366
*/
messageFlags?: number;
}

@@ -472,0 +484,0 @@ export interface SomeParsedOxProps {

6

lib/MsgReader.js

@@ -58,3 +58,3 @@ "use strict";

var ds = new DataStream_1.default(array, 0, DataStream_1.default.LITTLE_ENDIAN);
var key = const_1.default.MSG.FIELD.FULL_NAME_MAPPING["" + fieldClass + fieldType]
var key = const_1.default.MSG.FIELD.FULL_NAME_MAPPING["".concat(fieldClass).concat(fieldType)]
|| const_1.default.MSG.FIELD.NAME_MAPPING[fieldClass];

@@ -64,3 +64,3 @@ var keyType = KeyType.root;

var propertyLid = undefined;
var classValue = parseInt("0x" + fieldClass);
var classValue = parseInt("0x".concat(fieldClass));
if (classValue >= 0x8000) {

@@ -143,3 +143,3 @@ var keyed = this.privatePidToKeyed[classValue];

}
var propertyTag = "" + fieldClass + fieldType;
var propertyTag = "".concat(fieldClass).concat(fieldType);
return { key: key, keyType: keyType, value: value, propertyTag: propertyTag, propertySet: propertySet, propertyLid: propertyLid, };

@@ -146,0 +146,0 @@ };

{
"name": "@kenjiuno/msgreader",
"version": "1.14.0",
"version": "1.14.1-alpha.1",
"description": "Outlook Item File (.msg) reader in JavaScript Npm Module",

@@ -19,9 +19,9 @@ "main": "lib/index.js",

"devDependencies": {
"@types/node": "^16.10.5",
"commander": "^8.2.0",
"mocha": "^9.1.2",
"@types/node": "^17.0.12",
"commander": "^8.3.0",
"mocha": "^9.2.0",
"temp": "^0.9.4",
"typedoc": "^0.22.5",
"typedoc": "^0.22.11",
"typedoc-plugin-rename-defaults": "^0.4.0",
"typescript": "^4.4.4"
"typescript": "^4.5.5"
},

@@ -28,0 +28,0 @@ "dependencies": {

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