gedcom.json 1.0.9 → 1.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gedcom.json",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Convert GEDCOM Files to an JSON File or an JavaScript-Object and vice versa",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -39,14 +39,14 @@
39
39
  "@types/chai-as-promised": "^7.1.8",
40
40
  "@types/js-yaml": "^3.12.5",
41
41
  "@types/lodash": "^4.14.165",
42
- "@types/mocha": "^8.2.0",
42
+ "@types/mocha": "^10.0.10",
43
43
  "@types/mock-fs": "^4.13.4",
44
44
  "@types/node": "^14.14.12",
45
45
  "@types/object-path": "^0.11.0",
46
46
  "@types/yargs": "^15.0.12",
47
47
  "chai": "^4.2.0",
48
48
  "chai-as-promised": "^7.1.1",
49
- "mocha": "^10.3.0",
49
+ "mocha": "^12.0.0-beta-9",
50
50
  "mock-fs": "^5.2.0",
51
51
  "nyc": "^15.1.0",
52
52
  "source-map-support": "^0.5.19",
@@ -55,15 +55,15 @@
55
55
  "typescript": "^4.1.3"
56
56
  },
57
57
  "dependencies": {
58
- "dayjs": "^1.11.10",
58
+ "dayjs": "^1.11.19",
59
59
  "deepdash": "^5.3.9",
60
60
  "fclone": "^1.0.11",
61
61
  "glob-parent": ">=6.0.2",
62
62
  "hebcal": "^2.3.2",
63
- "js-yaml": "^3.14.1",
63
+ "js-yaml": "^3.14.2",
64
64
  "julian-gregorian": "^1.0.0",
65
65
  "line-by-line": "^0.1.6",
66
- "lodash": "^4.17.21",
66
+ "lodash": "^4.17.23",
67
67
  "object-path": "^0.11.8",
68
68
  "yargs": "^16.2.0"
69
69
  }
@@ -1,15 +0,0 @@
1
- {
2
- "files.exclude": {
3
- "**/.git": true,
4
- "**/.svn": true,
5
- "**/.hg": true,
6
- "**/CVS": true,
7
- "**/.DS_Store": true,
8
- "**/Thumbs.db": true,
9
- ".vscode": true,
10
- "dist": true,
11
- "dist_electron/": true,
12
- "node_modules/": true
13
- },
14
- "hide-files.files": []
15
- }
package/test.json DELETED
@@ -1,323 +0,0 @@
1
- {
2
- "Head": {
3
- "Source": {
4
- "Name": [
5
- "GRAMPS",
6
- "GRAMPS"
7
- ],
8
- "Version": "2.2.6-1"
9
- },
10
- "Destination": "GEDCOM 5.5",
11
- "Date": {
12
- "Original": "9 MAR 2007",
13
- "HasYear": true,
14
- "HasMonth": true,
15
- "HasDay": true,
16
- "Value": "2007-03-08T23:00:00.000Z"
17
- },
18
- "Characters": "UTF-8",
19
- "Submitter": {
20
- "Id": "@SUBM@"
21
- },
22
- "File": "/home/bodon/dok/gramps_data/Untitled_1.ged",
23
- "Copyright": "Copyright (c) 2007 .",
24
- "Gedcom": {
25
- "Version": "5.5",
26
- "Format": "LINEAGE-LINKED"
27
- }
28
- },
29
- "Submitter": [
30
- {
31
- "Id": "@SUBM@",
32
- "Name": "Not Provided",
33
- "Address": "Not Provided\nNot Provided"
34
- }
35
- ],
36
- "Individuals": [
37
- {
38
- "Id": "@Abraham_Simpson@",
39
- "Surname": "Simpson",
40
- "Givenname": "Abraham",
41
- "Fullname": "Abraham /Simpson/",
42
- "Sex": "M",
43
- "Relations": "@F0002@",
44
- "Changed": {
45
- "Date": {
46
- "Original": "11 FEB 2007 15:05:36",
47
- "HasYear": true,
48
- "HasMonth": true,
49
- "HasDay": true,
50
- "Value": "2007-02-11T14:05:36.000Z"
51
- }
52
- }
53
- },
54
- {
55
- "Id": "@Bart_Simpson@",
56
- "Surname": "Simpson",
57
- "Givenname": "Bart",
58
- "Fullname": "Bart /Simpson/",
59
- "Sex": "M",
60
- "Relations": "@F0000@",
61
- "Object": {
62
- "Format": "URL",
63
- "File": "http://en.wikipedia.org/wiki/Bart_Simpson"
64
- },
65
- "Changed": {
66
- "Date": {
67
- "Original": "11 FEB 2007 15:04:14",
68
- "HasYear": true,
69
- "HasMonth": true,
70
- "HasDay": true,
71
- "Value": "2007-02-11T14:04:14.000Z"
72
- }
73
- }
74
- },
75
- {
76
- "Id": "@Clancy_Bouvier@",
77
- "Surname": "Bouvier",
78
- "Givenname": "Clancy",
79
- "Fullname": "Clancy /Bouvier/",
80
- "Sex": "M",
81
- "Relations": "@F0003@",
82
- "Changed": {
83
- "Date": {
84
- "Original": "11 FEB 2007 15:13:45",
85
- "HasYear": true,
86
- "HasMonth": true,
87
- "HasDay": true,
88
- "Value": "2007-02-11T14:13:45.000Z"
89
- }
90
- }
91
- },
92
- {
93
- "Id": "@Homer_Simpson@",
94
- "Surname": "Simpson",
95
- "Givenname": "Homer",
96
- "Fullname": "Homer /Simpson/",
97
- "Sex": "M",
98
- "Relations": [
99
- "@F0002@",
100
- "@F0000@"
101
- ],
102
- "Object": {
103
- "Format": [
104
- "URL",
105
- "URL"
106
- ],
107
- "File": [
108
- "http://en.wikipedia.org/wiki/Homer_Simpson",
109
- "safety.officer@springfieldnuclear.com"
110
- ]
111
- },
112
- "Changed": {
113
- "Date": {
114
- "Original": "11 FEB 2007 15:05:36",
115
- "HasYear": true,
116
- "HasMonth": true,
117
- "HasDay": true,
118
- "Value": "2007-02-11T14:05:36.000Z"
119
- }
120
- }
121
- },
122
- {
123
- "Id": "@Jacqueline_Bouvier@",
124
- "Surname": "Bouvier",
125
- "Givenname": "Jacqueline",
126
- "Fullname": "Jacqueline /Bouvier/",
127
- "Sex": "F",
128
- "Relations": "@F0003@",
129
- "Changed": {
130
- "Date": {
131
- "Original": "11 FEB 2007 15:13:45",
132
- "HasYear": true,
133
- "HasMonth": true,
134
- "HasDay": true,
135
- "Value": "2007-02-11T14:13:45.000Z"
136
- }
137
- }
138
- },
139
- {
140
- "Id": "@Lisa_Simpson@",
141
- "Surname": "Simpson",
142
- "Givenname": "Lisa",
143
- "Fullname": "Lisa /Simpson/",
144
- "Sex": "F",
145
- "Relations": "@F0000@",
146
- "Object": {
147
- "Format": "URL",
148
- "File": "lisa@springfieldhigh.edu"
149
- },
150
- "Changed": {
151
- "Date": {
152
- "Original": "11 FEB 2007 15:04:14",
153
- "HasYear": true,
154
- "HasMonth": true,
155
- "HasDay": true,
156
- "Value": "2007-02-11T14:04:14.000Z"
157
- }
158
- }
159
- },
160
- {
161
- "Id": "@Maggie_Simpson@",
162
- "Surname": "Simpson",
163
- "Givenname": "Maggie",
164
- "Fullname": "Maggie /Simpson/",
165
- "Sex": "F",
166
- "Relations": "@F0000@",
167
- "Object": {
168
- "Format": "URL",
169
- "File": "http://en.wikipedia.org/wiki/Maggie_Simpson"
170
- },
171
- "Changed": {
172
- "Date": {
173
- "Original": "11 FEB 2007 15:04:14",
174
- "HasYear": true,
175
- "HasMonth": true,
176
- "HasDay": true,
177
- "Value": "2007-02-11T14:04:14.000Z"
178
- }
179
- }
180
- },
181
- {
182
- "Id": "@Marge_Simpson@",
183
- "Surname": "Simpson",
184
- "Givenname": "Marge",
185
- "Fullname": "Marge /Simpson/",
186
- "Sex": "F",
187
- "Relations": [
188
- "@F0003@",
189
- "@F0000@"
190
- ],
191
- "Object": {
192
- "Format": "URL",
193
- "File": "http://en.wikipedia.org/wiki/Marge_Simpson"
194
- },
195
- "Changed": {
196
- "Date": {
197
- "Original": "11 FEB 2007 15:13:45",
198
- "HasYear": true,
199
- "HasMonth": true,
200
- "HasDay": true,
201
- "Value": "2007-02-11T14:13:45.000Z"
202
- }
203
- }
204
- },
205
- {
206
- "Id": "@Mona_Simpson@",
207
- "Surname": "Simpson",
208
- "Givenname": "Mona",
209
- "Fullname": "Mona /Simpson/",
210
- "Sex": "F",
211
- "Relations": "@F0002@",
212
- "Changed": {
213
- "Date": {
214
- "Original": "11 FEB 2007 15:05:36",
215
- "HasYear": true,
216
- "HasMonth": true,
217
- "HasDay": true,
218
- "Value": "2007-02-11T14:05:36.000Z"
219
- }
220
- }
221
- },
222
- {
223
- "Id": "@Patty_Bouvier@",
224
- "Surname": "Bouvier",
225
- "Givenname": "Patty",
226
- "Fullname": "Patty /Bouvier/",
227
- "Sex": "F",
228
- "Relations": "@F0003@",
229
- "Object": {
230
- "Format": "URL",
231
- "File": "http://en.wikipedia.org/wiki/Patty_and_Selma_Bouvier"
232
- },
233
- "Changed": {
234
- "Date": {
235
- "Original": "11 FEB 2007 15:13:45",
236
- "HasYear": true,
237
- "HasMonth": true,
238
- "HasDay": true,
239
- "Value": "2007-02-11T14:13:45.000Z"
240
- }
241
- }
242
- },
243
- {
244
- "Id": "@Selma_Bouvier@",
245
- "Surname": "Bouvier",
246
- "Givenname": "Selma",
247
- "Fullname": "Selma /Bouvier/",
248
- "Sex": "F",
249
- "Relations": "@F0003@",
250
- "Object": {
251
- "Format": "URL",
252
- "File": "http://en.wikipedia.org/wiki/Patty_and_Selma_Bouvier"
253
- },
254
- "Changed": {
255
- "Date": {
256
- "Original": "11 FEB 2007 15:13:45",
257
- "HasYear": true,
258
- "HasMonth": true,
259
- "HasDay": true,
260
- "Value": "2007-02-11T14:13:45.000Z"
261
- }
262
- }
263
- }
264
- ],
265
- "Relations": [
266
- {
267
- "Id": "@F0000@",
268
- "Reference": "0",
269
- "Husband": "@Homer_Simpson@",
270
- "Wife": "@Marge_Simpson@",
271
- "Children": [
272
- "@Bart_Simpson@",
273
- "@Maggie_Simpson@",
274
- "@Lisa_Simpson@"
275
- ],
276
- "Changed": {
277
- "Date": {
278
- "Original": "11 FEB 2007 15:04:14",
279
- "HasYear": true,
280
- "HasMonth": true,
281
- "HasDay": true,
282
- "Value": "2007-02-11T14:04:14.000Z"
283
- }
284
- }
285
- },
286
- {
287
- "Id": "@F0002@",
288
- "Reference": "2",
289
- "Husband": "@Abraham_Simpson@",
290
- "Wife": "@Mona_Simpson@",
291
- "Children": "@Homer_Simpson@",
292
- "Changed": {
293
- "Date": {
294
- "Original": "11 FEB 2007 15:05:36",
295
- "HasYear": true,
296
- "HasMonth": true,
297
- "HasDay": true,
298
- "Value": "2007-02-11T14:05:36.000Z"
299
- }
300
- }
301
- },
302
- {
303
- "Id": "@F0003@",
304
- "Reference": "3",
305
- "Husband": "@Clancy_Bouvier@",
306
- "Wife": "@Jacqueline_Bouvier@",
307
- "Children": [
308
- "@Patty_Bouvier@",
309
- "@Selma_Bouvier@",
310
- "@Marge_Simpson@"
311
- ],
312
- "Changed": {
313
- "Date": {
314
- "Original": "11 FEB 2007 15:13:45",
315
- "HasYear": true,
316
- "HasMonth": true,
317
- "HasDay": true,
318
- "Value": "2007-02-11T14:13:45.000Z"
319
- }
320
- }
321
- }
322
- ]
323
- }