pst-extractor 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ColumnDescriptor.class.d.ts +26 -26
- package/dist/ColumnDescriptor.class.js +51 -51
- package/dist/DescriptorIndexNode.class.d.ts +25 -26
- package/dist/DescriptorIndexNode.class.js +53 -53
- package/dist/LZFu.class.d.ts +11 -12
- package/dist/LZFu.class.js +95 -95
- package/dist/NodeInfo.class.d.ts +33 -33
- package/dist/NodeInfo.class.js +52 -52
- package/dist/NodeMap.class.d.ts +35 -35
- package/dist/NodeMap.class.js +86 -86
- package/dist/OffsetIndexItem.class.d.ts +23 -24
- package/dist/OffsetIndexItem.class.js +45 -45
- package/dist/OutlookProperties.d.ts +275 -275
- package/dist/OutlookProperties.js +281 -281
- package/dist/PSTActivity.class.d.ts +103 -103
- package/dist/PSTActivity.class.js +144 -144
- package/dist/PSTAppointment.class.d.ts +270 -271
- package/dist/PSTAppointment.class.js +376 -376
- package/dist/PSTAttachment.class.d.ts +172 -172
- package/dist/PSTAttachment.class.js +317 -317
- package/dist/PSTContact.class.d.ts +884 -884
- package/dist/PSTContact.class.js +1227 -1227
- package/dist/PSTDescriptorItem.class.d.ts +45 -46
- package/dist/PSTDescriptorItem.class.js +99 -99
- package/dist/PSTFile.class.d.ts +215 -216
- package/dist/PSTFile.class.js +818 -818
- package/dist/PSTFolder.class.d.ts +129 -129
- package/dist/PSTFolder.class.js +318 -310
- package/dist/PSTMessage.class.d.ts +788 -789
- package/dist/PSTMessage.class.js +1321 -1321
- package/dist/PSTMessageStore.class.d.ts +13 -13
- package/dist/PSTMessageStore.class.js +17 -17
- package/dist/PSTNodeInputStream.class.d.ts +122 -123
- package/dist/PSTNodeInputStream.class.js +514 -514
- package/dist/PSTObject.class.d.ts +133 -134
- package/dist/PSTObject.class.js +326 -326
- package/dist/PSTRecipient.class.d.ts +65 -65
- package/dist/PSTRecipient.class.js +103 -103
- package/dist/PSTTable.class.d.ts +52 -52
- package/dist/PSTTable.class.js +175 -175
- package/dist/PSTTable7C.class.d.ts +45 -45
- package/dist/PSTTable7C.class.js +281 -281
- package/dist/PSTTableBC.class.d.ts +31 -31
- package/dist/PSTTableBC.class.js +111 -111
- package/dist/PSTTableItem.class.d.ts +47 -48
- package/dist/PSTTableItem.class.js +124 -124
- package/dist/PSTTask.class.d.ts +146 -146
- package/dist/PSTTask.class.js +205 -205
- package/dist/PSTUtil.class.d.ts +134 -135
- package/dist/PSTUtil.class.js +795 -795
- package/dist/RecurrencePattern.class.d.ts +49 -50
- package/dist/RecurrencePattern.class.js +120 -120
- package/dist/index.d.ts +6 -6
- package/dist/index.js +15 -15
- package/example/package.json +6 -6
- package/example/yarn.lock +95 -44
- package/junit.xml +68 -68
- package/package.json +26 -26
- package/readme.md +1 -3
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
private
|
|
49
|
-
|
|
50
|
-
}
|
|
1
|
+
export declare enum RecurFrequency {
|
|
2
|
+
Daily = 8202,
|
|
3
|
+
Weekly = 8203,
|
|
4
|
+
Monthly = 8204,
|
|
5
|
+
Yearly = 8205
|
|
6
|
+
}
|
|
7
|
+
export declare enum PatternType {
|
|
8
|
+
Day = 0,
|
|
9
|
+
Week = 1,
|
|
10
|
+
Month = 2,
|
|
11
|
+
MonthEnd = 4,
|
|
12
|
+
MonthNth = 3
|
|
13
|
+
}
|
|
14
|
+
export declare enum EndType {
|
|
15
|
+
AfterDate = 8225,
|
|
16
|
+
AfterNOccurrences = 8226,
|
|
17
|
+
NeverEnd = 8227
|
|
18
|
+
}
|
|
19
|
+
export declare enum NthOccurrence {
|
|
20
|
+
First = 1,
|
|
21
|
+
Second = 2,
|
|
22
|
+
Third = 3,
|
|
23
|
+
Fourth = 4,
|
|
24
|
+
Last = 5
|
|
25
|
+
}
|
|
26
|
+
export type WeekSpecific = boolean[] & {
|
|
27
|
+
length: 7;
|
|
28
|
+
};
|
|
29
|
+
export type MonthNthSpecific = {
|
|
30
|
+
weekdays: WeekSpecific;
|
|
31
|
+
nth: NthOccurrence;
|
|
32
|
+
};
|
|
33
|
+
export declare class RecurrencePattern {
|
|
34
|
+
private buffer;
|
|
35
|
+
recurFrequency: RecurFrequency;
|
|
36
|
+
patternType: PatternType;
|
|
37
|
+
firstDateTime: Date;
|
|
38
|
+
period: number;
|
|
39
|
+
patternTypeSpecific: number | WeekSpecific | MonthNthSpecific | null;
|
|
40
|
+
endType: EndType;
|
|
41
|
+
occurrenceCount: number;
|
|
42
|
+
firstDOW: number;
|
|
43
|
+
startDate: Date;
|
|
44
|
+
endDate: Date;
|
|
45
|
+
constructor(buffer: Buffer);
|
|
46
|
+
toJSON(): any;
|
|
47
|
+
private readInt;
|
|
48
|
+
private readPatternTypeSpecific;
|
|
49
|
+
}
|
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecurrencePattern = exports.NthOccurrence = exports.EndType = exports.PatternType = exports.RecurFrequency = void 0;
|
|
4
|
-
const OFFSETS = {
|
|
5
|
-
RecurFrequency: 4,
|
|
6
|
-
PatternType: 6,
|
|
7
|
-
FirstDateTime: 10,
|
|
8
|
-
Period: 14,
|
|
9
|
-
PatternTypeSpecific: 22,
|
|
10
|
-
EndType: 22,
|
|
11
|
-
OccurrenceCount: 26,
|
|
12
|
-
FirstDOW: 30,
|
|
13
|
-
StartDate: -8,
|
|
14
|
-
EndDate: -4,
|
|
15
|
-
};
|
|
16
|
-
var RecurFrequency;
|
|
17
|
-
(function (RecurFrequency) {
|
|
18
|
-
RecurFrequency[RecurFrequency["Daily"] = 8202] = "Daily";
|
|
19
|
-
RecurFrequency[RecurFrequency["Weekly"] = 8203] = "Weekly";
|
|
20
|
-
RecurFrequency[RecurFrequency["Monthly"] = 8204] = "Monthly";
|
|
21
|
-
RecurFrequency[RecurFrequency["Yearly"] = 8205] = "Yearly";
|
|
22
|
-
})(RecurFrequency
|
|
23
|
-
var PatternType;
|
|
24
|
-
(function (PatternType) {
|
|
25
|
-
PatternType[PatternType["Day"] = 0] = "Day";
|
|
26
|
-
PatternType[PatternType["Week"] = 1] = "Week";
|
|
27
|
-
PatternType[PatternType["Month"] = 2] = "Month";
|
|
28
|
-
PatternType[PatternType["MonthEnd"] = 4] = "MonthEnd";
|
|
29
|
-
PatternType[PatternType["MonthNth"] = 3] = "MonthNth";
|
|
30
|
-
})(PatternType
|
|
31
|
-
var EndType;
|
|
32
|
-
(function (EndType) {
|
|
33
|
-
EndType[EndType["AfterDate"] = 8225] = "AfterDate";
|
|
34
|
-
EndType[EndType["AfterNOccurrences"] = 8226] = "AfterNOccurrences";
|
|
35
|
-
EndType[EndType["NeverEnd"] = 8227] = "NeverEnd";
|
|
36
|
-
})(EndType
|
|
37
|
-
var NthOccurrence;
|
|
38
|
-
(function (NthOccurrence) {
|
|
39
|
-
NthOccurrence[NthOccurrence["First"] = 1] = "First";
|
|
40
|
-
NthOccurrence[NthOccurrence["Second"] = 2] = "Second";
|
|
41
|
-
NthOccurrence[NthOccurrence["Third"] = 3] = "Third";
|
|
42
|
-
NthOccurrence[NthOccurrence["Fourth"] = 4] = "Fourth";
|
|
43
|
-
NthOccurrence[NthOccurrence["Last"] = 5] = "Last";
|
|
44
|
-
})(NthOccurrence
|
|
45
|
-
class RecurrencePattern {
|
|
46
|
-
constructor(buffer) {
|
|
47
|
-
this.buffer = buffer;
|
|
48
|
-
const bufferEnd = buffer.length;
|
|
49
|
-
let patternTypeOffset = 0;
|
|
50
|
-
this.recurFrequency = this.readInt(OFFSETS.RecurFrequency, 1);
|
|
51
|
-
this.patternType = this.readInt(OFFSETS.PatternType, 1);
|
|
52
|
-
this.firstDateTime = winToJsDate(this.readInt(OFFSETS.FirstDateTime, 2));
|
|
53
|
-
this.period = this.readInt(OFFSETS.Period, 2);
|
|
54
|
-
this.patternTypeSpecific = this.readPatternTypeSpecific(this.patternType);
|
|
55
|
-
switch (this.patternType) {
|
|
56
|
-
case PatternType.Week:
|
|
57
|
-
case PatternType.Month:
|
|
58
|
-
case PatternType.MonthEnd:
|
|
59
|
-
patternTypeOffset = 4;
|
|
60
|
-
break;
|
|
61
|
-
case PatternType.MonthNth:
|
|
62
|
-
patternTypeOffset = 8;
|
|
63
|
-
break;
|
|
64
|
-
}
|
|
65
|
-
this.endType = this.readInt(OFFSETS.EndType + patternTypeOffset, 2);
|
|
66
|
-
this.occurrenceCount = this.readInt(OFFSETS.OccurrenceCount + patternTypeOffset, 2);
|
|
67
|
-
this.firstDOW = this.readInt(OFFSETS.FirstDOW + patternTypeOffset, 2);
|
|
68
|
-
this.startDate = winToJsDate(this.readInt(bufferEnd + OFFSETS.StartDate, 2));
|
|
69
|
-
this.endDate = winToJsDate(this.readInt(bufferEnd + OFFSETS.EndDate, 2));
|
|
70
|
-
}
|
|
71
|
-
toJSON() {
|
|
72
|
-
return {
|
|
73
|
-
recurFrequency: RecurFrequency[this.recurFrequency],
|
|
74
|
-
patternType: PatternType[this.patternType],
|
|
75
|
-
firstDateTime: this.firstDateTime,
|
|
76
|
-
period: this.period,
|
|
77
|
-
patternTypeSpecific: this.patternTypeSpecific,
|
|
78
|
-
endType: EndType[this.endType],
|
|
79
|
-
occurrenceCount: this.occurrenceCount,
|
|
80
|
-
firstDOW: this.firstDOW,
|
|
81
|
-
startDate: this.startDate,
|
|
82
|
-
endDate: this.endDate,
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
readInt(offset, size) {
|
|
86
|
-
switch (size) {
|
|
87
|
-
case 1:
|
|
88
|
-
return this.buffer.readInt16LE(offset);
|
|
89
|
-
case 2:
|
|
90
|
-
return this.buffer.readInt32LE(offset);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
readPatternTypeSpecific(type) {
|
|
94
|
-
switch (type) {
|
|
95
|
-
case PatternType.Day:
|
|
96
|
-
return null;
|
|
97
|
-
case PatternType.Week:
|
|
98
|
-
return readWeekByte(this.buffer.readInt8(OFFSETS.PatternTypeSpecific));
|
|
99
|
-
case PatternType.Month:
|
|
100
|
-
case PatternType.MonthEnd:
|
|
101
|
-
return this.readInt(OFFSETS.PatternTypeSpecific, 2);
|
|
102
|
-
case PatternType.MonthNth:
|
|
103
|
-
return {
|
|
104
|
-
weekdays: readWeekByte(this.buffer.readInt8(OFFSETS.PatternTypeSpecific)),
|
|
105
|
-
nth: this.readInt(OFFSETS.PatternTypeSpecific + 4, 2),
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
exports.RecurrencePattern = RecurrencePattern;
|
|
111
|
-
function winToJsDate(dateInt) {
|
|
112
|
-
return new Date(dateInt * 60 * 1000 - 1.16444736e13); // subtract milliseconds between 1601-01-01 and 1970-01-01
|
|
113
|
-
}
|
|
114
|
-
function readWeekByte(byte) {
|
|
115
|
-
const weekArr = [];
|
|
116
|
-
for (let i = 0; i < 7; ++i) {
|
|
117
|
-
weekArr.push(Boolean(byte & (1 << i)));
|
|
118
|
-
}
|
|
119
|
-
return weekArr;
|
|
120
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecurrencePattern = exports.NthOccurrence = exports.EndType = exports.PatternType = exports.RecurFrequency = void 0;
|
|
4
|
+
const OFFSETS = {
|
|
5
|
+
RecurFrequency: 4,
|
|
6
|
+
PatternType: 6,
|
|
7
|
+
FirstDateTime: 10,
|
|
8
|
+
Period: 14,
|
|
9
|
+
PatternTypeSpecific: 22,
|
|
10
|
+
EndType: 22,
|
|
11
|
+
OccurrenceCount: 26,
|
|
12
|
+
FirstDOW: 30,
|
|
13
|
+
StartDate: -8,
|
|
14
|
+
EndDate: -4,
|
|
15
|
+
};
|
|
16
|
+
var RecurFrequency;
|
|
17
|
+
(function (RecurFrequency) {
|
|
18
|
+
RecurFrequency[RecurFrequency["Daily"] = 8202] = "Daily";
|
|
19
|
+
RecurFrequency[RecurFrequency["Weekly"] = 8203] = "Weekly";
|
|
20
|
+
RecurFrequency[RecurFrequency["Monthly"] = 8204] = "Monthly";
|
|
21
|
+
RecurFrequency[RecurFrequency["Yearly"] = 8205] = "Yearly";
|
|
22
|
+
})(RecurFrequency || (exports.RecurFrequency = RecurFrequency = {}));
|
|
23
|
+
var PatternType;
|
|
24
|
+
(function (PatternType) {
|
|
25
|
+
PatternType[PatternType["Day"] = 0] = "Day";
|
|
26
|
+
PatternType[PatternType["Week"] = 1] = "Week";
|
|
27
|
+
PatternType[PatternType["Month"] = 2] = "Month";
|
|
28
|
+
PatternType[PatternType["MonthEnd"] = 4] = "MonthEnd";
|
|
29
|
+
PatternType[PatternType["MonthNth"] = 3] = "MonthNth";
|
|
30
|
+
})(PatternType || (exports.PatternType = PatternType = {}));
|
|
31
|
+
var EndType;
|
|
32
|
+
(function (EndType) {
|
|
33
|
+
EndType[EndType["AfterDate"] = 8225] = "AfterDate";
|
|
34
|
+
EndType[EndType["AfterNOccurrences"] = 8226] = "AfterNOccurrences";
|
|
35
|
+
EndType[EndType["NeverEnd"] = 8227] = "NeverEnd";
|
|
36
|
+
})(EndType || (exports.EndType = EndType = {}));
|
|
37
|
+
var NthOccurrence;
|
|
38
|
+
(function (NthOccurrence) {
|
|
39
|
+
NthOccurrence[NthOccurrence["First"] = 1] = "First";
|
|
40
|
+
NthOccurrence[NthOccurrence["Second"] = 2] = "Second";
|
|
41
|
+
NthOccurrence[NthOccurrence["Third"] = 3] = "Third";
|
|
42
|
+
NthOccurrence[NthOccurrence["Fourth"] = 4] = "Fourth";
|
|
43
|
+
NthOccurrence[NthOccurrence["Last"] = 5] = "Last";
|
|
44
|
+
})(NthOccurrence || (exports.NthOccurrence = NthOccurrence = {}));
|
|
45
|
+
class RecurrencePattern {
|
|
46
|
+
constructor(buffer) {
|
|
47
|
+
this.buffer = buffer;
|
|
48
|
+
const bufferEnd = buffer.length;
|
|
49
|
+
let patternTypeOffset = 0;
|
|
50
|
+
this.recurFrequency = this.readInt(OFFSETS.RecurFrequency, 1);
|
|
51
|
+
this.patternType = this.readInt(OFFSETS.PatternType, 1);
|
|
52
|
+
this.firstDateTime = winToJsDate(this.readInt(OFFSETS.FirstDateTime, 2));
|
|
53
|
+
this.period = this.readInt(OFFSETS.Period, 2);
|
|
54
|
+
this.patternTypeSpecific = this.readPatternTypeSpecific(this.patternType);
|
|
55
|
+
switch (this.patternType) {
|
|
56
|
+
case PatternType.Week:
|
|
57
|
+
case PatternType.Month:
|
|
58
|
+
case PatternType.MonthEnd:
|
|
59
|
+
patternTypeOffset = 4;
|
|
60
|
+
break;
|
|
61
|
+
case PatternType.MonthNth:
|
|
62
|
+
patternTypeOffset = 8;
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
this.endType = this.readInt(OFFSETS.EndType + patternTypeOffset, 2);
|
|
66
|
+
this.occurrenceCount = this.readInt(OFFSETS.OccurrenceCount + patternTypeOffset, 2);
|
|
67
|
+
this.firstDOW = this.readInt(OFFSETS.FirstDOW + patternTypeOffset, 2);
|
|
68
|
+
this.startDate = winToJsDate(this.readInt(bufferEnd + OFFSETS.StartDate, 2));
|
|
69
|
+
this.endDate = winToJsDate(this.readInt(bufferEnd + OFFSETS.EndDate, 2));
|
|
70
|
+
}
|
|
71
|
+
toJSON() {
|
|
72
|
+
return {
|
|
73
|
+
recurFrequency: RecurFrequency[this.recurFrequency],
|
|
74
|
+
patternType: PatternType[this.patternType],
|
|
75
|
+
firstDateTime: this.firstDateTime,
|
|
76
|
+
period: this.period,
|
|
77
|
+
patternTypeSpecific: this.patternTypeSpecific,
|
|
78
|
+
endType: EndType[this.endType],
|
|
79
|
+
occurrenceCount: this.occurrenceCount,
|
|
80
|
+
firstDOW: this.firstDOW,
|
|
81
|
+
startDate: this.startDate,
|
|
82
|
+
endDate: this.endDate,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
readInt(offset, size) {
|
|
86
|
+
switch (size) {
|
|
87
|
+
case 1:
|
|
88
|
+
return this.buffer.readInt16LE(offset);
|
|
89
|
+
case 2:
|
|
90
|
+
return this.buffer.readInt32LE(offset);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
readPatternTypeSpecific(type) {
|
|
94
|
+
switch (type) {
|
|
95
|
+
case PatternType.Day:
|
|
96
|
+
return null;
|
|
97
|
+
case PatternType.Week:
|
|
98
|
+
return readWeekByte(this.buffer.readInt8(OFFSETS.PatternTypeSpecific));
|
|
99
|
+
case PatternType.Month:
|
|
100
|
+
case PatternType.MonthEnd:
|
|
101
|
+
return this.readInt(OFFSETS.PatternTypeSpecific, 2);
|
|
102
|
+
case PatternType.MonthNth:
|
|
103
|
+
return {
|
|
104
|
+
weekdays: readWeekByte(this.buffer.readInt8(OFFSETS.PatternTypeSpecific)),
|
|
105
|
+
nth: this.readInt(OFFSETS.PatternTypeSpecific + 4, 2),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.RecurrencePattern = RecurrencePattern;
|
|
111
|
+
function winToJsDate(dateInt) {
|
|
112
|
+
return new Date(dateInt * 60 * 1000 - 1.16444736e13); // subtract milliseconds between 1601-01-01 and 1970-01-01
|
|
113
|
+
}
|
|
114
|
+
function readWeekByte(byte) {
|
|
115
|
+
const weekArr = [];
|
|
116
|
+
for (let i = 0; i < 7; ++i) {
|
|
117
|
+
weekArr.push(Boolean(byte & (1 << i)));
|
|
118
|
+
}
|
|
119
|
+
return weekArr;
|
|
120
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PSTFile } from './PSTFile.class';
|
|
2
|
-
export { PSTTask } from './PSTTask.class';
|
|
3
|
-
export { PSTRecipient } from './PSTRecipient.class';
|
|
4
|
-
export { PSTAttachment } from './PSTAttachment.class';
|
|
5
|
-
export { PSTMessage } from './PSTMessage.class';
|
|
6
|
-
export { PSTFolder } from './PSTFolder.class';
|
|
1
|
+
export { PSTFile } from './PSTFile.class';
|
|
2
|
+
export { PSTTask } from './PSTTask.class';
|
|
3
|
+
export { PSTRecipient } from './PSTRecipient.class';
|
|
4
|
+
export { PSTAttachment } from './PSTAttachment.class';
|
|
5
|
+
export { PSTMessage } from './PSTMessage.class';
|
|
6
|
+
export { PSTFolder } from './PSTFolder.class';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PSTFolder = exports.PSTMessage = exports.PSTAttachment = exports.PSTRecipient = exports.PSTTask = exports.PSTFile = void 0;
|
|
4
|
-
var PSTFile_class_1 = require("./PSTFile.class");
|
|
5
|
-
Object.defineProperty(exports, "PSTFile", { enumerable: true, get: function () { return PSTFile_class_1.PSTFile; } });
|
|
6
|
-
var PSTTask_class_1 = require("./PSTTask.class");
|
|
7
|
-
Object.defineProperty(exports, "PSTTask", { enumerable: true, get: function () { return PSTTask_class_1.PSTTask; } });
|
|
8
|
-
var PSTRecipient_class_1 = require("./PSTRecipient.class");
|
|
9
|
-
Object.defineProperty(exports, "PSTRecipient", { enumerable: true, get: function () { return PSTRecipient_class_1.PSTRecipient; } });
|
|
10
|
-
var PSTAttachment_class_1 = require("./PSTAttachment.class");
|
|
11
|
-
Object.defineProperty(exports, "PSTAttachment", { enumerable: true, get: function () { return PSTAttachment_class_1.PSTAttachment; } });
|
|
12
|
-
var PSTMessage_class_1 = require("./PSTMessage.class");
|
|
13
|
-
Object.defineProperty(exports, "PSTMessage", { enumerable: true, get: function () { return PSTMessage_class_1.PSTMessage; } });
|
|
14
|
-
var PSTFolder_class_1 = require("./PSTFolder.class");
|
|
15
|
-
Object.defineProperty(exports, "PSTFolder", { enumerable: true, get: function () { return PSTFolder_class_1.PSTFolder; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PSTFolder = exports.PSTMessage = exports.PSTAttachment = exports.PSTRecipient = exports.PSTTask = exports.PSTFile = void 0;
|
|
4
|
+
var PSTFile_class_1 = require("./PSTFile.class");
|
|
5
|
+
Object.defineProperty(exports, "PSTFile", { enumerable: true, get: function () { return PSTFile_class_1.PSTFile; } });
|
|
6
|
+
var PSTTask_class_1 = require("./PSTTask.class");
|
|
7
|
+
Object.defineProperty(exports, "PSTTask", { enumerable: true, get: function () { return PSTTask_class_1.PSTTask; } });
|
|
8
|
+
var PSTRecipient_class_1 = require("./PSTRecipient.class");
|
|
9
|
+
Object.defineProperty(exports, "PSTRecipient", { enumerable: true, get: function () { return PSTRecipient_class_1.PSTRecipient; } });
|
|
10
|
+
var PSTAttachment_class_1 = require("./PSTAttachment.class");
|
|
11
|
+
Object.defineProperty(exports, "PSTAttachment", { enumerable: true, get: function () { return PSTAttachment_class_1.PSTAttachment; } });
|
|
12
|
+
var PSTMessage_class_1 = require("./PSTMessage.class");
|
|
13
|
+
Object.defineProperty(exports, "PSTMessage", { enumerable: true, get: function () { return PSTMessage_class_1.PSTMessage; } });
|
|
14
|
+
var PSTFolder_class_1 = require("./PSTFolder.class");
|
|
15
|
+
Object.defineProperty(exports, "PSTFolder", { enumerable: true, get: function () { return PSTFolder_class_1.PSTFolder; } });
|
package/example/package.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"pst-extractor": "link:.."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@types/node": "^
|
|
10
|
-
"eslint-config-prettier": "^
|
|
11
|
-
"eslint-plugin-prettier": "^
|
|
12
|
-
"prettier": "^
|
|
13
|
-
"ts-node": "^10.
|
|
14
|
-
"typescript": "^
|
|
9
|
+
"@types/node": "^20.14.10",
|
|
10
|
+
"eslint-config-prettier": "^9.1.0",
|
|
11
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
12
|
+
"prettier": "^3.3.3",
|
|
13
|
+
"ts-node": "^10.9.2",
|
|
14
|
+
"typescript": "^5.5.3"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"start": "ts-node test-min.ts",
|
package/example/yarn.lock
CHANGED
|
@@ -2,17 +2,35 @@
|
|
|
2
2
|
# yarn lockfile v1
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
"@cspotcode/source-map-
|
|
6
|
-
version "0.8.
|
|
7
|
-
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-
|
|
8
|
-
integrity sha512-
|
|
9
|
-
|
|
10
|
-
"@cspotcode/source-map-support@0.7.0":
|
|
11
|
-
version "0.7.0"
|
|
12
|
-
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5"
|
|
13
|
-
integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==
|
|
5
|
+
"@cspotcode/source-map-support@^0.8.0":
|
|
6
|
+
version "0.8.1"
|
|
7
|
+
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
|
|
8
|
+
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
|
|
14
9
|
dependencies:
|
|
15
|
-
"@
|
|
10
|
+
"@jridgewell/trace-mapping" "0.3.9"
|
|
11
|
+
|
|
12
|
+
"@jridgewell/resolve-uri@^3.0.3":
|
|
13
|
+
version "3.1.2"
|
|
14
|
+
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6"
|
|
15
|
+
integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==
|
|
16
|
+
|
|
17
|
+
"@jridgewell/sourcemap-codec@^1.4.10":
|
|
18
|
+
version "1.5.0"
|
|
19
|
+
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a"
|
|
20
|
+
integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==
|
|
21
|
+
|
|
22
|
+
"@jridgewell/trace-mapping@0.3.9":
|
|
23
|
+
version "0.3.9"
|
|
24
|
+
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
|
|
25
|
+
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
|
|
26
|
+
dependencies:
|
|
27
|
+
"@jridgewell/resolve-uri" "^3.0.3"
|
|
28
|
+
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
29
|
+
|
|
30
|
+
"@pkgr/core@^0.1.0":
|
|
31
|
+
version "0.1.1"
|
|
32
|
+
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
|
|
33
|
+
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
|
|
16
34
|
|
|
17
35
|
"@tsconfig/node10@^1.0.7":
|
|
18
36
|
version "1.0.8"
|
|
@@ -34,10 +52,12 @@
|
|
|
34
52
|
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e"
|
|
35
53
|
integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==
|
|
36
54
|
|
|
37
|
-
"@types/node@^
|
|
38
|
-
version "
|
|
39
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-
|
|
40
|
-
integrity sha512-
|
|
55
|
+
"@types/node@^20.14.10":
|
|
56
|
+
version "20.14.10"
|
|
57
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.10.tgz#a1a218290f1b6428682e3af044785e5874db469a"
|
|
58
|
+
integrity sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==
|
|
59
|
+
dependencies:
|
|
60
|
+
undici-types "~5.26.4"
|
|
41
61
|
|
|
42
62
|
acorn-walk@^8.1.1:
|
|
43
63
|
version "8.2.0"
|
|
@@ -64,27 +84,35 @@ diff@^4.0.1:
|
|
|
64
84
|
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
|
|
65
85
|
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
|
|
66
86
|
|
|
67
|
-
eslint-config-prettier@^
|
|
68
|
-
version "
|
|
69
|
-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-
|
|
70
|
-
integrity sha512-
|
|
87
|
+
eslint-config-prettier@^9.1.0:
|
|
88
|
+
version "9.1.0"
|
|
89
|
+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f"
|
|
90
|
+
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==
|
|
71
91
|
|
|
72
|
-
eslint-plugin-prettier@^
|
|
73
|
-
version "
|
|
74
|
-
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-
|
|
75
|
-
integrity sha512-
|
|
92
|
+
eslint-plugin-prettier@^5.1.3:
|
|
93
|
+
version "5.1.3"
|
|
94
|
+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz#17cfade9e732cef32b5f5be53bd4e07afd8e67e1"
|
|
95
|
+
integrity sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==
|
|
76
96
|
dependencies:
|
|
77
97
|
prettier-linter-helpers "^1.0.0"
|
|
98
|
+
synckit "^0.8.6"
|
|
78
99
|
|
|
79
100
|
fast-diff@^1.1.2:
|
|
80
101
|
version "1.2.0"
|
|
81
102
|
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
|
|
82
103
|
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
|
|
83
104
|
|
|
84
|
-
|
|
85
|
-
version "
|
|
86
|
-
resolved "https://registry.yarnpkg.com/
|
|
87
|
-
integrity sha512-
|
|
105
|
+
iconv-lite@^0.6.3:
|
|
106
|
+
version "0.6.3"
|
|
107
|
+
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
|
|
108
|
+
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
|
|
109
|
+
dependencies:
|
|
110
|
+
safer-buffer ">= 2.1.2 < 3.0.0"
|
|
111
|
+
|
|
112
|
+
long@^5.2.0:
|
|
113
|
+
version "5.2.3"
|
|
114
|
+
resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1"
|
|
115
|
+
integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==
|
|
88
116
|
|
|
89
117
|
make-error@^1.1.1:
|
|
90
118
|
version "1.3.6"
|
|
@@ -98,21 +126,34 @@ prettier-linter-helpers@^1.0.0:
|
|
|
98
126
|
dependencies:
|
|
99
127
|
fast-diff "^1.1.2"
|
|
100
128
|
|
|
101
|
-
prettier@^
|
|
102
|
-
version "
|
|
103
|
-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-
|
|
104
|
-
integrity sha512-
|
|
129
|
+
prettier@^3.3.3:
|
|
130
|
+
version "3.3.3"
|
|
131
|
+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105"
|
|
132
|
+
integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==
|
|
105
133
|
|
|
106
134
|
"pst-extractor@link:..":
|
|
107
135
|
version "0.0.0"
|
|
108
136
|
uid ""
|
|
109
137
|
|
|
110
|
-
|
|
111
|
-
version "
|
|
112
|
-
resolved "https://registry.yarnpkg.com/
|
|
113
|
-
integrity sha512-
|
|
138
|
+
"safer-buffer@>= 2.1.2 < 3.0.0":
|
|
139
|
+
version "2.1.2"
|
|
140
|
+
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
|
141
|
+
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
|
142
|
+
|
|
143
|
+
synckit@^0.8.6:
|
|
144
|
+
version "0.8.8"
|
|
145
|
+
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.8.tgz#fe7fe446518e3d3d49f5e429f443cf08b6edfcd7"
|
|
146
|
+
integrity sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==
|
|
147
|
+
dependencies:
|
|
148
|
+
"@pkgr/core" "^0.1.0"
|
|
149
|
+
tslib "^2.6.2"
|
|
150
|
+
|
|
151
|
+
ts-node@^10.9.2:
|
|
152
|
+
version "10.9.2"
|
|
153
|
+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
|
|
154
|
+
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
|
|
114
155
|
dependencies:
|
|
115
|
-
"@cspotcode/source-map-support" "0.
|
|
156
|
+
"@cspotcode/source-map-support" "^0.8.0"
|
|
116
157
|
"@tsconfig/node10" "^1.0.7"
|
|
117
158
|
"@tsconfig/node12" "^1.0.7"
|
|
118
159
|
"@tsconfig/node14" "^1.0.0"
|
|
@@ -123,23 +164,33 @@ ts-node@^10.7.0:
|
|
|
123
164
|
create-require "^1.1.0"
|
|
124
165
|
diff "^4.0.1"
|
|
125
166
|
make-error "^1.1.1"
|
|
126
|
-
v8-compile-cache-lib "^3.0.
|
|
167
|
+
v8-compile-cache-lib "^3.0.1"
|
|
127
168
|
yn "3.1.1"
|
|
128
169
|
|
|
129
|
-
|
|
130
|
-
version "
|
|
131
|
-
resolved "https://registry.yarnpkg.com/
|
|
132
|
-
integrity sha512-
|
|
170
|
+
tslib@^2.6.2:
|
|
171
|
+
version "2.6.3"
|
|
172
|
+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0"
|
|
173
|
+
integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==
|
|
174
|
+
|
|
175
|
+
typescript@^5.5.3:
|
|
176
|
+
version "5.5.3"
|
|
177
|
+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.3.tgz#e1b0a3c394190838a0b168e771b0ad56a0af0faa"
|
|
178
|
+
integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==
|
|
179
|
+
|
|
180
|
+
undici-types@~5.26.4:
|
|
181
|
+
version "5.26.5"
|
|
182
|
+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
|
|
183
|
+
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
|
|
133
184
|
|
|
134
185
|
uuid-parse@^1.1.0:
|
|
135
186
|
version "1.1.0"
|
|
136
187
|
resolved "https://registry.yarnpkg.com/uuid-parse/-/uuid-parse-1.1.0.tgz#7061c5a1384ae0e1f943c538094597e1b5f3a65b"
|
|
137
188
|
integrity sha512-OdmXxA8rDsQ7YpNVbKSJkNzTw2I+S5WsbMDnCtIWSQaosNAcWtFuI/YK1TjzUI6nbkgiqEyh8gWngfcv8Asd9A==
|
|
138
189
|
|
|
139
|
-
v8-compile-cache-lib@^3.0.
|
|
140
|
-
version "3.0.
|
|
141
|
-
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.
|
|
142
|
-
integrity sha512-
|
|
190
|
+
v8-compile-cache-lib@^3.0.1:
|
|
191
|
+
version "3.0.1"
|
|
192
|
+
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
|
|
193
|
+
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
|
|
143
194
|
|
|
144
195
|
yn@3.1.1:
|
|
145
196
|
version "3.1.1"
|