@visulima/fmt 1.1.3 → 1.1.5
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/CHANGELOG.md +35 -0
- package/README.md +0 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +127 -122
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
## @visulima/fmt [1.1.5](https://github.com/visulima/visulima/compare/@visulima/fmt@1.1.4...@visulima/fmt@1.1.5) (2024-06-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow node v22 ([890d457](https://github.com/visulima/visulima/commit/890d4570f18428e2463944813c0c638b3f142803))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Styles
|
|
10
|
+
|
|
11
|
+
* cs fixes on some package.json files ([12fc0f7](https://github.com/visulima/visulima/commit/12fc0f74e206cef77863b0b89ec41174ca9ff0bd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Miscellaneous Chores
|
|
15
|
+
|
|
16
|
+
* changed semantic-release-npm to pnpm ([b6d100a](https://github.com/visulima/visulima/commit/b6d100a2bf3fd026577be48726a37754947f0973))
|
|
17
|
+
* **deps:** updated dev deps ([d91ac38](https://github.com/visulima/visulima/commit/d91ac389cea85a6c6bdc8de97905252a6c467abc))
|
|
18
|
+
* downgrade eslint-plugin-vitest ([0162771](https://github.com/visulima/visulima/commit/0162771e6022e4594486a796bc41e91a2d87bcd8))
|
|
19
|
+
* update dev dependencies ([09c4854](https://github.com/visulima/visulima/commit/09c4854e221fa8b808dfe66d7196d8db2a39b366))
|
|
20
|
+
* updated dev dependencies ([a2e0504](https://github.com/visulima/visulima/commit/a2e0504dc239049434c2482756ff15bdbaac9b54))
|
|
21
|
+
* updated dev dependencies ([abd319c](https://github.com/visulima/visulima/commit/abd319c23576aa1dc751ac874e806bddbc977d51))
|
|
22
|
+
* updated dev dependencies ([0767afe](https://github.com/visulima/visulima/commit/0767afe9be83da6698c1343724400171f952599e))
|
|
23
|
+
* updated dev dependencies ([d7791e3](https://github.com/visulima/visulima/commit/d7791e327917e438757636573b1e5549a97bba7b))
|
|
24
|
+
* updated dev dependencies ([6005345](https://github.com/visulima/visulima/commit/60053456717a3889fc77b4fb5b05d50a662475b2))
|
|
25
|
+
* updated dev dependencies ([87dee15](https://github.com/visulima/visulima/commit/87dee156e797b5dee2557a09ad32c935d851847c))
|
|
26
|
+
* updated dev dependencies ([bf2c635](https://github.com/visulima/visulima/commit/bf2c635859601cc97858226e70f47219eabc213e))
|
|
27
|
+
* updated dev dependencies ([f67c7f1](https://github.com/visulima/visulima/commit/f67c7f14ecc328ed91d06d01ac6514e8bce72cb4))
|
|
28
|
+
|
|
29
|
+
## @visulima/fmt [1.1.4](https://github.com/visulima/visulima/compare/@visulima/fmt@1.1.3...@visulima/fmt@1.1.4) (2024-03-27)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* added missing os key to package.json ([4ad1268](https://github.com/visulima/visulima/commit/4ad1268ed12cbdcf60aeb46d4c052ed1696bc150))
|
|
35
|
+
|
|
1
36
|
## @visulima/fmt [1.1.3](https://github.com/visulima/visulima/compare/@visulima/fmt@1.1.2...@visulima/fmt@1.1.3) (2024-03-04)
|
|
2
37
|
|
|
3
38
|
|
package/README.md
CHANGED
|
File without changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const format: (fmt: Record<string, any> | string, arguments_?: any[], options?: Options) => string;
|
|
2
|
-
declare const build: (options?: Options) => (f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string;
|
|
2
|
+
declare const build: (options?: Options) => ((f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string);
|
|
3
3
|
type FormatterFunction = (argument: any) => string;
|
|
4
4
|
type FormatterMap = Record<number, FormatterFunction>;
|
|
5
5
|
interface Options {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const format: (fmt: Record<string, any> | string, arguments_?: any[], options?: Options) => string;
|
|
2
|
-
declare const build: (options?: Options) => (f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string;
|
|
2
|
+
declare const build: (options?: Options) => ((f: NonNullable<Record<string, any> | string>, arguments_?: any[], formatOptions?: Omit<Options, "formatters">) => string);
|
|
3
3
|
type FormatterFunction = (argument: any) => string;
|
|
4
4
|
type FormatterMap = Record<number, FormatterFunction>;
|
|
5
5
|
interface Options {
|
package/package.json
CHANGED
|
@@ -1,126 +1,131 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
"name": "@visulima/fmt",
|
|
3
|
+
"version": "1.1.5",
|
|
4
|
+
"description": "Util.format-like string formatting utility.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"anolilab",
|
|
7
|
+
"fmt",
|
|
8
|
+
"format",
|
|
9
|
+
"formatter",
|
|
10
|
+
"formatting",
|
|
11
|
+
"quick-format-unescaped",
|
|
12
|
+
"str",
|
|
13
|
+
"string",
|
|
14
|
+
"string-format",
|
|
15
|
+
"util",
|
|
16
|
+
"util.format",
|
|
17
|
+
"visulima"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://www.visulima.com/docs/package/fmt",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/visulima/visulima.git",
|
|
23
|
+
"directory": "packages/fmt"
|
|
24
|
+
},
|
|
25
|
+
"funding": [
|
|
26
|
+
{
|
|
27
|
+
"type": "github",
|
|
28
|
+
"url": "https://github.com/sponsors/prisis"
|
|
24
29
|
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
"import": {
|
|
48
|
-
"types": "./dist/index.d.mts",
|
|
49
|
-
"default": "./dist/index.mjs"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"./package.json": "./package.json"
|
|
53
|
-
},
|
|
54
|
-
"main": "dist/index.js",
|
|
55
|
-
"module": "dist/index.mjs",
|
|
56
|
-
"source": "src/index.ts",
|
|
57
|
-
"types": "dist/index.d.ts",
|
|
58
|
-
"files": [
|
|
59
|
-
"dist/**",
|
|
60
|
-
"README.md",
|
|
61
|
-
"CHANGELOG.md",
|
|
62
|
-
"LICENSE.md"
|
|
63
|
-
],
|
|
64
|
-
"scripts": {
|
|
65
|
-
"build": "cross-env NODE_ENV=development tsup",
|
|
66
|
-
"build:prod": "cross-env NODE_ENV=production tsup",
|
|
67
|
-
"clean": "rimraf node_modules dist .eslintcache",
|
|
68
|
-
"dev": "pnpm run build --watch",
|
|
69
|
-
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js",
|
|
70
|
-
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js --fix",
|
|
71
|
-
"lint:packagejson": "publint --strict",
|
|
72
|
-
"lint:prettier": "prettier --config=.prettierrc.js --check .",
|
|
73
|
-
"lint:prettier:fix": "prettier --config=.prettierrc.js --write .",
|
|
74
|
-
"lint:types": "tsc --noEmit",
|
|
75
|
-
"test": "vitest run",
|
|
76
|
-
"test:bench": "vitest bench",
|
|
77
|
-
"test:coverage": "vitest run --coverage",
|
|
78
|
-
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
79
|
-
"test:watch": "vitest"
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"@anolilab/eslint-config": "^15.0.3",
|
|
83
|
-
"@anolilab/prettier-config": "^5.0.14",
|
|
84
|
-
"@anolilab/semantic-release-preset": "^8.0.3",
|
|
85
|
-
"@babel/core": "^7.24.0",
|
|
86
|
-
"@rushstack/eslint-plugin-security": "^0.8.1",
|
|
87
|
-
"@types/node": "18.18.14",
|
|
88
|
-
"@vitest/coverage-v8": "^1.3.1",
|
|
89
|
-
"@vitest/ui": "^1.3.1",
|
|
90
|
-
"cross-env": "^7.0.3",
|
|
91
|
-
"eslint": "^8.57.0",
|
|
92
|
-
"eslint-plugin-deprecation": "^2.0.0",
|
|
93
|
-
"eslint-plugin-etc": "^2.0.3",
|
|
94
|
-
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
95
|
-
"eslint-plugin-mdx": "^3.1.5",
|
|
96
|
-
"eslint-plugin-vitest": "^0.3.22",
|
|
97
|
-
"eslint-plugin-vitest-globals": "^1.4.0",
|
|
98
|
-
"prettier": "^3.2.5",
|
|
99
|
-
"quick-format-unescaped": "^4.0.4",
|
|
100
|
-
"rimraf": "^5.0.5",
|
|
101
|
-
"semantic-release": "^23.0.2",
|
|
102
|
-
"sort-package-json": "^2.8.0",
|
|
103
|
-
"tsup": "^8.0.2",
|
|
104
|
-
"typescript": "^5.3.3",
|
|
105
|
-
"vitest": "^1.3.1"
|
|
106
|
-
},
|
|
107
|
-
"engines": {
|
|
108
|
-
"node": ">=18.* <=21.*"
|
|
109
|
-
},
|
|
110
|
-
"publishConfig": {
|
|
111
|
-
"access": "public",
|
|
112
|
-
"provenance": true
|
|
30
|
+
{
|
|
31
|
+
"type": "consulting",
|
|
32
|
+
"url": "https://anolilab.com/support"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"author": {
|
|
37
|
+
"name": "Daniel Bannert",
|
|
38
|
+
"email": "d.bannert@anolilab.de"
|
|
39
|
+
},
|
|
40
|
+
"sideEffects": false,
|
|
41
|
+
"exports": {
|
|
42
|
+
".": {
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"default": "./dist/index.js"
|
|
46
|
+
},
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./dist/index.d.mts",
|
|
49
|
+
"default": "./dist/index.mjs"
|
|
50
|
+
}
|
|
113
51
|
},
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
52
|
+
"./package.json": "./package.json"
|
|
53
|
+
},
|
|
54
|
+
"main": "dist/index.js",
|
|
55
|
+
"module": "dist/index.mjs",
|
|
56
|
+
"source": "src/index.ts",
|
|
57
|
+
"types": "dist/index.d.ts",
|
|
58
|
+
"files": [
|
|
59
|
+
"dist/**",
|
|
60
|
+
"README.md",
|
|
61
|
+
"CHANGELOG.md",
|
|
62
|
+
"LICENSE.md"
|
|
63
|
+
],
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@anolilab/eslint-config": "^15.0.3",
|
|
66
|
+
"@anolilab/prettier-config": "^5.0.14",
|
|
67
|
+
"@anolilab/semantic-release-pnpm": "^1.1.0",
|
|
68
|
+
"@anolilab/semantic-release-preset": "^8.1.0",
|
|
69
|
+
"@babel/core": "^7.24.6",
|
|
70
|
+
"@rushstack/eslint-plugin-security": "^0.8.1",
|
|
71
|
+
"@types/node": "18.18.14",
|
|
72
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
73
|
+
"@vitest/ui": "^1.6.0",
|
|
74
|
+
"cross-env": "^7.0.3",
|
|
75
|
+
"eslint": "^8.57.0",
|
|
76
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
|
77
|
+
"eslint-plugin-etc": "^2.0.3",
|
|
78
|
+
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
79
|
+
"eslint-plugin-mdx": "^3.1.5",
|
|
80
|
+
"eslint-plugin-vitest": "^0.4.1",
|
|
81
|
+
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
82
|
+
"prettier": "^3.3.0",
|
|
83
|
+
"quick-format-unescaped": "^4.0.4",
|
|
84
|
+
"rimraf": "^5.0.7",
|
|
85
|
+
"semantic-release": "23.1.1",
|
|
86
|
+
"tsup": "^8.1.0",
|
|
87
|
+
"typescript": "^5.4.5",
|
|
88
|
+
"vitest": "^1.6.0"
|
|
89
|
+
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": ">=18.* <=22.*"
|
|
92
|
+
},
|
|
93
|
+
"os": [
|
|
94
|
+
"darwin",
|
|
95
|
+
"linux",
|
|
96
|
+
"win32"
|
|
97
|
+
],
|
|
98
|
+
"publishConfig": {
|
|
99
|
+
"access": "public",
|
|
100
|
+
"provenance": true
|
|
101
|
+
},
|
|
102
|
+
"anolilab": {
|
|
103
|
+
"eslint-config": {
|
|
104
|
+
"plugin": {
|
|
105
|
+
"tsdoc": false
|
|
106
|
+
},
|
|
107
|
+
"warn_on_unsupported_typescript_version": false,
|
|
108
|
+
"info_on_disabling_jsx_react_rule": false,
|
|
109
|
+
"info_on_disabling_prettier_conflict_rule": false,
|
|
110
|
+
"info_on_disabling_jsonc_sort_keys_rule": false,
|
|
111
|
+
"info_on_disabling_etc_no_deprecated": false
|
|
125
112
|
}
|
|
126
|
-
}
|
|
113
|
+
},
|
|
114
|
+
"scripts": {
|
|
115
|
+
"build": "cross-env NODE_ENV=development tsup",
|
|
116
|
+
"build:prod": "cross-env NODE_ENV=production tsup",
|
|
117
|
+
"clean": "rimraf node_modules dist .eslintcache",
|
|
118
|
+
"dev": "pnpm run build --watch",
|
|
119
|
+
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js",
|
|
120
|
+
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js --fix",
|
|
121
|
+
"lint:package-json": "publint --strict",
|
|
122
|
+
"lint:prettier": "prettier --config=.prettierrc.js --check .",
|
|
123
|
+
"lint:prettier:fix": "prettier --config=.prettierrc.js --write .",
|
|
124
|
+
"lint:types": "tsc --noEmit",
|
|
125
|
+
"test": "vitest run",
|
|
126
|
+
"test:bench": "vitest bench",
|
|
127
|
+
"test:coverage": "vitest run --coverage",
|
|
128
|
+
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
129
|
+
"test:watch": "vitest"
|
|
130
|
+
}
|
|
131
|
+
}
|