@driveflux/format-money 5.0.9 → 5.1.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/config.d.ts.map +1 -1
- package/dist/config.js +14 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +95 -62
- package/package.json +18 -14
- package/.turbo/turbo-build.log +0 -18
- package/.turbo/turbo-build:js.log +0 -5
- package/.turbo/turbo-build:types.log +0 -5
- package/.turbo/turbo-clean.log +0 -5
- package/CHANGELOG.md +0 -567
- package/dist/cjs/index.js +0 -97
- package/dist/cjs/index.js.map +0 -7
- package/dist/cjs/package.json +0 -3
- package/dist/config.js.map +0 -1
- package/dist/index.js.map +0 -7
- package/tsconfig.json +0 -13
- package/tsconfig.tsbuildinfo +0 -1
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG;IACpB,aAAa,EAAE;QACd,QAAQ,EAAE,MAAM,CAAA;QAChB,eAAe,EAAE,MAAM,CAAA;QACvB,qBAAqB,EAAE,MAAM,CAAA;QAC7B,qBAAqB,EAAE,MAAM,CAAA;KAC7B,CAAA;IACD,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC,CAAA;AAYD,eAAO,IAAI,MAAM,EAAE,MAAoD,CAAA;AAEvE,eAAO,MAAM,WAAW,cAIvB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,GAAG,SAAS,MAAM,MAAM,OAC5C,GAAG,SACD,MAAM,CAAC,GAAG,CAAC,SAGlB,CAAA"}
|
package/dist/config.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { singleton } from '@driveflux/singleton';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
var getConfig = function() {
|
|
3
|
+
return {
|
|
4
|
+
defaultFormat: {
|
|
5
|
+
currency: 'MYR',
|
|
6
|
+
currencyDisplay: 'narrowSymbol',
|
|
7
|
+
maximumFractionDigits: 2,
|
|
8
|
+
minimumFractionDigits: 2
|
|
9
|
+
},
|
|
10
|
+
defaultLocale: 'en-MY'
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export var config = singleton('formatMoneyConfig', getConfig());
|
|
14
|
+
export var resetConfig = function() {
|
|
13
15
|
config = singleton('formatMoneyConfig', getConfig(), true);
|
|
14
16
|
return config;
|
|
15
17
|
};
|
|
16
|
-
export
|
|
18
|
+
export var setConfig = function(key, value) {
|
|
17
19
|
config[key] = value;
|
|
18
20
|
};
|
|
19
|
-
//# sourceMappingURL=config.js.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,KAAK,kBAAkB,GAAG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,KAAK,kBAAkB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,eAAe,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,cAAc,CAAA;CAC7D,GAAG,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAA;AAE/D;;;;GAIG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,MAAM,EACb,eAAe,CAAC,EAAE,kBAAkB,GAAG,MAAM,UA0B7C;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,oBAAc,CAAA;AAElD;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,UAAW,MAAM,GAAG,MAAM,8BAQ9C,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,68 +1,101 @@
|
|
|
1
|
-
|
|
2
|
-
if (
|
|
3
|
-
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
4
13
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
12
28
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
29
|
+
function ownKeys(object, enumerableOnly) {
|
|
30
|
+
var keys = Object.keys(object);
|
|
31
|
+
if (Object.getOwnPropertySymbols) {
|
|
32
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
+
if (enumerableOnly) {
|
|
34
|
+
symbols = symbols.filter(function(sym) {
|
|
35
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
keys.push.apply(keys, symbols);
|
|
39
|
+
}
|
|
40
|
+
return keys;
|
|
18
41
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
defaultLocale: "en-MY"
|
|
29
|
-
});
|
|
30
|
-
var config = singleton("formatMoneyConfig", getConfig());
|
|
31
|
-
|
|
32
|
-
// src/index.ts
|
|
33
|
-
function formatMoney(money, providedOptions) {
|
|
34
|
-
const options = { ...config.defaultFormat };
|
|
35
|
-
let locale = config.defaultLocale;
|
|
36
|
-
if (typeof providedOptions === "string") {
|
|
37
|
-
options.currency = providedOptions;
|
|
38
|
-
}
|
|
39
|
-
if (typeof providedOptions === "object" && providedOptions) {
|
|
40
|
-
for (const k in providedOptions) {
|
|
41
|
-
const key = k;
|
|
42
|
-
if (key === "locales") {
|
|
43
|
-
locale = providedOptions[key];
|
|
44
|
-
continue;
|
|
45
|
-
}
|
|
46
|
-
options[key] = providedOptions[key];
|
|
42
|
+
function _object_spread_props(target, source) {
|
|
43
|
+
source = source != null ? source : {};
|
|
44
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
+
} else {
|
|
47
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
+
});
|
|
47
50
|
}
|
|
48
|
-
|
|
49
|
-
return new Intl.NumberFormat(locale, {
|
|
50
|
-
...options,
|
|
51
|
-
style: "currency"
|
|
52
|
-
}).format(money);
|
|
51
|
+
return target;
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
53
|
+
function _type_of(obj) {
|
|
54
|
+
"@swc/helpers - typeof";
|
|
55
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
56
|
+
}
|
|
57
|
+
import { config } from './config.js';
|
|
58
|
+
/**
|
|
59
|
+
* Formats the money object into a string
|
|
60
|
+
* @param money
|
|
61
|
+
* @param locales
|
|
62
|
+
*/ export function formatMoney(money, providedOptions) {
|
|
63
|
+
var options = _object_spread({}, config.defaultFormat);
|
|
64
|
+
var locale = config.defaultLocale;
|
|
65
|
+
if (typeof providedOptions === 'string') {
|
|
66
|
+
options.currency = providedOptions;
|
|
67
|
+
}
|
|
68
|
+
if ((typeof providedOptions === "undefined" ? "undefined" : _type_of(providedOptions)) === 'object' && providedOptions) {
|
|
69
|
+
for(var k in providedOptions){
|
|
70
|
+
var key = k;
|
|
71
|
+
if (key === 'locales') {
|
|
72
|
+
locale = providedOptions[key];
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
// TODO
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
options[key] = providedOptions[key];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return new Intl.NumberFormat(locale, _object_spread_props(_object_spread({}, options), {
|
|
81
|
+
style: 'currency'
|
|
82
|
+
})).format(money);
|
|
83
|
+
}
|
|
84
|
+
/** // TODO check if there are any instances using this function, update them then remove this
|
|
85
|
+
* @deprecated use formatMoney instead
|
|
86
|
+
* @returns
|
|
87
|
+
*/ export var formatMoneyWithFraction = formatMoney;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @param money
|
|
91
|
+
* @param fraction cannot be less than 1
|
|
92
|
+
* @returns
|
|
93
|
+
*/ export var decimals = function(money) {
|
|
94
|
+
var fraction = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
|
|
95
|
+
if (fraction < 1) {
|
|
96
|
+
throw new Error('Fraction cannot be less than 1');
|
|
97
|
+
}
|
|
98
|
+
var m = +money;
|
|
99
|
+
var safe = isNaN(m) ? 0 : m;
|
|
100
|
+
return Math.round(safe * Math.pow(10, fraction)) / Math.pow(10, fraction);
|
|
67
101
|
};
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/format-money",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
7
7
|
".": {
|
|
8
8
|
"import": "./dist/index.js",
|
|
9
|
-
"require": "./dist/cjs/index.js",
|
|
10
9
|
"types": "./dist/index.d.ts"
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
|
-
"main": "dist/cjs/index.js",
|
|
14
|
-
"module": "dist/index.js",
|
|
15
|
-
"types": "dist/index.d.ts",
|
|
16
12
|
"dependencies": {
|
|
17
|
-
"@driveflux/singleton": "1.0
|
|
13
|
+
"@driveflux/singleton": "1.1.0"
|
|
18
14
|
},
|
|
19
15
|
"devDependencies": {
|
|
16
|
+
"@driveflux/fab": "2.1.0",
|
|
17
|
+
"@driveflux/tsconfig": "1.1.0",
|
|
18
|
+
"@types/node": "^20.14.10",
|
|
20
19
|
"del-cli": "^5.1.0",
|
|
21
|
-
"
|
|
22
|
-
"esbuild-register": "^3.5.0",
|
|
23
|
-
"typescript": "^5.5.2"
|
|
20
|
+
"typescript": "^5.5.3"
|
|
24
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "
|
|
27
|
-
"build:js": "
|
|
28
|
-
"build:types": "
|
|
29
|
-
"clean": "
|
|
30
|
-
"type-check": "tsc --noEmit"
|
|
26
|
+
"build": "fab",
|
|
27
|
+
"build:js": "fab -t esm",
|
|
28
|
+
"build:types": "fab -t types",
|
|
29
|
+
"clean": "fab clean",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"check": "biome check --write ./src",
|
|
32
|
+
"lint:errors": "pnpm lint --diagnostic-level error",
|
|
33
|
+
"format": "biome format --write ./src",
|
|
34
|
+
"lint": "biome lint --write --unsafe ./src"
|
|
31
35
|
}
|
|
32
36
|
}
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
[43m[30m WARN [39m[49m Issue while reading "/Users/flux/Projects/flux-master/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
2
|
-
|
|
3
|
-
> @driveflux/format-money@5.0.8 build /Users/flux/Projects/flux-master/packages/format-money
|
|
4
|
-
> npm run clean && npm run build:types && npm run build:js
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> @driveflux/format-money@5.0.8 clean
|
|
8
|
-
> del dist/**/*.js
|
|
9
|
-
|
|
10
|
-
[1G[0K[1G[0K\[1G[0K
|
|
11
|
-
> @driveflux/format-money@5.0.8 build:types
|
|
12
|
-
> tsc --build
|
|
13
|
-
|
|
14
|
-
[1G[0K[1G[0K\[1G[0K
|
|
15
|
-
> @driveflux/format-money@5.0.8 build:js
|
|
16
|
-
> node -r esbuild-register build.js
|
|
17
|
-
|
|
18
|
-
[1G[0K[1G[0K\[1G[0K
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
[33m@driveflux/format-money:build:js[0m: cache hit, replaying output [2m0a71c3664309dbe5[0m
|
|
2
|
-
[33m@driveflux/format-money:build:js: [0m
|
|
3
|
-
[33m@driveflux/format-money:build:js: [0m> @driveflux/format-money@2.0.2 build:js /Users/flux/Projects/flux/packages/format-money
|
|
4
|
-
[33m@driveflux/format-money:build:js: [0m> node -r esbuild-register build.js
|
|
5
|
-
[33m@driveflux/format-money:build:js: [0m
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
[36m@driveflux/format-money:build:types[0m: cache hit, replaying output [2m675c820991d4cac5[0m
|
|
2
|
-
[36m@driveflux/format-money:build:types: [0m
|
|
3
|
-
[36m@driveflux/format-money:build:types: [0m> @driveflux/format-money@2.0.2 build:types /Users/flux/Projects/flux/packages/format-money
|
|
4
|
-
[36m@driveflux/format-money:build:types: [0m> tsc --build
|
|
5
|
-
[36m@driveflux/format-money:build:types: [0m
|
package/.turbo/turbo-clean.log
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
[33m@driveflux/format-money:clean[0m: cache hit, replaying output [2m7e86a0a012ea6e0e[0m
|
|
2
|
-
[33m@driveflux/format-money:clean: [0m
|
|
3
|
-
[33m@driveflux/format-money:clean: [0m> @driveflux/format-money@2.0.2 clean /Users/flux/Projects/flux/packages/format-money
|
|
4
|
-
[33m@driveflux/format-money:clean: [0m> del dist/**/*.js
|
|
5
|
-
[33m@driveflux/format-money:clean: [0m
|
package/CHANGELOG.md
DELETED
|
@@ -1,567 +0,0 @@
|
|
|
1
|
-
# @driveflux/format-money
|
|
2
|
-
|
|
3
|
-
## 5.0.9
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Minor adjustments for deps
|
|
8
|
-
- Upgraded packages
|
|
9
|
-
- Updated dependencies
|
|
10
|
-
- Updated dependencies
|
|
11
|
-
- @driveflux/singleton@1.0.5
|
|
12
|
-
|
|
13
|
-
## 5.0.8
|
|
14
|
-
|
|
15
|
-
### Patch Changes
|
|
16
|
-
|
|
17
|
-
- Minor updates on build
|
|
18
|
-
- Updated dependencies
|
|
19
|
-
- @driveflux/singleton@1.0.4
|
|
20
|
-
|
|
21
|
-
## 5.0.7
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- Upgraded all packages
|
|
26
|
-
- Updated dependencies
|
|
27
|
-
- @driveflux/singleton@1.0.3
|
|
28
|
-
|
|
29
|
-
## 5.0.6
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
- Upgraded packages again
|
|
34
|
-
- Updated dependencies
|
|
35
|
-
- @driveflux/singleton@1.0.2
|
|
36
|
-
|
|
37
|
-
## 5.0.5
|
|
38
|
-
|
|
39
|
-
### Patch Changes
|
|
40
|
-
|
|
41
|
-
- Upgraded packages
|
|
42
|
-
- Updated dependencies
|
|
43
|
-
- @driveflux/singleton@1.0.1
|
|
44
|
-
|
|
45
|
-
## 5.0.4
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- Date fns and other bug fixes
|
|
50
|
-
|
|
51
|
-
## 5.0.3
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- Version upgrade
|
|
56
|
-
|
|
57
|
-
## 5.0.2
|
|
58
|
-
|
|
59
|
-
### Patch Changes
|
|
60
|
-
|
|
61
|
-
- Updated dependencies
|
|
62
|
-
|
|
63
|
-
## 5.0.1
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- Bump versions
|
|
68
|
-
|
|
69
|
-
## 5.0.0
|
|
70
|
-
|
|
71
|
-
### Major Changes
|
|
72
|
-
|
|
73
|
-
- 4.5 pre-release
|
|
74
|
-
|
|
75
|
-
### Patch Changes
|
|
76
|
-
|
|
77
|
-
- verion bump + minor improvements
|
|
78
|
-
- Bump all versions
|
|
79
|
-
- Version bump
|
|
80
|
-
|
|
81
|
-
## 5.0.0-next.2
|
|
82
|
-
|
|
83
|
-
### Patch Changes
|
|
84
|
-
|
|
85
|
-
- Version bump
|
|
86
|
-
|
|
87
|
-
## 5.0.0-next.1
|
|
88
|
-
|
|
89
|
-
### Patch Changes
|
|
90
|
-
|
|
91
|
-
- verion bump + minor improvements
|
|
92
|
-
|
|
93
|
-
## 5.0.0-next.0
|
|
94
|
-
|
|
95
|
-
### Major Changes
|
|
96
|
-
|
|
97
|
-
- 4.5 pre-release
|
|
98
|
-
|
|
99
|
-
## 4.0.6
|
|
100
|
-
|
|
101
|
-
### Patch Changes
|
|
102
|
-
|
|
103
|
-
- Upgraded dependencies
|
|
104
|
-
|
|
105
|
-
## 4.0.5
|
|
106
|
-
|
|
107
|
-
### Patch Changes
|
|
108
|
-
|
|
109
|
-
- minor version upgrade
|
|
110
|
-
|
|
111
|
-
## 4.0.3
|
|
112
|
-
|
|
113
|
-
### Patch Changes
|
|
114
|
-
|
|
115
|
-
- Fixed path decoding when there's space
|
|
116
|
-
|
|
117
|
-
## 4.0.2
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- Upgraded 3rd party
|
|
122
|
-
|
|
123
|
-
## 4.0.1
|
|
124
|
-
|
|
125
|
-
### Patch Changes
|
|
126
|
-
|
|
127
|
-
- Updated versions
|
|
128
|
-
|
|
129
|
-
## 4.0.0
|
|
130
|
-
|
|
131
|
-
### Major Changes
|
|
132
|
-
|
|
133
|
-
- Upgraded packages to ESM
|
|
134
|
-
|
|
135
|
-
## 3.0.8
|
|
136
|
-
|
|
137
|
-
### Patch Changes
|
|
138
|
-
|
|
139
|
-
- Rolled back flat
|
|
140
|
-
|
|
141
|
-
## 3.0.7
|
|
142
|
-
|
|
143
|
-
### Patch Changes
|
|
144
|
-
|
|
145
|
-
- rolled back flat
|
|
146
|
-
|
|
147
|
-
## 3.0.6
|
|
148
|
-
|
|
149
|
-
### Patch Changes
|
|
150
|
-
|
|
151
|
-
- Upgraded dependencies
|
|
152
|
-
|
|
153
|
-
## 3.0.5
|
|
154
|
-
|
|
155
|
-
### Patch Changes
|
|
156
|
-
|
|
157
|
-
- Minor version update
|
|
158
|
-
|
|
159
|
-
## 3.0.4
|
|
160
|
-
|
|
161
|
-
### Patch Changes
|
|
162
|
-
|
|
163
|
-
- Minor version updae
|
|
164
|
-
|
|
165
|
-
## 3.0.3
|
|
166
|
-
|
|
167
|
-
### Patch Changes
|
|
168
|
-
|
|
169
|
-
- Updated utils
|
|
170
|
-
|
|
171
|
-
## 3.0.2
|
|
172
|
-
|
|
173
|
-
### Patch Changes
|
|
174
|
-
|
|
175
|
-
- esm drop
|
|
176
|
-
|
|
177
|
-
## 3.0.0
|
|
178
|
-
|
|
179
|
-
### Major Changes
|
|
180
|
-
|
|
181
|
-
- Changed the way formatMoney works and added config
|
|
182
|
-
|
|
183
|
-
## 2.1.15
|
|
184
|
-
|
|
185
|
-
### Patch Changes
|
|
186
|
-
|
|
187
|
-
- preparative updates
|
|
188
|
-
|
|
189
|
-
## 2.1.14
|
|
190
|
-
|
|
191
|
-
### Patch Changes
|
|
192
|
-
|
|
193
|
-
- Upgrades for v5
|
|
194
|
-
|
|
195
|
-
## 2.1.13
|
|
196
|
-
|
|
197
|
-
### Patch Changes
|
|
198
|
-
|
|
199
|
-
- Formatting
|
|
200
|
-
|
|
201
|
-
## 2.1.12
|
|
202
|
-
|
|
203
|
-
### Patch Changes
|
|
204
|
-
|
|
205
|
-
- Upgraded packages
|
|
206
|
-
|
|
207
|
-
## 2.1.11
|
|
208
|
-
|
|
209
|
-
### Patch Changes
|
|
210
|
-
|
|
211
|
-
- Updated dependencies
|
|
212
|
-
|
|
213
|
-
## 2.1.10
|
|
214
|
-
|
|
215
|
-
### Patch Changes
|
|
216
|
-
|
|
217
|
-
- Upgraded packages and dependencies
|
|
218
|
-
|
|
219
|
-
## 2.1.9
|
|
220
|
-
|
|
221
|
-
### Patch Changes
|
|
222
|
-
|
|
223
|
-
- Minor upgrade for motorcycle
|
|
224
|
-
|
|
225
|
-
## 2.1.8
|
|
226
|
-
|
|
227
|
-
### Patch Changes
|
|
228
|
-
|
|
229
|
-
- Upgraded dependencies
|
|
230
|
-
|
|
231
|
-
## 2.1.7
|
|
232
|
-
|
|
233
|
-
### Patch Changes
|
|
234
|
-
|
|
235
|
-
- Upgraded packages
|
|
236
|
-
|
|
237
|
-
## 2.1.6
|
|
238
|
-
|
|
239
|
-
### Patch Changes
|
|
240
|
-
|
|
241
|
-
- Upgraded dependencies
|
|
242
|
-
|
|
243
|
-
## 2.1.5
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- (chore) upgraded dependencies
|
|
248
|
-
|
|
249
|
-
## 2.1.4
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- Upgraded all dependencies
|
|
254
|
-
|
|
255
|
-
## 2.1.3
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- dependencies upgrade
|
|
260
|
-
|
|
261
|
-
## 2.1.2
|
|
262
|
-
|
|
263
|
-
### Patch Changes
|
|
264
|
-
|
|
265
|
-
- fffe9a386: Upgraded dependencies
|
|
266
|
-
- 6fde10151: Updated packages
|
|
267
|
-
|
|
268
|
-
## 2.1.2-next.1
|
|
269
|
-
|
|
270
|
-
### Patch Changes
|
|
271
|
-
|
|
272
|
-
- Updated packages
|
|
273
|
-
|
|
274
|
-
## 2.1.2-next.0
|
|
275
|
-
|
|
276
|
-
### Patch Changes
|
|
277
|
-
|
|
278
|
-
- Upgraded dependencies
|
|
279
|
-
|
|
280
|
-
## 2.1.1
|
|
281
|
-
|
|
282
|
-
### Patch Changes
|
|
283
|
-
|
|
284
|
-
- Version bump to fix conflict with master
|
|
285
|
-
|
|
286
|
-
## 2.1.0
|
|
287
|
-
|
|
288
|
-
### Minor Changes
|
|
289
|
-
|
|
290
|
-
- Version bump to clean up conflicts
|
|
291
|
-
|
|
292
|
-
## 2.0.3
|
|
293
|
-
|
|
294
|
-
### Patch Changes
|
|
295
|
-
|
|
296
|
-
- Upgraded dependencies and adjusted code
|
|
297
|
-
|
|
298
|
-
## 2.0.2
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
- Minor version bumps
|
|
303
|
-
|
|
304
|
-
## 2.0.1
|
|
305
|
-
|
|
306
|
-
### Patch Changes
|
|
307
|
-
|
|
308
|
-
- Upgraded typescript and other modules
|
|
309
|
-
|
|
310
|
-
## 2.0.0
|
|
311
|
-
|
|
312
|
-
### Major Changes
|
|
313
|
-
|
|
314
|
-
- c654c2b4a: Flux V4 first major releases
|
|
315
|
-
|
|
316
|
-
### Patch Changes
|
|
317
|
-
|
|
318
|
-
- 7e474ef4a: pre-production release
|
|
319
|
-
- 75ffa4591: Minor bump
|
|
320
|
-
|
|
321
|
-
## 2.0.0-next.9
|
|
322
|
-
|
|
323
|
-
### Patch Changes
|
|
324
|
-
|
|
325
|
-
- pre-production release
|
|
326
|
-
|
|
327
|
-
## 2.0.0-next.8
|
|
328
|
-
|
|
329
|
-
### Patch Changes
|
|
330
|
-
|
|
331
|
-
- Minor bump
|
|
332
|
-
|
|
333
|
-
## 2.0.0-next.7
|
|
334
|
-
|
|
335
|
-
### Major Changes
|
|
336
|
-
|
|
337
|
-
- Flux V4 first major releases
|
|
338
|
-
|
|
339
|
-
## 2.0.0-next.6
|
|
340
|
-
|
|
341
|
-
### Patch Changes
|
|
342
|
-
|
|
343
|
-
- Updated packages
|
|
344
|
-
|
|
345
|
-
## 2.0.0-next.5
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- date-fns-ts import \*
|
|
350
|
-
|
|
351
|
-
## 2.0.0-next.4
|
|
352
|
-
|
|
353
|
-
### Patch Changes
|
|
354
|
-
|
|
355
|
-
- Fixed import of date-fns-tz
|
|
356
|
-
|
|
357
|
-
## 2.0.0-next.3
|
|
358
|
-
|
|
359
|
-
### Patch Changes
|
|
360
|
-
|
|
361
|
-
- Fixed exports
|
|
362
|
-
|
|
363
|
-
## 2.0.0-next.2
|
|
364
|
-
|
|
365
|
-
### Major Changes
|
|
366
|
-
|
|
367
|
-
- Major refactoring to use es modules, billing and subscription works, coupon overhaul
|
|
368
|
-
|
|
369
|
-
## 1.3.0-next.1
|
|
370
|
-
|
|
371
|
-
### Patch Changes
|
|
372
|
-
|
|
373
|
-
- Minor bump
|
|
374
|
-
|
|
375
|
-
## 1.3.0-next.0
|
|
376
|
-
|
|
377
|
-
### Minor Changes
|
|
378
|
-
|
|
379
|
-
- release inline with prisma
|
|
380
|
-
|
|
381
|
-
## 1.2.1
|
|
382
|
-
|
|
383
|
-
### Patch Changes
|
|
384
|
-
|
|
385
|
-
- Minor patch bump
|
|
386
|
-
- removed workspace protocol
|
|
387
|
-
|
|
388
|
-
## 1.2.0
|
|
389
|
-
|
|
390
|
-
### Minor Changes
|
|
391
|
-
|
|
392
|
-
- Removed seed and added cypress tests. Also fixes to some packages' dependencies and mongoose.
|
|
393
|
-
|
|
394
|
-
## 1.1.1
|
|
395
|
-
|
|
396
|
-
### Patch Changes
|
|
397
|
-
|
|
398
|
-
- Updated dependencies (mongodb, typescript, swr) and various other fixes
|
|
399
|
-
|
|
400
|
-
## 1.1.0
|
|
401
|
-
|
|
402
|
-
### Minor Changes
|
|
403
|
-
|
|
404
|
-
- Updated dependencies
|
|
405
|
-
|
|
406
|
-
## 1.0.26
|
|
407
|
-
|
|
408
|
-
### Patch Changes
|
|
409
|
-
|
|
410
|
-
- Minor update to all packages
|
|
411
|
-
|
|
412
|
-
## 1.0.25
|
|
413
|
-
|
|
414
|
-
### Patch Changes
|
|
415
|
-
|
|
416
|
-
- [housekeeping] removed console.log
|
|
417
|
-
|
|
418
|
-
## 1.0.24
|
|
419
|
-
|
|
420
|
-
### Patch Changes
|
|
421
|
-
|
|
422
|
-
- maintenance update
|
|
423
|
-
|
|
424
|
-
## 1.0.23
|
|
425
|
-
|
|
426
|
-
### Patch Changes
|
|
427
|
-
|
|
428
|
-
- updates
|
|
429
|
-
|
|
430
|
-
## 1.0.22
|
|
431
|
-
|
|
432
|
-
### Patch Changes
|
|
433
|
-
|
|
434
|
-
- Redact + logistics + minor changes
|
|
435
|
-
|
|
436
|
-
## 1.0.21
|
|
437
|
-
|
|
438
|
-
### Patch Changes
|
|
439
|
-
|
|
440
|
-
- Curlec fixes
|
|
441
|
-
|
|
442
|
-
## 1.0.20
|
|
443
|
-
|
|
444
|
-
### Patch Changes
|
|
445
|
-
|
|
446
|
-
- Redact fix and other bug fixes
|
|
447
|
-
|
|
448
|
-
## 1.0.19
|
|
449
|
-
|
|
450
|
-
### Patch Changes
|
|
451
|
-
|
|
452
|
-
- Fixed redact circular reference issue + seed fix
|
|
453
|
-
|
|
454
|
-
## 1.0.18
|
|
455
|
-
|
|
456
|
-
### Patch Changes
|
|
457
|
-
|
|
458
|
-
- Fixed subscription cycle creation
|
|
459
|
-
|
|
460
|
-
## 1.0.17
|
|
461
|
-
|
|
462
|
-
### Patch Changes
|
|
463
|
-
|
|
464
|
-
- Update to billing and problem
|
|
465
|
-
|
|
466
|
-
## 1.0.16
|
|
467
|
-
|
|
468
|
-
### Patch Changes
|
|
469
|
-
|
|
470
|
-
- Lingui 3.10.2, not all packages are 3.10.4
|
|
471
|
-
|
|
472
|
-
## 1.0.15
|
|
473
|
-
|
|
474
|
-
### Patch Changes
|
|
475
|
-
|
|
476
|
-
- lingui update
|
|
477
|
-
|
|
478
|
-
## 1.0.14
|
|
479
|
-
|
|
480
|
-
### Patch Changes
|
|
481
|
-
|
|
482
|
-
- Added imageset base64 blur
|
|
483
|
-
|
|
484
|
-
## 1.0.13
|
|
485
|
-
|
|
486
|
-
### Patch Changes
|
|
487
|
-
|
|
488
|
-
- Reporter fix + app bug fixes
|
|
489
|
-
|
|
490
|
-
## 1.0.12
|
|
491
|
-
|
|
492
|
-
### Patch Changes
|
|
493
|
-
|
|
494
|
-
- updated lingui
|
|
495
|
-
|
|
496
|
-
## 1.0.11
|
|
497
|
-
|
|
498
|
-
### Patch Changes
|
|
499
|
-
|
|
500
|
-
- Fixed user status + fetch returning full response on error
|
|
501
|
-
|
|
502
|
-
## 1.0.10
|
|
503
|
-
|
|
504
|
-
### Patch Changes
|
|
505
|
-
|
|
506
|
-
- reporter fix
|
|
507
|
-
|
|
508
|
-
## 1.0.9
|
|
509
|
-
|
|
510
|
-
### Patch Changes
|
|
511
|
-
|
|
512
|
-
- Added metadata to makeProblem signature
|
|
513
|
-
|
|
514
|
-
## 1.0.8
|
|
515
|
-
|
|
516
|
-
### Patch Changes
|
|
517
|
-
|
|
518
|
-
- version bump
|
|
519
|
-
|
|
520
|
-
## 1.0.7
|
|
521
|
-
|
|
522
|
-
### Patch Changes
|
|
523
|
-
|
|
524
|
-
- Minor bump
|
|
525
|
-
|
|
526
|
-
## 1.0.6
|
|
527
|
-
|
|
528
|
-
### Patch Changes
|
|
529
|
-
|
|
530
|
-
- Fixes from https://docs.google.com/spreadsheets/d/1k3SgcHGoHGZebcBjKlxnqm4YZ0LPRSVNMUoYR5csGwQ/edit#gid=73078217
|
|
531
|
-
|
|
532
|
-
## 1.0.5
|
|
533
|
-
|
|
534
|
-
### Patch Changes
|
|
535
|
-
|
|
536
|
-
- bump
|
|
537
|
-
|
|
538
|
-
## 1.0.4
|
|
539
|
-
|
|
540
|
-
### Patch Changes
|
|
541
|
-
|
|
542
|
-
- Version bump
|
|
543
|
-
|
|
544
|
-
## 1.0.3
|
|
545
|
-
|
|
546
|
-
### Patch Changes
|
|
547
|
-
|
|
548
|
-
- Added a prepare script
|
|
549
|
-
|
|
550
|
-
## 1.0.2
|
|
551
|
-
|
|
552
|
-
### Patch Changes
|
|
553
|
-
|
|
554
|
-
- Minor bump for all packages to rest issues caused by the version script in some packages
|
|
555
|
-
|
|
556
|
-
## 1.0.1
|
|
557
|
-
|
|
558
|
-
### Patch Changes
|
|
559
|
-
|
|
560
|
-
- 030003e5: Pre-publish all
|
|
561
|
-
- Patch to new release
|
|
562
|
-
|
|
563
|
-
## 1.0.0
|
|
564
|
-
|
|
565
|
-
### Patch Changes
|
|
566
|
-
|
|
567
|
-
- 407ee0cc: first bump
|
package/dist/cjs/index.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
decimals: () => decimals,
|
|
24
|
-
formatMoney: () => formatMoney,
|
|
25
|
-
formatMoneyWithFraction: () => formatMoneyWithFraction
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(src_exports);
|
|
28
|
-
|
|
29
|
-
// ../singleton/dist/index.js
|
|
30
|
-
if (!globalThis.__globalSingletonProvider) {
|
|
31
|
-
globalThis.__globalSingletonProvider = /* @__PURE__ */ new Map();
|
|
32
|
-
}
|
|
33
|
-
var singletonMap = globalThis.__globalSingletonProvider;
|
|
34
|
-
function singleton(name, object) {
|
|
35
|
-
var force = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
|
|
36
|
-
if (singletonMap.has(name) && !force) {
|
|
37
|
-
return singletonMap.get(name);
|
|
38
|
-
}
|
|
39
|
-
return singletonMap.set(name, object).get(name);
|
|
40
|
-
}
|
|
41
|
-
if (process.env.SINGLETON_DEBUG === "true") {
|
|
42
|
-
setInterval(function() {
|
|
43
|
-
var _globalThis___globalSingletonProvider;
|
|
44
|
-
console.log("Singletons", (_globalThis___globalSingletonProvider = globalThis.__globalSingletonProvider) === null || _globalThis___globalSingletonProvider === void 0 ? void 0 : _globalThis___globalSingletonProvider.size, globalThis.__globalSingletonProvider.keys());
|
|
45
|
-
}, 1e3);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// src/config.ts
|
|
49
|
-
var getConfig = () => ({
|
|
50
|
-
defaultFormat: {
|
|
51
|
-
currency: "MYR",
|
|
52
|
-
currencyDisplay: "narrowSymbol",
|
|
53
|
-
maximumFractionDigits: 2,
|
|
54
|
-
minimumFractionDigits: 2
|
|
55
|
-
},
|
|
56
|
-
defaultLocale: "en-MY"
|
|
57
|
-
});
|
|
58
|
-
var config = singleton("formatMoneyConfig", getConfig());
|
|
59
|
-
|
|
60
|
-
// src/index.ts
|
|
61
|
-
function formatMoney(money, providedOptions) {
|
|
62
|
-
const options = { ...config.defaultFormat };
|
|
63
|
-
let locale = config.defaultLocale;
|
|
64
|
-
if (typeof providedOptions === "string") {
|
|
65
|
-
options.currency = providedOptions;
|
|
66
|
-
}
|
|
67
|
-
if (typeof providedOptions === "object" && providedOptions) {
|
|
68
|
-
for (const k in providedOptions) {
|
|
69
|
-
const key = k;
|
|
70
|
-
if (key === "locales") {
|
|
71
|
-
locale = providedOptions[key];
|
|
72
|
-
continue;
|
|
73
|
-
}
|
|
74
|
-
options[key] = providedOptions[key];
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return new Intl.NumberFormat(locale, {
|
|
78
|
-
...options,
|
|
79
|
-
style: "currency"
|
|
80
|
-
}).format(money);
|
|
81
|
-
}
|
|
82
|
-
var formatMoneyWithFraction = formatMoney;
|
|
83
|
-
var decimals = (money, fraction = 2) => {
|
|
84
|
-
if (fraction < 1) {
|
|
85
|
-
throw new Error("Fraction cannot be less than 1");
|
|
86
|
-
}
|
|
87
|
-
const m = +money;
|
|
88
|
-
const safe = isNaN(m) ? 0 : m;
|
|
89
|
-
return Math.round(safe * 10 ** fraction) / 10 ** fraction;
|
|
90
|
-
};
|
|
91
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
92
|
-
0 && (module.exports = {
|
|
93
|
-
decimals,
|
|
94
|
-
formatMoney,
|
|
95
|
-
formatMoneyWithFraction
|
|
96
|
-
});
|
|
97
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.ts", "../../../singleton/dist/index.js", "../../src/config.ts"],
|
|
4
|
-
"sourcesContent": ["import { config } from './config.js'\n\ntype FormatMoneyOptions = {\n locales?: string | string[]\n currencyDisplay?: 'symbol' | 'code' | 'name' | 'narrowSymbol'\n} & Omit<Intl.NumberFormatOptions, 'style' | 'currencyDisplay'>\n\n/**\n * Formats the money object into a string\n * @param money\n * @param locales\n */\nexport function formatMoney(money: number, providedOptions?: FormatMoneyOptions | string) {\n const options = { ...config.defaultFormat } as Intl.NumberFormatOptions\n let locale = config.defaultLocale\n if(typeof providedOptions === 'string') {\n options.currency = providedOptions\n }\n\n if(typeof providedOptions === 'object' && providedOptions) {\n for(const k in providedOptions) {\n const key = k as keyof FormatMoneyOptions\n if(key === 'locales') {\n locale = providedOptions[key] as string\n continue\n }\n \n // TODO\n // @ts-expect-error\n options[key] = providedOptions[key]\n }\n }\n \n return new Intl.NumberFormat(locale, {\n ...options,\n style: 'currency',\n }).format(money)\n}\n \n\n/** // TODO check if there are any instances using this function, update them then remove this\n * @deprecated use formatMoney instead\n * @returns \n */\nexport const formatMoneyWithFraction = formatMoney\n\n/**\n *\n * @param money\n * @param fraction cannot be less than 1\n * @returns\n */\nexport const decimals = (money: number | string, fraction = 2) => {\n if (fraction < 1) {\n throw new Error('Fraction cannot be less than 1')\n }\n\n const m = +money\n const safe = isNaN(m) ? 0 : m\n return Math.round(safe * 10 ** fraction) / 10 ** fraction\n}\n", "// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- First init will be empty\nif (!globalThis.__globalSingletonProvider) {\n globalThis.__globalSingletonProvider = new Map();\n}\nexport var singletonMap = globalThis.__globalSingletonProvider;\nexport function singleton(name, object) {\n var force = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;\n if (singletonMap.has(name) && !force) {\n return singletonMap.get(name);\n }\n return singletonMap.set(name, object).get(name);\n}\nif (process.env.SINGLETON_DEBUG === 'true') {\n setInterval(function() {\n var _globalThis___globalSingletonProvider;\n console.log('Singletons', (_globalThis___globalSingletonProvider = globalThis.__globalSingletonProvider) === null || _globalThis___globalSingletonProvider === void 0 ? void 0 : _globalThis___globalSingletonProvider.size, globalThis.__globalSingletonProvider.keys());\n }, 1000);\n}\n", "import { singleton } from '@driveflux/singleton'\n\nexport type Config = {\n defaultFormat: {\n currency: string\n currencyDisplay: string\n maximumFractionDigits: number\n minimumFractionDigits: number\n }\n defaultLocale: string | string[]\n}\n\nconst getConfig = (): Config => ({\n defaultFormat: {\n currency: 'MYR',\n currencyDisplay: 'narrowSymbol',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n },\n defaultLocale: 'en-MY',\n})\n\nexport let config: Config = singleton('formatMoneyConfig', getConfig())\n\nexport const resetConfig = () => {\n config = singleton('formatMoneyConfig', getConfig(), true)\n\n return config\n}\n\nexport const setConfig = <Key extends keyof Config>(key: Key, value: Config[Key]) => {\n config[key] = value\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,IAAI,CAAC,WAAW,2BAA2B;AACvC,aAAW,4BAA4B,oBAAI,IAAI;AACnD;AACO,IAAI,eAAe,WAAW;AAC9B,SAAS,UAAU,MAAM,QAAQ;AACpC,MAAI,QAAQ,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAS,UAAU,CAAC,IAAI;AAC7E,MAAI,aAAa,IAAI,IAAI,KAAK,CAAC,OAAO;AAClC,WAAO,aAAa,IAAI,IAAI;AAAA,EAChC;AACA,SAAO,aAAa,IAAI,MAAM,MAAM,EAAE,IAAI,IAAI;AAClD;AACA,IAAI,QAAQ,IAAI,oBAAoB,QAAQ;AACxC,cAAY,WAAW;AACnB,QAAI;AACJ,YAAQ,IAAI,eAAe,wCAAwC,WAAW,+BAA+B,QAAQ,0CAA0C,SAAS,SAAS,sCAAsC,MAAM,WAAW,0BAA0B,KAAK,CAAC;AAAA,EAC5Q,GAAG,GAAI;AACX;;;ACLA,IAAM,YAAY,OAAe;AAAA,EAC/B,eAAe;AAAA,IACb,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,uBAAuB;AAAA,IACvB,uBAAuB;AAAA,EACzB;AAAA,EACA,eAAe;AACjB;AAEO,IAAI,SAAiB,UAAU,qBAAqB,UAAU,CAAC;;;AFV/D,SAAS,YAAY,OAAe,iBAA+C;AACxF,QAAM,UAAU,EAAE,GAAG,OAAO,cAAc;AAC1C,MAAI,SAAS,OAAO;AACpB,MAAG,OAAO,oBAAoB,UAAU;AACtC,YAAQ,WAAW;AAAA,EACrB;AAEA,MAAG,OAAO,oBAAoB,YAAY,iBAAiB;AACzD,eAAU,KAAK,iBAAiB;AAC9B,YAAM,MAAM;AACZ,UAAG,QAAQ,WAAW;AACpB,iBAAS,gBAAgB,GAAG;AAC5B;AAAA,MACF;AAIA,cAAQ,GAAG,IAAI,gBAAgB,GAAG;AAAA,IACpC;AAAA,EACF;AAEA,SAAO,IAAI,KAAK,aAAa,QAAQ;AAAA,IACnC,GAAG;AAAA,IACH,OAAO;AAAA,EACT,CAAC,EAAE,OAAO,KAAK;AACjB;AAOO,IAAM,0BAA0B;AAQhC,IAAM,WAAW,CAAC,OAAwB,WAAW,MAAM;AAChE,MAAI,WAAW,GAAG;AAChB,UAAM,IAAI,MAAM,gCAAgC;AAAA,EAClD;AAEA,QAAM,IAAI,CAAC;AACX,QAAM,OAAO,MAAM,CAAC,IAAI,IAAI;AAC5B,SAAO,KAAK,MAAM,OAAO,MAAM,QAAQ,IAAI,MAAM;AACnD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/cjs/package.json
DELETED
package/dist/config.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAYhD,MAAM,SAAS,GAAG,GAAW,EAAE,CAAC,CAAC;IAC/B,aAAa,EAAE;QACb,QAAQ,EAAE,KAAK;QACf,eAAe,EAAE,cAAc;QAC/B,qBAAqB,EAAE,CAAC;QACxB,qBAAqB,EAAE,CAAC;KACzB;IACD,aAAa,EAAE,OAAO;CACvB,CAAC,CAAA;AAEF,MAAM,CAAC,IAAI,MAAM,GAAW,SAAS,CAAC,mBAAmB,EAAE,SAAS,EAAE,CAAC,CAAA;AAEvE,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,MAAM,GAAG,SAAS,CAAC,mBAAmB,EAAE,SAAS,EAAE,EAAE,IAAI,CAAC,CAAA;IAE1D,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,CAA2B,GAAQ,EAAE,KAAkB,EAAE,EAAE;IAClF,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AACrB,CAAC,CAAA"}
|
package/dist/index.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../singleton/dist/index.js", "../src/config.ts", "../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- First init will be empty\nif (!globalThis.__globalSingletonProvider) {\n globalThis.__globalSingletonProvider = new Map();\n}\nexport var singletonMap = globalThis.__globalSingletonProvider;\nexport function singleton(name, object) {\n var force = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;\n if (singletonMap.has(name) && !force) {\n return singletonMap.get(name);\n }\n return singletonMap.set(name, object).get(name);\n}\nif (process.env.SINGLETON_DEBUG === 'true') {\n setInterval(function() {\n var _globalThis___globalSingletonProvider;\n console.log('Singletons', (_globalThis___globalSingletonProvider = globalThis.__globalSingletonProvider) === null || _globalThis___globalSingletonProvider === void 0 ? void 0 : _globalThis___globalSingletonProvider.size, globalThis.__globalSingletonProvider.keys());\n }, 1000);\n}\n", "import { singleton } from '@driveflux/singleton'\n\nexport type Config = {\n defaultFormat: {\n currency: string\n currencyDisplay: string\n maximumFractionDigits: number\n minimumFractionDigits: number\n }\n defaultLocale: string | string[]\n}\n\nconst getConfig = (): Config => ({\n defaultFormat: {\n currency: 'MYR',\n currencyDisplay: 'narrowSymbol',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n },\n defaultLocale: 'en-MY',\n})\n\nexport let config: Config = singleton('formatMoneyConfig', getConfig())\n\nexport const resetConfig = () => {\n config = singleton('formatMoneyConfig', getConfig(), true)\n\n return config\n}\n\nexport const setConfig = <Key extends keyof Config>(key: Key, value: Config[Key]) => {\n config[key] = value\n}\n", "import { config } from './config.js'\n\ntype FormatMoneyOptions = {\n locales?: string | string[]\n currencyDisplay?: 'symbol' | 'code' | 'name' | 'narrowSymbol'\n} & Omit<Intl.NumberFormatOptions, 'style' | 'currencyDisplay'>\n\n/**\n * Formats the money object into a string\n * @param money\n * @param locales\n */\nexport function formatMoney(money: number, providedOptions?: FormatMoneyOptions | string) {\n const options = { ...config.defaultFormat } as Intl.NumberFormatOptions\n let locale = config.defaultLocale\n if(typeof providedOptions === 'string') {\n options.currency = providedOptions\n }\n\n if(typeof providedOptions === 'object' && providedOptions) {\n for(const k in providedOptions) {\n const key = k as keyof FormatMoneyOptions\n if(key === 'locales') {\n locale = providedOptions[key] as string\n continue\n }\n \n // TODO\n // @ts-expect-error\n options[key] = providedOptions[key]\n }\n }\n \n return new Intl.NumberFormat(locale, {\n ...options,\n style: 'currency',\n }).format(money)\n}\n \n\n/** // TODO check if there are any instances using this function, update them then remove this\n * @deprecated use formatMoney instead\n * @returns \n */\nexport const formatMoneyWithFraction = formatMoney\n\n/**\n *\n * @param money\n * @param fraction cannot be less than 1\n * @returns\n */\nexport const decimals = (money: number | string, fraction = 2) => {\n if (fraction < 1) {\n throw new Error('Fraction cannot be less than 1')\n }\n\n const m = +money\n const safe = isNaN(m) ? 0 : m\n return Math.round(safe * 10 ** fraction) / 10 ** fraction\n}\n"],
|
|
5
|
-
"mappings": ";AACA,IAAI,CAAC,WAAW,2BAA2B;AACvC,aAAW,4BAA4B,oBAAI,IAAI;AACnD;AACO,IAAI,eAAe,WAAW;AAC9B,SAAS,UAAU,MAAM,QAAQ;AACpC,MAAI,QAAQ,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAS,UAAU,CAAC,IAAI;AAC7E,MAAI,aAAa,IAAI,IAAI,KAAK,CAAC,OAAO;AAClC,WAAO,aAAa,IAAI,IAAI;AAAA,EAChC;AACA,SAAO,aAAa,IAAI,MAAM,MAAM,EAAE,IAAI,IAAI;AAClD;AACA,IAAI,QAAQ,IAAI,oBAAoB,QAAQ;AACxC,cAAY,WAAW;AACnB,QAAI;AACJ,YAAQ,IAAI,eAAe,wCAAwC,WAAW,+BAA+B,QAAQ,0CAA0C,SAAS,SAAS,sCAAsC,MAAM,WAAW,0BAA0B,KAAK,CAAC;AAAA,EAC5Q,GAAG,GAAI;AACX;;;ACLA,IAAM,YAAY,OAAe;AAAA,EAC/B,eAAe;AAAA,IACb,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,uBAAuB;AAAA,IACvB,uBAAuB;AAAA,EACzB;AAAA,EACA,eAAe;AACjB;AAEO,IAAI,SAAiB,UAAU,qBAAqB,UAAU,CAAC;;;ACV/D,SAAS,YAAY,OAAe,iBAA+C;AACxF,QAAM,UAAU,EAAE,GAAG,OAAO,cAAc;AAC1C,MAAI,SAAS,OAAO;AACpB,MAAG,OAAO,oBAAoB,UAAU;AACtC,YAAQ,WAAW;AAAA,EACrB;AAEA,MAAG,OAAO,oBAAoB,YAAY,iBAAiB;AACzD,eAAU,KAAK,iBAAiB;AAC9B,YAAM,MAAM;AACZ,UAAG,QAAQ,WAAW;AACpB,iBAAS,gBAAgB,GAAG;AAC5B;AAAA,MACF;AAIA,cAAQ,GAAG,IAAI,gBAAgB,GAAG;AAAA,IACpC;AAAA,EACF;AAEA,SAAO,IAAI,KAAK,aAAa,QAAQ;AAAA,IACnC,GAAG;AAAA,IACH,OAAO;AAAA,EACT,CAAC,EAAE,OAAO,KAAK;AACjB;AAOO,IAAM,0BAA0B;AAQhC,IAAM,WAAW,CAAC,OAAwB,WAAW,MAAM;AAChE,MAAI,WAAW,GAAG;AAChB,UAAM,IAAI,MAAM,gCAAgC;AAAA,EAClD;AAEA,QAAM,IAAI,CAAC;AACX,QAAM,OAAO,MAAM,CAAC,IAAI,IAAI;AAC5B,SAAO,KAAK,MAAM,OAAO,MAAM,QAAQ,IAAI,MAAM;AACnD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/tsconfig.json
DELETED
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../singleton/dist/index.d.ts","./src/config.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/index.d.ts","../../node_modules/.pnpm/@types+cli-progress@3.11.5/node_modules/@types/cli-progress/index.d.ts","../../node_modules/.pnpm/@types+eslint@8.56.10/node_modules/@types/eslint/helpers.d.ts","../../node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index.d.ts","../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../node_modules/.pnpm/@types+eslint@8.56.10/node_modules/@types/eslint/index.d.ts","../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/common.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/array.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/collection.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/date.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/function.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/lang.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/math.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/number.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/object.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/seq.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/string.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/common/util.d.ts","../../node_modules/.pnpm/@types+lodash@4.17.5/node_modules/@types/lodash/index.d.ts","../../node_modules/.pnpm/@types+madge@5.0.3/node_modules/@types/madge/index.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/semver.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/parse.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/clean.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/inc.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/diff.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/major.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/minor.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/patch.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/sort.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/gt.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/lt.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/eq.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/neq.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/gte.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/lte.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/range.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/index.d.ts","../../node_modules/.pnpm/@types+yargs-parser@21.0.3/node_modules/@types/yargs-parser/index.d.ts","../../node_modules/.pnpm/@types+yargs@17.0.32/node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","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":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"15453ab30425b2d5ff2b92780e6c73d7de2a392628e3591403d0520d8d05d1c9","affectsGlobalScope":true,"impliedFormat":99},{"version":"a53a8578feb7b972f5e3007387917b300772dc1ff7e2a09e49758eba89d0de71","signature":"44a9ffd39ef0184c4c7041d689bd2b33b602009b435f96c5957bedde8829115e","impliedFormat":99},{"version":"ccfc8649067311907bf2abec43c06872b33d2482f3a833a156e3d6ee3d654743","signature":"c36ccec194802059ce74a8c20cd17be3039c49dc151ad0c490198b2aa60ff885","impliedFormat":99},{"version":"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","impliedFormat":1},{"version":"3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","impliedFormat":1},{"version":"e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","impliedFormat":1},{"version":"471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","impliedFormat":1},{"version":"c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","impliedFormat":1},{"version":"40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","impliedFormat":1},{"version":"8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","impliedFormat":1},{"version":"4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1","impliedFormat":1},{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true,"impliedFormat":1},{"version":"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36","impliedFormat":1},{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true,"impliedFormat":1},{"version":"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","impliedFormat":1},{"version":"53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6","impliedFormat":1},{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","impliedFormat":1},{"version":"3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","impliedFormat":1},{"version":"0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","impliedFormat":1},{"version":"5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","impliedFormat":1},{"version":"d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"1493cc4d72bfaabe2ac13e987d026a5fc99a816f6289bfca7192834a396205cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","impliedFormat":1},{"version":"304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","impliedFormat":1},{"version":"1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","impliedFormat":1},{"version":"98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","impliedFormat":1},{"version":"c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","impliedFormat":1},{"version":"2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b","impliedFormat":1},{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","impliedFormat":1},{"version":"a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","impliedFormat":1},{"version":"d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900","impliedFormat":1},{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true,"impliedFormat":1},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true,"impliedFormat":1},{"version":"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","impliedFormat":1},{"version":"6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","impliedFormat":1},{"version":"56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","impliedFormat":1},{"version":"139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","impliedFormat":1},{"version":"7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","impliedFormat":1},{"version":"2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927","impliedFormat":1},{"version":"071d4b4af5755e1a081aa3b785b5526d09276af5a50e4725dea26edd4e7deb31","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true,"impliedFormat":1},{"version":"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","impliedFormat":1},{"version":"9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","impliedFormat":1},{"version":"e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","impliedFormat":1},{"version":"b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0","impliedFormat":1},{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","impliedFormat":1},{"version":"4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","impliedFormat":1},{"version":"d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c","impliedFormat":1},{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"70b3cf5c5122849e757a21b3a4ec8cac43d06a133f161acf52189c38179badde","impliedFormat":1},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true,"impliedFormat":1},{"version":"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"7852500a7dc3f9cb6b73d619f6e0249119211ea662fd5e16c59ee5aba3deeb80","impliedFormat":1},{"version":"1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","impliedFormat":1},{"version":"ff81bffa4ecfceae2e86b5920c3fcb250b66b1d6ed72944dffdf58123be2481b","impliedFormat":1},{"version":"458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","impliedFormat":1},{"version":"da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","impliedFormat":1},{"version":"187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","impliedFormat":1},{"version":"aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","impliedFormat":1},{"version":"6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","impliedFormat":1},{"version":"0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","impliedFormat":1},{"version":"00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","impliedFormat":1},{"version":"3c221f8328720606c7fdc037039f4803e13b5ee5b758eee4a4ccc34fb872d824","impliedFormat":1},{"version":"3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","impliedFormat":1},{"version":"b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","impliedFormat":1},{"version":"df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","impliedFormat":1},{"version":"4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","impliedFormat":1},{"version":"2be80547185349aa69eaf3e4cc9119eafda446e478360b09973e84106fd57736","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"5d30d04a14ed8527ac5d654dc345a4db11b593334c11a65efb6e4facc5484a0e","impliedFormat":1}],"root":[64,65],"options":{"allowJs":false,"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"fileIdsList":[[115,153],[156,158],[155,156,157],[160,162,163,164,165,166,167,168,169,170,171,172],[160,161,163,164,165,166,167,168,169,170,171,172],[161,162,163,164,165,166,167,168,169,170,171,172],[160,161,162,164,165,166,167,168,169,170,171,172],[160,161,162,163,165,166,167,168,169,170,171,172],[160,161,162,163,164,166,167,168,169,170,171,172],[160,161,162,163,164,165,167,168,169,170,171,172],[160,161,162,163,164,165,166,168,169,170,171,172],[160,161,162,163,164,165,166,167,169,170,171,172],[160,161,162,163,164,165,166,167,168,170,171,172],[160,161,162,163,164,165,166,167,168,169,171,172],[160,161,162,163,164,165,166,167,168,169,170,172],[160,161,162,163,164,165,166,167,168,169,170,171],[153],[66],[102],[103,108,137],[104,109,115,116,123,134,145],[104,105,115,123],[106,146],[107,108,116,124],[108,134,142],[109,111,115,123],[102,110],[111,112],[115],[113,115],[102,115],[115,116,117,134,145],[115,116,117,130,134,137],[100,103,150],[111,115,118,123,134,145],[115,116,118,119,123,134,142,145],[118,120,134,142,145],[66,67,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[115,121],[122,145,150],[111,115,123,134],[124],[125],[102,126],[123,124,127,144,150],[128],[129],[115,130,131],[130,132,146,148],[103,115,134,135,136,137],[103,134,136],[134,135],[137],[138],[102,134],[115,140,141],[140,141],[108,123,134,142],[143],[123,144],[103,118,129,145],[108,146],[134,147],[122,148],[149],[103,108,115,117,126,134,145,148,150],[134,151],[174,213],[174,198,213],[213],[174],[174,199,213],[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212],[199,213],[214],[77,81,145],[77,134,145],[72],[74,77,142,145],[123,142],[72,153],[74,77,123,145],[69,70,73,76,103,115,134,145],[69,75],[73,77,103,137,145,153],[103,153],[93,103,153],[71,72,153],[77],[71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,99],[77,84,85],[75,77,85,86],[76],[69,72,77],[77,81,85,86],[81],[75,77,80,145],[69,74,75,77,81,84],[103,134],[72,77,93,103,150,153],[63],[64]],"referencedMap":[[154,1],[159,2],[158,3],[161,4],[162,5],[160,6],[163,7],[164,8],[165,9],[166,10],[167,11],[168,12],[169,13],[170,14],[171,15],[172,16],[173,17],[66,18],[67,18],[102,19],[103,20],[104,21],[105,22],[106,23],[107,24],[108,25],[109,26],[110,27],[111,28],[112,28],[114,29],[113,30],[115,31],[116,32],[117,33],[101,34],[118,35],[119,36],[120,37],[153,38],[121,39],[122,40],[123,41],[124,42],[125,43],[126,44],[127,45],[128,46],[129,47],[130,48],[131,48],[132,49],[134,50],[136,51],[135,52],[137,53],[138,54],[139,55],[140,56],[141,57],[142,58],[143,59],[144,60],[145,61],[146,62],[147,63],[148,64],[149,65],[150,66],[151,67],[198,68],[199,69],[174,70],[177,70],[196,68],[197,68],[187,68],[186,71],[184,68],[179,68],[192,68],[190,68],[194,68],[178,68],[191,68],[195,68],[180,68],[181,68],[193,68],[175,68],[182,68],[183,68],[185,68],[189,68],[200,72],[188,68],[176,68],[213,73],[207,72],[209,74],[208,72],[201,72],[202,72],[204,72],[206,72],[210,74],[211,74],[203,74],[205,74],[215,75],[84,76],[91,77],[83,76],[98,78],[75,79],[74,80],[97,17],[92,81],[95,82],[77,83],[76,84],[72,85],[71,86],[94,87],[73,88],[78,89],[82,89],[100,90],[99,89],[86,91],[87,92],[89,93],[85,94],[88,95],[93,17],[80,96],[81,97],[90,98],[70,99],[96,100],[64,101],[65,102]],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.5.2"}
|