disacomp-dateservice 1.0.10 → 1.0.11

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/index.d.ts CHANGED
@@ -46,6 +46,8 @@ declare class DateService {
46
46
  endDate: string;
47
47
  };
48
48
  validateDateIsBetweenPeriods(start: string, end: string, date: string): boolean;
49
+ addMonths(month: number, addMonthsCount: number): number;
50
+ substractMonths(month: number, substractMonthsCount: number): number;
49
51
  }
50
52
  declare const DisacompDateService: DateService;
51
53
  export default DisacompDateService;
package/dist/index.js CHANGED
@@ -3,213 +3,213 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bothDatesFormated = bothDatesFormated;
4
4
  exports.dateClarionToSQL = dateClarionToSQL;
5
5
  function AddCeroAtBegin(numero) {
6
- return numero < 10 ? `0${numero}` : numero;
6
+ return numero < 10 ? `0${numero}` : numero;
7
7
  }
8
8
  function bothDatesFormated(dateToFormat) {
9
- let date;
10
- if (dateToFormat) {
11
- date = new Date(dateToFormat);
12
- } else {
13
- date = new Date();
14
- }
15
- const day = AddCeroAtBegin(date.getUTCDate());
16
- const month = AddCeroAtBegin(date.getUTCMonth() + 1);
17
- const year = date.getFullYear();
18
- const hours = AddCeroAtBegin(date.getHours());
19
- const min = AddCeroAtBegin(date.getMinutes());
20
- const sec = AddCeroAtBegin(date.getSeconds());
21
- return {
22
- signDate: `${day}-${month}-${year} ${hours}:${min}:${sec}`,
23
- normalDate: `${day}-${month}-${year}`,
24
- };
9
+ let date;
10
+ if (dateToFormat) {
11
+ date = new Date(dateToFormat);
12
+ }
13
+ else {
14
+ date = new Date();
15
+ }
16
+ const day = AddCeroAtBegin(date.getUTCDate());
17
+ const month = AddCeroAtBegin(date.getUTCMonth() + 1);
18
+ const year = date.getFullYear();
19
+ const hours = AddCeroAtBegin(date.getHours());
20
+ const min = AddCeroAtBegin(date.getMinutes());
21
+ const sec = AddCeroAtBegin(date.getSeconds());
22
+ return {
23
+ signDate: `${day}-${month}-${year} ${hours}:${min}:${sec}`,
24
+ normalDate: `${day}-${month}-${year}`,
25
+ };
25
26
  }
26
27
  function dateClarionToSQL(clarionDate) {
27
- let response;
28
- if (clarionDate <= 0) {
29
- response = new Date("1900-01-01");
30
- } else {
31
- response = new Date("1900-01-01");
32
- response.setUTCDate(response.getUTCDate() + (clarionDate - 36163));
33
- }
34
- return response.toISOString();
28
+ let response;
29
+ if (clarionDate <= 0) {
30
+ response = new Date("1900-01-01");
31
+ }
32
+ else {
33
+ response = new Date("1900-01-01");
34
+ response.setUTCDate(response.getUTCDate() + (clarionDate - 36163));
35
+ }
36
+ return response.toISOString();
35
37
  }
36
38
  class DateHelper {
37
- static isLeapYear(year) {
38
- return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
39
- }
40
- static getDaysInMonth(month, year) {
41
- switch (month) {
42
- case 2:
43
- return this.isLeapYear(year) ? 29 : 28;
44
- case 4:
45
- case 6:
46
- case 9:
47
- case 11:
48
- return 30;
49
- default:
50
- return 31;
51
- }
52
- }
39
+ static isLeapYear(year) {
40
+ return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
41
+ }
42
+ static getDaysInMonth(month, year) {
43
+ switch (month) {
44
+ case 2:
45
+ return this.isLeapYear(year) ? 29 : 28;
46
+ case 4:
47
+ case 6:
48
+ case 9:
49
+ case 11:
50
+ return 30;
51
+ default:
52
+ return 31;
53
+ }
54
+ }
53
55
  }
54
56
  class DateManipulator {
55
- addDays(date, daysToAdd) {
56
- let [day, month, year] = date.split("-").map(Number);
57
- while (daysToAdd > 0) {
58
- const daysLeftInMonth = DateHelper.getDaysInMonth(month, year) - day;
59
- if (daysToAdd <= daysLeftInMonth) {
60
- day += daysToAdd;
61
- daysToAdd = 0;
62
- } else {
63
- daysToAdd -= daysLeftInMonth + 1;
64
- day = 1;
65
- month++;
66
- if (month > 12) {
67
- month = 1;
68
- year++;
57
+ addDays(date, daysToAdd) {
58
+ let [day, month, year] = date.split("-").map(Number);
59
+ while (daysToAdd > 0) {
60
+ const daysLeftInMonth = DateHelper.getDaysInMonth(month, year) - day;
61
+ if (daysToAdd <= daysLeftInMonth) {
62
+ day += daysToAdd;
63
+ daysToAdd = 0;
64
+ }
65
+ else {
66
+ daysToAdd -= daysLeftInMonth + 1;
67
+ day = 1;
68
+ month++;
69
+ if (month > 12) {
70
+ month = 1;
71
+ year++;
72
+ }
73
+ }
69
74
  }
70
- }
71
- }
72
- return this.formatDate(year, month, day);
73
- }
74
- getCurrentDate() {
75
- const today = new Date();
76
- const day = String(today.getUTCDate()).padStart(2, "0");
77
- const month = String(today.getMonth() + 1).padStart(2, "0");
78
- const year = String(today.getFullYear());
79
- return `${day}-${month}-${year}`;
80
- }
81
- calculateDaysBetweenDates(date1, date2) {
82
- const [day1, month1, year1] = date1.split("-").map(Number);
83
- const [day2, month2, year2] = date2.split("-").map(Number);
84
- const fomatedDate1 = new Date(year1, month1 - 1, day1);
85
- const fomatedDate2 = new Date(year2, month2 - 1, day2);
86
- const differenceTime = Math.abs(
87
- fomatedDate2.getTime() - fomatedDate1.getTime(),
88
- );
89
- const differenceInDays = Math.ceil(differenceTime / (1000 * 60 * 60 * 24));
90
- return differenceInDays;
91
- }
92
- getDateFromDateSrting(date) {
93
- const [day, month, year] = date.split("-").map(Number);
94
- const formatedDate = new Date(year, month - 1, day);
95
- return formatedDate;
96
- }
97
- formatDate(year, month, day) {
98
- const monthStr = month.toString().padStart(2, "0");
99
- const dayStr = day.toString().padStart(2, "0");
100
- return `${dayStr}-${monthStr}-${year}`;
101
- }
102
- getPeriodFromDate(date) {
103
- const [day, month, year] = date.split("-").map(Number);
104
- return `${month}-${year}`;
105
- }
106
- isValidDate(date) {
107
- const regex = /^(0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[0-2])-\d{4}$/;
108
- if (!regex.test(date)) return false;
109
- const [day, month, year] = date.split("-").map(Number);
110
- const parsedDate = new Date(Date.UTC(year, month - 1, day));
111
- return (
112
- date.length === 10 &&
113
- parsedDate.getUTCFullYear() === year &&
114
- parsedDate.getUTCMonth() + 1 === month &&
115
- parsedDate.getUTCDate() === day
116
- );
117
- }
118
- addCeroAtBegin(numero) {
119
- return numero < 10 ? `0${numero}` : `${numero}`;
120
- }
121
- getSignDate() {
122
- let date = new Date();
123
- const day = this.addCeroAtBegin(date.getUTCDate());
124
- const month = this.addCeroAtBegin(date.getMonth() + 1);
125
- const year = date.getFullYear();
126
- const hours = this.addCeroAtBegin(date.getHours());
127
- const min = this.addCeroAtBegin(date.getMinutes());
128
- const sec = this.addCeroAtBegin(date.getSeconds());
129
- return `${day}-${month}-${year} ${hours}:${min}:${sec}`;
130
- }
131
- getISODateStringFromString(date) {
132
- const [day, month, year] = date.split("-").map(Number);
133
- return `${year}-${this.addCeroAtBegin(month)}-${this.addCeroAtBegin(day)}`;
134
- }
135
- getCurrentYear() {
136
- return new Date().getUTCFullYear();
137
- }
138
- getStartAndEndDateOfMonth(month) {
139
- const year = this.getCurrentYear();
140
- const startDate = `01-${this.addCeroAtBegin(month)}-${year}`;
141
- const endDate = `${DateHelper.getDaysInMonth(month, year)}-${this.addCeroAtBegin(month)}-${year}`;
142
- return { startDate, endDate };
143
- }
144
- getStartAndEndDateOfMonthWithYear(month, year) {
145
- const startDate = `01-${this.addCeroAtBegin(month)}-${year}`;
146
- const endDate = `${this.addCeroAtBegin(DateHelper.getDaysInMonth(month, year))}-${this.addCeroAtBegin(month)}-${year}`;
147
- return { startDate, endDate };
148
- }
149
- validateDateIsBetweenPeriods(start, end, date) {
150
- const [startMonth, startYear] = start.split("-").map(Number);
151
- const startDate = new Date(startYear, startMonth - 1, 1);
152
- const [endMonth, endYear] = end.split("-").map(Number);
153
- const endDate = new Date(endYear, endMonth, 0);
154
- const [day, month, year] = date.split("-").map(Number);
155
- const targetDate = new Date(year, month - 1, day);
156
- return targetDate >= startDate && targetDate <= endDate;
157
- }
158
- addMonths(month, addMonthsCount) {
159
- const totalMonths = month + addMonthsCount;
160
- return ((totalMonths - 1) % 12) + 1;
161
- }
162
- substractMonths(month, substractMonthsCount) {
163
- const totalMonths = month - substractMonthsCount;
164
- return ((totalMonths - 1 + 12) % 12) + 1;
165
- }
75
+ return this.formatDate(year, month, day);
76
+ }
77
+ getCurrentDate() {
78
+ const today = new Date();
79
+ const day = String(today.getUTCDate()).padStart(2, "0");
80
+ const month = String(today.getMonth() + 1).padStart(2, "0");
81
+ const year = String(today.getFullYear());
82
+ return `${day}-${month}-${year}`;
83
+ }
84
+ calculateDaysBetweenDates(date1, date2) {
85
+ const [day1, month1, year1] = date1.split("-").map(Number);
86
+ const [day2, month2, year2] = date2.split("-").map(Number);
87
+ const fomatedDate1 = new Date(year1, month1 - 1, day1);
88
+ const fomatedDate2 = new Date(year2, month2 - 1, day2);
89
+ const differenceTime = Math.abs(fomatedDate2.getTime() - fomatedDate1.getTime());
90
+ const differenceInDays = Math.ceil(differenceTime / (1000 * 60 * 60 * 24));
91
+ return differenceInDays;
92
+ }
93
+ getDateFromDateSrting(date) {
94
+ const [day, month, year] = date.split("-").map(Number);
95
+ const formatedDate = new Date(year, month - 1, day);
96
+ return formatedDate;
97
+ }
98
+ formatDate(year, month, day) {
99
+ const monthStr = month.toString().padStart(2, "0");
100
+ const dayStr = day.toString().padStart(2, "0");
101
+ return `${dayStr}-${monthStr}-${year}`;
102
+ }
103
+ getPeriodFromDate(date) {
104
+ const [day, month, year] = date.split("-").map(Number);
105
+ return `${month}-${year}`;
106
+ }
107
+ isValidDate(date) {
108
+ const regex = /^(0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[0-2])-\d{4}$/;
109
+ if (!regex.test(date))
110
+ return false;
111
+ const [day, month, year] = date.split("-").map(Number);
112
+ const parsedDate = new Date(Date.UTC(year, month - 1, day));
113
+ return (date.length === 10 &&
114
+ parsedDate.getUTCFullYear() === year &&
115
+ parsedDate.getUTCMonth() + 1 === month &&
116
+ parsedDate.getUTCDate() === day);
117
+ }
118
+ addCeroAtBegin(numero) {
119
+ return numero < 10 ? `0${numero}` : `${numero}`;
120
+ }
121
+ getSignDate() {
122
+ let date = new Date();
123
+ const day = this.addCeroAtBegin(date.getUTCDate());
124
+ const month = this.addCeroAtBegin(date.getMonth() + 1);
125
+ const year = date.getFullYear();
126
+ const hours = this.addCeroAtBegin(date.getHours());
127
+ const min = this.addCeroAtBegin(date.getMinutes());
128
+ const sec = this.addCeroAtBegin(date.getSeconds());
129
+ return `${day}-${month}-${year} ${hours}:${min}:${sec}`;
130
+ }
131
+ getISODateStringFromString(date) {
132
+ const [day, month, year] = date.split("-").map(Number);
133
+ return `${year}-${this.addCeroAtBegin(month)}-${this.addCeroAtBegin(day)}`;
134
+ }
135
+ getCurrentYear() {
136
+ return new Date().getUTCFullYear();
137
+ }
138
+ getStartAndEndDateOfMonth(month) {
139
+ const year = this.getCurrentYear();
140
+ const startDate = `01-${this.addCeroAtBegin(month)}-${year}`;
141
+ const endDate = `${DateHelper.getDaysInMonth(month, year)}-${this.addCeroAtBegin(month)}-${year}`;
142
+ return { startDate, endDate };
143
+ }
144
+ getStartAndEndDateOfMonthWithYear(month, year) {
145
+ const startDate = `01-${this.addCeroAtBegin(month)}-${year}`;
146
+ const endDate = `${this.addCeroAtBegin(DateHelper.getDaysInMonth(month, year))}-${this.addCeroAtBegin(month)}-${year}`;
147
+ return { startDate, endDate };
148
+ }
149
+ validateDateIsBetweenPeriods(start, end, date) {
150
+ const [startMonth, startYear] = start.split("-").map(Number);
151
+ const startDate = new Date(startYear, startMonth - 1, 1);
152
+ const [endMonth, endYear] = end.split("-").map(Number);
153
+ const endDate = new Date(endYear, endMonth, 0);
154
+ const [day, month, year] = date.split("-").map(Number);
155
+ const targetDate = new Date(year, month - 1, day);
156
+ return targetDate >= startDate && targetDate <= endDate;
157
+ }
158
+ addMonths(month, addMonthsCount) {
159
+ const totalMonths = month + addMonthsCount;
160
+ return ((totalMonths - 1) % 12) + 1;
161
+ }
162
+ substractMonths(month, substractMonthsCount) {
163
+ const totalMonths = month - substractMonthsCount;
164
+ return ((totalMonths - 1 + 12) % 12) + 1;
165
+ }
166
166
  }
167
167
  class DateService {
168
- constructor(dateManipulator) {
169
- this.dateManipulator = dateManipulator;
170
- }
171
- addDaysToDate(date, days) {
172
- return this.dateManipulator.addDays(date, days);
173
- }
174
- calculateDaysBetweenDates(date1, date2) {
175
- return this.dateManipulator.calculateDaysBetweenDates(date1, date2);
176
- }
177
- getCurrentDate() {
178
- return this.dateManipulator.getCurrentDate();
179
- }
180
- getDateFromDateString(dateString) {
181
- return this.dateManipulator.getDateFromDateSrting(dateString);
182
- }
183
- getPeriodFromDate(date) {
184
- return this.dateManipulator.getPeriodFromDate(date);
185
- }
186
- isValidDate(dateString) {
187
- return this.dateManipulator.isValidDate(dateString);
188
- }
189
- getSignDate() {
190
- return this.dateManipulator.getSignDate();
191
- }
192
- getISODateStringFromString(date) {
193
- return this.dateManipulator.getISODateStringFromString(date);
194
- }
195
- getCurrentYear() {
196
- return this.dateManipulator.getCurrentYear();
197
- }
198
- getStartAndEndDateOfMonth(month) {
199
- return this.dateManipulator.getStartAndEndDateOfMonth(month);
200
- }
201
- getStartAndEndDateOfMonthWithYear(month, year) {
202
- return this.dateManipulator.getStartAndEndDateOfMonthWithYear(month, year);
203
- }
204
- validateDateIsBetweenPeriods(start, end, date) {
205
- return this.dateManipulator.validateDateIsBetweenPeriods(start, end, date);
206
- }
207
- addMonths(month, addMonthsCount) {
208
- return this.dateManipulator.addMonths(month, addMonthsCount);
209
- }
210
- substractMonths(month, substractMonthsCount) {
211
- return this.dateManipulator.substractMonths(month, substractMonthsCount);
212
- }
168
+ constructor(dateManipulator) {
169
+ this.dateManipulator = dateManipulator;
170
+ }
171
+ addDaysToDate(date, days) {
172
+ return this.dateManipulator.addDays(date, days);
173
+ }
174
+ calculateDaysBetweenDates(date1, date2) {
175
+ return this.dateManipulator.calculateDaysBetweenDates(date1, date2);
176
+ }
177
+ getCurrentDate() {
178
+ return this.dateManipulator.getCurrentDate();
179
+ }
180
+ getDateFromDateString(dateString) {
181
+ return this.dateManipulator.getDateFromDateSrting(dateString);
182
+ }
183
+ getPeriodFromDate(date) {
184
+ return this.dateManipulator.getPeriodFromDate(date);
185
+ }
186
+ isValidDate(dateString) {
187
+ return this.dateManipulator.isValidDate(dateString);
188
+ }
189
+ getSignDate() {
190
+ return this.dateManipulator.getSignDate();
191
+ }
192
+ getISODateStringFromString(date) {
193
+ return this.dateManipulator.getISODateStringFromString(date);
194
+ }
195
+ getCurrentYear() {
196
+ return this.dateManipulator.getCurrentYear();
197
+ }
198
+ getStartAndEndDateOfMonth(month) {
199
+ return this.dateManipulator.getStartAndEndDateOfMonth(month);
200
+ }
201
+ getStartAndEndDateOfMonthWithYear(month, year) {
202
+ return this.dateManipulator.getStartAndEndDateOfMonthWithYear(month, year);
203
+ }
204
+ validateDateIsBetweenPeriods(start, end, date) {
205
+ return this.dateManipulator.validateDateIsBetweenPeriods(start, end, date);
206
+ }
207
+ addMonths(month, addMonthsCount) {
208
+ return this.dateManipulator.addMonths(month, addMonthsCount);
209
+ }
210
+ substractMonths(month, substractMonthsCount) {
211
+ return this.dateManipulator.substractMonths(month, substractMonthsCount);
212
+ }
213
213
  }
214
214
  const DisacompDateService = new DateService(new DateManipulator());
215
215
  exports.default = DisacompDateService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disacomp-dateservice",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Disacomp Date Service",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -326,6 +326,14 @@ class DateService {
326
326
  ): boolean {
327
327
  return this.dateManipulator.validateDateIsBetweenPeriods(start, end, date);
328
328
  }
329
+
330
+ public addMonths(month: number, addMonthsCount: number): number {
331
+ return this.dateManipulator.addMonths(month, addMonthsCount);
332
+ }
333
+
334
+ public substractMonths(month: number, substractMonthsCount: number): number {
335
+ return this.dateManipulator.substractMonths(month, substractMonthsCount);
336
+ }
329
337
  }
330
338
  const DisacompDateService = new DateService(new DateManipulator());
331
339
 
@@ -1 +1 @@
1
- {"fileNames":["../../../.npm-global/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.dom.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.scripthost.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1d242d5c24cf285c88bc4fb93c5ff903de8319064e282986edeb6247ba028d5e","impliedFormat":1},{"version":"c897c59353683daea23381c7472857009f379792d729e4229bfcb1d20d895834","signature":"d249ea6a80d43db4f9a36667c774d9a289a2b30efc4084be1cd2630872ebd14b"}],"root":[30],"options":{"composite":true,"module":1,"noImplicitAny":true,"noImplicitThis":true,"outDir":"./dist","removeComments":true,"rootDir":"./src","strict":true,"strictNullChecks":true,"target":4},"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../.npm-global/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.dom.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.scripthost.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../.npm-global/lib/node_modules/typescript/lib/lib.es2017.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1d242d5c24cf285c88bc4fb93c5ff903de8319064e282986edeb6247ba028d5e","impliedFormat":1},{"version":"a374fc6626a52aebae625c5814aa0656253edefeee34f7bd4d1fef1540214594","signature":"4d47c226b0e5a3482e4f0f24c1e9903ee3025072f4b339c11f33674bb63b5595"}],"root":[30],"options":{"composite":true,"module":1,"noImplicitAny":true,"noImplicitThis":true,"outDir":"./dist","removeComments":true,"rootDir":"./src","strict":true,"strictNullChecks":true,"target":4},"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}