@thi.ng/strings 3.3.15 → 3.3.17
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 +16 -16
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -56,9 +56,9 @@ and/or version bumps of transitive dependencies.
|
|
|
56
56
|
|
|
57
57
|
#### ♻️ Refactoring
|
|
58
58
|
|
|
59
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
60
59
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
61
60
|
- add .js suffix for all relative imports
|
|
61
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
62
62
|
|
|
63
63
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@3.0.0) (2021-10-12)
|
|
64
64
|
|
|
@@ -83,9 +83,9 @@ and/or version bumps of transitive dependencies.
|
|
|
83
83
|
|
|
84
84
|
#### ♻️ Refactoring
|
|
85
85
|
|
|
86
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
87
86
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
88
87
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
88
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
89
89
|
|
|
90
90
|
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@2.1.0) (2021-03-24)
|
|
91
91
|
|
|
@@ -111,9 +111,9 @@ and/or version bumps of transitive dependencies.
|
|
|
111
111
|
|
|
112
112
|
#### 🚀 Features
|
|
113
113
|
|
|
114
|
-
- add ANSI predicates ([928694b](https://github.com/thi-ng/umbrella/commit/928694b))
|
|
115
114
|
- update split() args ([ea503e8](https://github.com/thi-ng/umbrella/commit/ea503e8))
|
|
116
115
|
- allow string delimiters (or regexp)
|
|
116
|
+
- add ANSI predicates ([928694b](https://github.com/thi-ng/umbrella/commit/928694b))
|
|
117
117
|
|
|
118
118
|
## [1.15.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.15.0) (2021-02-20)
|
|
119
119
|
|
|
@@ -124,9 +124,9 @@ and/or version bumps of transitive dependencies.
|
|
|
124
124
|
|
|
125
125
|
#### ♻️ Refactoring
|
|
126
126
|
|
|
127
|
-
- avoid [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks) dep in vector() ([410d463](https://github.com/thi-ng/umbrella/commit/410d463))
|
|
128
127
|
- update uuid() ([7fe966a](https://github.com/thi-ng/umbrella/commit/7fe966a))
|
|
129
128
|
- re-use fn from [@thi.ng/hex](https://github.com/thi-ng/umbrella/tree/main/packages/hex)
|
|
129
|
+
- avoid [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks) dep in vector() ([410d463](https://github.com/thi-ng/umbrella/commit/410d463))
|
|
130
130
|
|
|
131
131
|
## [1.14.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.14.0) (2021-01-13)
|
|
132
132
|
|
|
@@ -136,19 +136,19 @@ and/or version bumps of transitive dependencies.
|
|
|
136
136
|
|
|
137
137
|
#### ♻️ Refactoring
|
|
138
138
|
|
|
139
|
-
- minor update computeCursorPos() ([a593d66](https://github.com/thi-ng/umbrella/commit/a593d66))
|
|
140
139
|
- minor update uuid() ([0a37562](https://github.com/thi-ng/umbrella/commit/0a37562))
|
|
140
|
+
- minor update computeCursorPos() ([a593d66](https://github.com/thi-ng/umbrella/commit/a593d66))
|
|
141
141
|
|
|
142
142
|
## [1.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.13.0) (2021-01-10)
|
|
143
143
|
|
|
144
144
|
#### 🚀 Features
|
|
145
145
|
|
|
146
|
-
- add tab conversion fns ([aefdd97](https://github.com/thi-ng/umbrella/commit/aefdd97))
|
|
147
|
-
- add wordWrap*() fns ([2a283c0](https://github.com/thi-ng/umbrella/commit/2a283c0))
|
|
148
|
-
- add stripAnsi(), lengthAnsi() fns ([86fa81a](https://github.com/thi-ng/umbrella/commit/86fa81a))
|
|
149
146
|
- update padLeft/Right() args ([118f97f](https://github.com/thi-ng/umbrella/commit/118f97f))
|
|
150
147
|
- add optional length arg to explicitly specify string length
|
|
151
148
|
(e.g. to exclude ANSI control seq chars)
|
|
149
|
+
- add stripAnsi(), lengthAnsi() fns ([86fa81a](https://github.com/thi-ng/umbrella/commit/86fa81a))
|
|
150
|
+
- add wordWrap*() fns ([2a283c0](https://github.com/thi-ng/umbrella/commit/2a283c0))
|
|
151
|
+
- add tab conversion fns ([aefdd97](https://github.com/thi-ng/umbrella/commit/aefdd97))
|
|
152
152
|
|
|
153
153
|
#### ⏱ Performance improvements
|
|
154
154
|
|
|
@@ -194,9 +194,9 @@ and/or version bumps of transitive dependencies.
|
|
|
194
194
|
|
|
195
195
|
#### 🚀 Features
|
|
196
196
|
|
|
197
|
-
- add BOM const, update pkg meta ([b6751fc](https://github.com/thi-ng/umbrella/commit/b6751fc))
|
|
198
|
-
- add escape(), update unescape(), add tests ([e0d5f1e](https://github.com/thi-ng/umbrella/commit/e0d5f1e))
|
|
199
197
|
- add unescape() ([924466b](https://github.com/thi-ng/umbrella/commit/924466b))
|
|
198
|
+
- add escape(), update unescape(), add tests ([e0d5f1e](https://github.com/thi-ng/umbrella/commit/e0d5f1e))
|
|
199
|
+
- add BOM const, update pkg meta ([b6751fc](https://github.com/thi-ng/umbrella/commit/b6751fc))
|
|
200
200
|
|
|
201
201
|
### [1.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.9.6) (2020-09-13)
|
|
202
202
|
|
|
@@ -220,14 +220,14 @@ and/or version bumps of transitive dependencies.
|
|
|
220
220
|
|
|
221
221
|
#### 🚀 Features
|
|
222
222
|
|
|
223
|
-
- add trim() HOF ([350a6c6](https://github.com/thi-ng/umbrella/commit/350a6c6))
|
|
224
|
-
- add slugifyGH(), refactor slugify() ([1ef805b](https://github.com/thi-ng/umbrella/commit/1ef805b))
|
|
225
223
|
- add join() HOF ([1c5c46f](https://github.com/thi-ng/umbrella/commit/1c5c46f))
|
|
224
|
+
- add slugifyGH(), refactor slugify() ([1ef805b](https://github.com/thi-ng/umbrella/commit/1ef805b))
|
|
225
|
+
- add trim() HOF ([350a6c6](https://github.com/thi-ng/umbrella/commit/350a6c6))
|
|
226
226
|
|
|
227
227
|
#### ♻️ Refactoring
|
|
228
228
|
|
|
229
|
-
- update bits/bytes unit defs ([f9becb1](https://github.com/thi-ng/umbrella/commit/f9becb1))
|
|
230
229
|
- add truncateRight alias ([81fb592](https://github.com/thi-ng/umbrella/commit/81fb592))
|
|
230
|
+
- update bits/bytes unit defs ([f9becb1](https://github.com/thi-ng/umbrella/commit/f9becb1))
|
|
231
231
|
|
|
232
232
|
## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.7.0) (2020-03-06)
|
|
233
233
|
|
|
@@ -255,8 +255,8 @@ and/or version bumps of transitive dependencies.
|
|
|
255
255
|
|
|
256
256
|
#### 🚀 Features
|
|
257
257
|
|
|
258
|
-
- add interpolate() ([a19e409](https://github.com/thi-ng/umbrella/commit/a19e409))
|
|
259
258
|
- add format() helpers (str, ignore) ([df87b7c](https://github.com/thi-ng/umbrella/commit/df87b7c))
|
|
259
|
+
- add interpolate() ([a19e409](https://github.com/thi-ng/umbrella/commit/a19e409))
|
|
260
260
|
|
|
261
261
|
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/strings@1.3.0) (2019-09-21)
|
|
262
262
|
|
|
@@ -335,9 +335,9 @@ and/or version bumps of transitive dependencies.
|
|
|
335
335
|
|
|
336
336
|
#### 🚀 Features
|
|
337
337
|
|
|
338
|
+
- add truncateLeft() & wrap() stringers ([1a20bc2](https://github.com/thi-ng/umbrella/commit/1a20bc2))
|
|
338
339
|
- add case converters ([653a175](https://github.com/thi-ng/umbrella/commit/653a175))
|
|
339
340
|
- camel / kebab / snake
|
|
340
|
-
- add truncateLeft() & wrap() stringers ([1a20bc2](https://github.com/thi-ng/umbrella/commit/1a20bc2))
|
|
341
341
|
|
|
342
342
|
#### 🩹 Bug fixes
|
|
343
343
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/strings",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.17",
|
|
4
4
|
"description": "Various string formatting & utility functions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/errors": "^2.2.
|
|
39
|
-
"@thi.ng/hex": "^2.
|
|
40
|
-
"@thi.ng/memoize": "^3.1.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/errors": "^2.2.4",
|
|
39
|
+
"@thi.ng/hex": "^2.3.0",
|
|
40
|
+
"@thi.ng/memoize": "^3.1.16"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.33.5",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@thi.ng/testament": "^0.3.5",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
47
|
+
"typedoc": "^0.23.20",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"node": ">=12.7"
|
|
79
79
|
},
|
|
80
80
|
"files": [
|
|
81
|
-
"
|
|
82
|
-
"
|
|
81
|
+
"./*.js",
|
|
82
|
+
"./*.d.ts"
|
|
83
83
|
],
|
|
84
84
|
"exports": {
|
|
85
85
|
".": {
|
|
@@ -200,5 +200,5 @@
|
|
|
200
200
|
"thi.ng": {
|
|
201
201
|
"year": 2015
|
|
202
202
|
},
|
|
203
|
-
"gitHead": "
|
|
203
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
204
204
|
}
|