@stamhoofd/utility 2.108.0 → 2.110.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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/FiscalDocumentYearHelper.d.ts +36 -0
- package/dist/src/FiscalDocumentYearHelper.d.ts.map +1 -0
- package/dist/src/FiscalDocumentYearHelper.js +57 -0
- package/dist/src/FiscalDocumentYearHelper.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/esm/dist/index.d.ts +1 -0
- package/esm/dist/index.d.ts.map +1 -1
- package/esm/dist/index.js +1 -0
- package/esm/dist/index.js.map +1 -1
- package/esm/dist/src/FiscalDocumentYearHelper.d.ts +36 -0
- package/esm/dist/src/FiscalDocumentYearHelper.d.ts.map +1 -0
- package/esm/dist/src/FiscalDocumentYearHelper.js +53 -0
- package/esm/dist/src/FiscalDocumentYearHelper.js.map +1 -0
- package/esm/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,4 +10,5 @@ tslib_1.__exportStar(require("./src/Sorter.js"), exports);
|
|
|
10
10
|
tslib_1.__exportStar(require("./src/StringCompare.js"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./src/Throttle.js"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./src/deepFreeze.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./src/FiscalDocumentYearHelper.js"), exports);
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,iEAAuC;AACvC,6DAAmC;AACnC,yEAA+C;AAC/C,yDAA+B;AAC/B,0DAAgC;AAChC,iEAAuC;AACvC,4DAAkC;AAClC,8DAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,iEAAuC;AACvC,6DAAmC;AACnC,yEAA+C;AAC/C,yDAA+B;AAC/B,0DAAgC;AAChC,iEAAuC;AACvC,4DAAkC;AAClC,8DAAoC;AACpC,4EAAkD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
export declare class FiscalDocumentYearHelper {
|
|
3
|
+
/**
|
|
4
|
+
* Current DateTime in Belgium
|
|
5
|
+
*/
|
|
6
|
+
private readonly now;
|
|
7
|
+
/**
|
|
8
|
+
* Allow to create fiscal document for current year if current month is after this month
|
|
9
|
+
*/
|
|
10
|
+
private readonly allowCreationAfterMonth;
|
|
11
|
+
/**
|
|
12
|
+
* Current year in Belgium
|
|
13
|
+
*/
|
|
14
|
+
readonly year: number;
|
|
15
|
+
/**
|
|
16
|
+
* Current month in Belgium (1-12)
|
|
17
|
+
*/
|
|
18
|
+
readonly month: number;
|
|
19
|
+
/**
|
|
20
|
+
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
21
|
+
*/
|
|
22
|
+
get defaultCalendarYear(): number;
|
|
23
|
+
/**
|
|
24
|
+
* Returns if a fiscal document for this year can be created.
|
|
25
|
+
*/
|
|
26
|
+
get canCreateFiscalDocumentForCurrentYear(): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Max publish date is before 1 march of next year.
|
|
29
|
+
*/
|
|
30
|
+
getPublishDeadlineForYear(calendarYear: number): DateTime;
|
|
31
|
+
/**
|
|
32
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
|
+
*/
|
|
34
|
+
canDownloadFiscalDocumentXML(calendarYear: number, createdAt: Date): boolean;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=FiscalDocumentYearHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,mBAAmB,IAAI,MAAM,CAMhC;IAED;;OAEG;IACH,IAAI,qCAAqC,IAAI,OAAO,CAEnD;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAKzD;;OAEG;IACH,4BAA4B,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAG,OAAO;CAK/E"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FiscalDocumentYearHelper = void 0;
|
|
4
|
+
const luxon_1 = require("luxon");
|
|
5
|
+
class FiscalDocumentYearHelper {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Current DateTime in Belgium
|
|
9
|
+
*/
|
|
10
|
+
this.now = luxon_1.DateTime.now()
|
|
11
|
+
.setZone('Europe/Brussels');
|
|
12
|
+
/**
|
|
13
|
+
* Allow to create fiscal document for current year if current month is after this month
|
|
14
|
+
*/
|
|
15
|
+
this.allowCreationAfterMonth = 10;
|
|
16
|
+
/**
|
|
17
|
+
* Current year in Belgium
|
|
18
|
+
*/
|
|
19
|
+
this.year = this.now.year;
|
|
20
|
+
/**
|
|
21
|
+
* Current month in Belgium (1-12)
|
|
22
|
+
*/
|
|
23
|
+
this.month = this.now.month;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
27
|
+
*/
|
|
28
|
+
get defaultCalendarYear() {
|
|
29
|
+
if (this.month <= this.allowCreationAfterMonth) {
|
|
30
|
+
return this.year - 1;
|
|
31
|
+
}
|
|
32
|
+
return this.year;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Returns if a fiscal document for this year can be created.
|
|
36
|
+
*/
|
|
37
|
+
get canCreateFiscalDocumentForCurrentYear() {
|
|
38
|
+
return this.month > this.allowCreationAfterMonth;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Max publish date is before 1 march of next year.
|
|
42
|
+
*/
|
|
43
|
+
getPublishDeadlineForYear(calendarYear) {
|
|
44
|
+
// max publish date is before 1 march of next year
|
|
45
|
+
return luxon_1.DateTime.fromObject({ year: calendarYear + 1, month: 3, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
49
|
+
*/
|
|
50
|
+
canDownloadFiscalDocumentXML(calendarYear, createdAt) {
|
|
51
|
+
const deadline = this.getPublishDeadlineForYear(calendarYear).toJSDate();
|
|
52
|
+
// if created after max publish date or if now is before max publish date
|
|
53
|
+
return createdAt.getTime() >= deadline.getTime() || new Date().getTime() < deadline.getTime();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.FiscalDocumentYearHelper = FiscalDocumentYearHelper;
|
|
57
|
+
//# sourceMappingURL=FiscalDocumentYearHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAEjC,MAAa,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,gBAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,CAAC;QAET;;WAEG;QACM,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAE9B;;WAEG;QACM,UAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IAoCpC,CAAC;IAlCG;;OAEG;IACH,IAAI,mBAAmB;QACnB,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAC7C,OAAO,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,IAAI,qCAAqC;QACrC,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,uBAAuB,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAoB;QAC1C,kDAAkD;QAClD,OAAO,gBAAQ,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACzJ,CAAC;IAED;;OAEG;IACH,4BAA4B,CAAC,YAAoB,EAAE,SAAe;QAC9D,MAAM,QAAQ,GAAG,IAAI,CAAC,yBAAyB,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzE,yEAAyE;QACzE,OAAO,SAAS,CAAC,OAAO,EAAE,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;IAClG,CAAC;CACJ;AA1DD,4DA0DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../index.ts","../src/colors.ts","../src/datavalidator.ts","../src/formatter.ts","../src/googletranslatehelper.ts","../src/sleep.ts","../src/sorter.ts","../src/stringcompare.test.ts","../src/stringcompare.ts","../src/throttle.ts","../src/deepfreeze.ts","../../../environment.d.ts","../../../jest-extended.d.ts","../../stamhoofd.d.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../index.ts","../src/colors.ts","../src/datavalidator.ts","../src/fiscaldocumentyearhelper.ts","../src/formatter.ts","../src/googletranslatehelper.ts","../src/sleep.ts","../src/sorter.ts","../src/stringcompare.test.ts","../src/stringcompare.ts","../src/throttle.ts","../src/deepfreeze.ts","../../../environment.d.ts","../../../jest-extended.d.ts","../../stamhoofd.d.ts"],"version":"5.8.3"}
|
package/esm/dist/index.d.ts
CHANGED
package/esm/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC"}
|
package/esm/dist/index.js
CHANGED
package/esm/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
export declare class FiscalDocumentYearHelper {
|
|
3
|
+
/**
|
|
4
|
+
* Current DateTime in Belgium
|
|
5
|
+
*/
|
|
6
|
+
private readonly now;
|
|
7
|
+
/**
|
|
8
|
+
* Allow to create fiscal document for current year if current month is after this month
|
|
9
|
+
*/
|
|
10
|
+
private readonly allowCreationAfterMonth;
|
|
11
|
+
/**
|
|
12
|
+
* Current year in Belgium
|
|
13
|
+
*/
|
|
14
|
+
readonly year: number;
|
|
15
|
+
/**
|
|
16
|
+
* Current month in Belgium (1-12)
|
|
17
|
+
*/
|
|
18
|
+
readonly month: number;
|
|
19
|
+
/**
|
|
20
|
+
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
21
|
+
*/
|
|
22
|
+
get defaultCalendarYear(): number;
|
|
23
|
+
/**
|
|
24
|
+
* Returns if a fiscal document for this year can be created.
|
|
25
|
+
*/
|
|
26
|
+
get canCreateFiscalDocumentForCurrentYear(): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Max publish date is before 1 march of next year.
|
|
29
|
+
*/
|
|
30
|
+
getPublishDeadlineForYear(calendarYear: number): DateTime;
|
|
31
|
+
/**
|
|
32
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
|
+
*/
|
|
34
|
+
canDownloadFiscalDocumentXML(calendarYear: number, createdAt: Date): boolean;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=FiscalDocumentYearHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,mBAAmB,IAAI,MAAM,CAMhC;IAED;;OAEG;IACH,IAAI,qCAAqC,IAAI,OAAO,CAEnD;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAKzD;;OAEG;IACH,4BAA4B,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAG,OAAO;CAK/E"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
export class FiscalDocumentYearHelper {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Current DateTime in Belgium
|
|
6
|
+
*/
|
|
7
|
+
this.now = DateTime.now()
|
|
8
|
+
.setZone('Europe/Brussels');
|
|
9
|
+
/**
|
|
10
|
+
* Allow to create fiscal document for current year if current month is after this month
|
|
11
|
+
*/
|
|
12
|
+
this.allowCreationAfterMonth = 10;
|
|
13
|
+
/**
|
|
14
|
+
* Current year in Belgium
|
|
15
|
+
*/
|
|
16
|
+
this.year = this.now.year;
|
|
17
|
+
/**
|
|
18
|
+
* Current month in Belgium (1-12)
|
|
19
|
+
*/
|
|
20
|
+
this.month = this.now.month;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
24
|
+
*/
|
|
25
|
+
get defaultCalendarYear() {
|
|
26
|
+
if (this.month <= this.allowCreationAfterMonth) {
|
|
27
|
+
return this.year - 1;
|
|
28
|
+
}
|
|
29
|
+
return this.year;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Returns if a fiscal document for this year can be created.
|
|
33
|
+
*/
|
|
34
|
+
get canCreateFiscalDocumentForCurrentYear() {
|
|
35
|
+
return this.month > this.allowCreationAfterMonth;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Max publish date is before 1 march of next year.
|
|
39
|
+
*/
|
|
40
|
+
getPublishDeadlineForYear(calendarYear) {
|
|
41
|
+
// max publish date is before 1 march of next year
|
|
42
|
+
return DateTime.fromObject({ year: calendarYear + 1, month: 3, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
46
|
+
*/
|
|
47
|
+
canDownloadFiscalDocumentXML(calendarYear, createdAt) {
|
|
48
|
+
const deadline = this.getPublishDeadlineForYear(calendarYear).toJSDate();
|
|
49
|
+
// if created after max publish date or if now is before max publish date
|
|
50
|
+
return createdAt.getTime() >= deadline.getTime() || new Date().getTime() < deadline.getTime();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=FiscalDocumentYearHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,OAAO,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,QAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,CAAC;QAET;;WAEG;QACM,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAE9B;;WAEG;QACM,UAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IAoCpC,CAAC;IAlCG;;OAEG;IACH,IAAI,mBAAmB;QACnB,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAC7C,OAAO,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,IAAI,qCAAqC;QACrC,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,uBAAuB,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAoB;QAC1C,kDAAkD;QAClD,OAAO,QAAQ,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACzJ,CAAC;IAED;;OAEG;IACH,4BAA4B,CAAC,YAAoB,EAAE,SAAe;QAC9D,MAAM,QAAQ,GAAG,IAAI,CAAC,yBAAyB,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzE,yEAAyE;QACzE,OAAO,SAAS,CAAC,OAAO,EAAE,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;IAClG,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../../index.ts","../../src/colors.ts","../../src/datavalidator.ts","../../src/formatter.ts","../../src/googletranslatehelper.ts","../../src/sleep.ts","../../src/sorter.ts","../../src/stringcompare.test.ts","../../src/stringcompare.ts","../../src/throttle.ts","../../src/deepfreeze.ts","../../../../environment.d.ts","../../../../jest-extended.d.ts","../../../stamhoofd.d.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../../index.ts","../../src/colors.ts","../../src/datavalidator.ts","../../src/fiscaldocumentyearhelper.ts","../../src/formatter.ts","../../src/googletranslatehelper.ts","../../src/sleep.ts","../../src/sorter.ts","../../src/stringcompare.test.ts","../../src/stringcompare.ts","../../src/throttle.ts","../../src/deepfreeze.ts","../../../../environment.d.ts","../../../../jest-extended.d.ts","../../../stamhoofd.d.ts"],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamhoofd/utility",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.110.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./esm/dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "b43604081c29f7d909dac1b47a2d1633b66670e5"
|
|
23
23
|
}
|