@elench/testkit 0.1.131 → 0.1.132
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/node_modules/@elench/next-analysis/package.json +1 -1
- package/node_modules/@elench/testkit-bridge/package.json +2 -2
- package/node_modules/@elench/testkit-protocol/package.json +1 -1
- package/node_modules/@elench/ts-analysis/package.json +1 -1
- package/node_modules/es-toolkit/CHANGELOG.md +801 -0
- package/node_modules/es-toolkit/src/compat/_internal/Equals.d.ts +1 -0
- package/node_modules/es-toolkit/src/compat/_internal/IsWritable.d.ts +3 -0
- package/node_modules/es-toolkit/src/compat/_internal/MutableList.d.ts +4 -0
- package/node_modules/es-toolkit/src/compat/_internal/RejectReadonly.d.ts +4 -0
- package/node_modules/esprima/ChangeLog +235 -0
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit-bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.132",
|
|
4
4
|
"description": "Browser bridge helpers for testkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@elench/testkit-protocol": "0.1.
|
|
25
|
+
"@elench/testkit-protocol": "0.1.132"
|
|
26
26
|
},
|
|
27
27
|
"private": false
|
|
28
28
|
}
|
|
@@ -0,0 +1,801 @@
|
|
|
1
|
+
# es-toolkit Changelog
|
|
2
|
+
|
|
3
|
+
## Version v1.46.0
|
|
4
|
+
|
|
5
|
+
Released on April 22th, 2026.
|
|
6
|
+
|
|
7
|
+
- Changed `AbortError` and `TimeoutError` to extend `DOMException`. ([#1660])
|
|
8
|
+
- Added `keyBy` to the `map` entrypoint exports. ([#1650])
|
|
9
|
+
- Added Claude Code plugin marketplace and es-toolkit usage skills. ([#1644])
|
|
10
|
+
- Fixed `isBuffer` to add a browser export condition to avoid a 44KB Buffer polyfill. ([#1671])
|
|
11
|
+
- Fixed `toCamelCaseKeys` and `toSnakeCaseKeys` to be exported from `compat` for the browser bundle. ([#1685])
|
|
12
|
+
- Fixed `partial` by adding missing full-application overloads for 2/3/4 arguments. ([#1684])
|
|
13
|
+
- Added Agent Skills and Claude Code Plugin guide to the AI Integration page. ([#1664])
|
|
14
|
+
|
|
15
|
+
We sincerely thank @raon0211, @jantimon, @jaydeep-pipaliya, @ethanresnick, @zaewc, @minsoo-web, @wondonghwi, @xxxxxxjun, @jiji-hoon96, @james-rae, @Gamez0, and @dayongkr for their contributions. We appreciate your great efforts!
|
|
16
|
+
|
|
17
|
+
## Version v1.45.1
|
|
18
|
+
|
|
19
|
+
Released on March 4th, 2026.
|
|
20
|
+
|
|
21
|
+
- Reverted the return type of `sample` to not include `undefined`.
|
|
22
|
+
- Fixed Deno install command to include `jsr:` prefix. ([#1627])
|
|
23
|
+
|
|
24
|
+
We sincerely thank @mwln for their contributions. We appreciate your great efforts!
|
|
25
|
+
|
|
26
|
+
## Version v1.45.0
|
|
27
|
+
|
|
28
|
+
Released on March 2nd, 2026.
|
|
29
|
+
|
|
30
|
+
- Fixed `findIndex` to add missing default parameter for `doesMatch`. ([#1373])
|
|
31
|
+
- Fixed `sample` to include `undefined` in return union type. ([#1302])
|
|
32
|
+
- Fixed `cloneDeep` to support cloning `Error` objects.
|
|
33
|
+
- Fixed `retry` to correctly match retry count with the `retries` option.
|
|
34
|
+
- Fixed missing `Map` and `Set` in check-dist entrypoints.
|
|
35
|
+
- Fixed missing packages in `publishConfig`. ([#1597])
|
|
36
|
+
- Reverted the overload for runtime-determined key arrays in `omit`. ([#1595])
|
|
37
|
+
- Added AI Integration page with `llms.txt` documentation to docs.
|
|
38
|
+
|
|
39
|
+
We sincerely thank @D-Sketon, @dayongkr, @matthiasfeist, @raon0211, and @screendriver for their contributions. We appreciate your great efforts!
|
|
40
|
+
|
|
41
|
+
## Version v1.44.0
|
|
42
|
+
|
|
43
|
+
Released on January 16th, 2026.
|
|
44
|
+
|
|
45
|
+
- Added `shouldRetry` option to `retry` function. ([#1585])
|
|
46
|
+
- Added `isEmptyObject` predicate function. ([#1584])
|
|
47
|
+
- Added `isNumber` predicate function.
|
|
48
|
+
- Enhanced error cloning to support `AggregateError`. ([#1563])
|
|
49
|
+
- Implemented collection methods for Maps and Sets.
|
|
50
|
+
- Added bundle size analysis and visualization components to docs. ([#1564])
|
|
51
|
+
- Fixed `flattenObject` to retain empty objects and arrays.
|
|
52
|
+
- Enhanced type safety for `clone` function.
|
|
53
|
+
- Fixed `clone` error when cloning object with null prototype. ([#1570])
|
|
54
|
+
- Fixed array function callbacks to include index and array parameters. ([#1561])
|
|
55
|
+
- Fixed `compat/cloneDeep` and `cloneDeepWith` to clone null-prototype objects as regular objects. ([#1562])
|
|
56
|
+
- Fixed `compat/clamp` to ensure consistency with lodash. ([#1555])
|
|
57
|
+
- Simplified `intersection` filter callback for consistency. ([#1582])
|
|
58
|
+
- Fixed incorrect function names and output in `cloneDeep` JSDoc examples. ([#1583])
|
|
59
|
+
|
|
60
|
+
We sincerely thank @raon0211, @dayongkr, @eunwoo-levi, @matt-oakes, @T3sT3ro, and @D-Sketon for their contributions. We appreciate your great efforts!
|
|
61
|
+
|
|
62
|
+
## Version v1.43.0
|
|
63
|
+
|
|
64
|
+
Released on December 12th, 2025.
|
|
65
|
+
|
|
66
|
+
- Enhanced `merge` to handle arrays and objects consistently, and to match lodash's behavior with date values and array-like objects. ([#1553], [#1542], [#1548])
|
|
67
|
+
- Fixed `isMatch` and `isMatchWith` to match lodash's behavior.
|
|
68
|
+
- Fixed `intersectionBy` implementation and removed duplicates when the mapper produces the same values. ([#1528])
|
|
69
|
+
- Fixed `throttle` working like debounce.
|
|
70
|
+
- Fixed type inference in `toSnakeCaseKeys`, `toCamelCaseKeys` for edge cases and improved type inference for uppercase keys. ([#1538])
|
|
71
|
+
- Fixed casing utilities (`camelCase`, `kebabCase`, `lowerCase`, `snakeCase`, `startCase`, `upperCase`) to match lodash's behavior. ([#1525])
|
|
72
|
+
- Fixed `compat/template` to disable ES interpolation when custom `interpolate` is provided. ([#1527])
|
|
73
|
+
- Fixed incorrect example in `differenceBy` documentation. ([#1543])
|
|
74
|
+
- Performance improvement: updated `deburr` to use arrays to construct the deburrMap. ([#1526])
|
|
75
|
+
|
|
76
|
+
We sincerely thank @dayongkr, @raon0211, @wo-o29, @Yeom-JinHo, @Copilot, @oshosh, @vbfox, @sukvvon, @sankeyangshu, @D-Sketon, @seo-rii for their contributions. We appreciate your great efforts!
|
|
77
|
+
|
|
78
|
+
## Version v1.42.0
|
|
79
|
+
|
|
80
|
+
Released on November 17th, 2025.
|
|
81
|
+
|
|
82
|
+
- Added new async utilities: `filterAsync`, `flatMapAsync`, `forEachAsync`, `mapAsync`, `reduceAsync`, and `limitAsync` for handling asynchronous operations.
|
|
83
|
+
- Exported `ThrottleOptions` and `DebounceOptions` interfaces for better type support.
|
|
84
|
+
- Fixed `isFinite` to implement type predicate to narrow type to number.
|
|
85
|
+
- Fixed `isSafeInteger` to implement type predicate to narrow type to number.
|
|
86
|
+
- Fixed `omit` to prevent adding index properties to array-like objects.
|
|
87
|
+
- Fixed `mergeWith` to remove unnecessary nullish coalescing for 100% branch coverage.
|
|
88
|
+
- Fixed `compat/updateWith` to remove unreachable code and add prototype pollution test.
|
|
89
|
+
- Updated documentation headings for consistency.
|
|
90
|
+
- Improved test coverage for `compat/mergeWith`, `compat/unset`, `get`, `toMerged`, `mergeWith`, and `compat/intersectionBy` with additional edge cases and security tests.
|
|
91
|
+
|
|
92
|
+
We sincerely thank @Debbl, @wo-o29, @raon0211, @Yeom-JinHo, @sukvvon, and @D-Sketon for their contributions. We appreciate your great efforts!
|
|
93
|
+
|
|
94
|
+
## Version v1.41.0
|
|
95
|
+
|
|
96
|
+
Released on October 24th, 2025.
|
|
97
|
+
|
|
98
|
+
- Enhanced `throttle` to preserve `this` context when called as a method.
|
|
99
|
+
- Added type guard support for `partition` function.
|
|
100
|
+
- Fixed `omit` to support runtime-determined key arrays with proper overloads.
|
|
101
|
+
- Fixed `defaults` in compatibility layer to properly handle undefined and null sources.
|
|
102
|
+
- Fixed `toSnakeCaseKeys` and `toCamelCaseKeys` to correctly return types for non-plain objects.
|
|
103
|
+
- Fixed `toMerged` and `mergeWith` to properly handle shared objects in merge logic.
|
|
104
|
+
- Fixed `compat/union` to support array-like objects.
|
|
105
|
+
- Fixed `compat/updateWith` to use `get` for value retrieval in updater function.
|
|
106
|
+
- Fixed circular import between `isMatch` and `isMatchWith`.
|
|
107
|
+
- Fixed `find` and `findLast` by simplifying logic and removing unnecessary checks.
|
|
108
|
+
- Fixed `takeRight` by improving test coverage and removing redundant checks.
|
|
109
|
+
- Fixed `curry` and `curryRight` by removing unnecessary type assertions.
|
|
110
|
+
- Fixed `isEqualWith` and `mapKeys` by removing unnecessary type assertions.
|
|
111
|
+
- Improved performance for `meanBy` by removing intermediate array creation.
|
|
112
|
+
- Updated build system to use UMD format instead of IIFE for browser builds.
|
|
113
|
+
- Fixed numerous documentation examples across compat modules.
|
|
114
|
+
- Improved test coverage with additional test cases for edge cases and compatibility.
|
|
115
|
+
|
|
116
|
+
We sincerely thank @the5thbeatle, @wo-o29, @hwibaski, @manudeli, @raon0211, @dayongkr, @D-Sketon, @yoouungyoung, @Dohun-choi, @sukvvon, @zoulou00, and @sen2y for their contributions. We appreciate your great efforts!
|
|
117
|
+
|
|
118
|
+
## Version v1.40.0
|
|
119
|
+
|
|
120
|
+
Released on October 8th, 2025.
|
|
121
|
+
|
|
122
|
+
- Enhanced `sumBy` to pass the element index to the `getValue` callback function.
|
|
123
|
+
- Improved performance for `uniq` function.
|
|
124
|
+
- Fixed `cloneDeepWith` to handle runtime errors in environments without Blob support and correctly clone Boolean, Number, and String objects.
|
|
125
|
+
- Fixed `omit` to avoid unnecessary deep cloning, improving performance.
|
|
126
|
+
- Fixed `toCamelCaseKeys` to properly handle PascalCase type conversion.
|
|
127
|
+
- Fixed `toPath` to correctly handle arrays and non-string inputs.
|
|
128
|
+
- Fixed `repeat` to validate and handle invalid repeat counts.
|
|
129
|
+
- Fixed `sortedIndexBy` to properly handle default iteratee.
|
|
130
|
+
- Fixed `some` predicate check to correctly handle null and undefined cases.
|
|
131
|
+
- Fixed compatibility issue in `compat/unset` with nonexistent paths.
|
|
132
|
+
- Fixed several JSDoc issues across multiple functions including return types, parameter descriptions, and method names.
|
|
133
|
+
- Improved documentation clarity and consistency across multiple functions.
|
|
134
|
+
- Enhanced test coverage with additional test cases for compat functions and edge cases.
|
|
135
|
+
- Updated build configuration and CI workflows.
|
|
136
|
+
|
|
137
|
+
We sincerely thank @wo-o29, @D-Sketon, @HidenLee, @yoouung, @manudeli, @dayongkr, @Li13, @nicklemmon, @sen2y, @miinhho, @raon0211, @joshkel, @jgjgill, @mlnwns, @Dohun-choi, @PinkChampagne17, @sukvvon, @YOUNGHO8762, @caseBread, @Jeongeun-Choi, @artechventure and hoyyChoi for their contributions. We appreciate your great efforts!
|
|
138
|
+
|
|
139
|
+
## Version v1.39.10
|
|
140
|
+
|
|
141
|
+
Released on August 17th, 2025.
|
|
142
|
+
|
|
143
|
+
- Fixed `defaultsDeep` to properly handle deep merging of objects in arrays
|
|
144
|
+
- Fixed several documentation issues and examples across multiple functions
|
|
145
|
+
|
|
146
|
+
We sincerely thank @wo-o29, @thwlckd, @kilimandzharov, and @dayongkr for their contributions. We appreciate your great efforts!
|
|
147
|
+
|
|
148
|
+
## Version v1.39.9
|
|
149
|
+
|
|
150
|
+
Released on August 10th, 2025.
|
|
151
|
+
|
|
152
|
+
- Fixed `mergeWith` to properly handle null values returned from customizer function.
|
|
153
|
+
- Fixed `cloneDeepWith` to properly handle customizer returning null values.
|
|
154
|
+
- Fixed some of the documentation issues.
|
|
155
|
+
|
|
156
|
+
We sincerely thank @raon0211, @joshkel, and @Najeong-Kim for their contributions. We appreciate your great efforts!
|
|
157
|
+
|
|
158
|
+
## Version v1.39.8
|
|
159
|
+
|
|
160
|
+
Released on July 25th, 2025.
|
|
161
|
+
|
|
162
|
+
- Aligned the types of `fill`, `pullAll`, `pullAllBy`, `pullAllWith`, `pullAt`, `remove`, and `reverse` in our compatibility library with the latest Lodash types (`@types/lodash` v4.17.20).
|
|
163
|
+
|
|
164
|
+
## Version v1.39.7
|
|
165
|
+
|
|
166
|
+
Released on July 9th, 2025.
|
|
167
|
+
|
|
168
|
+
- Fixed a compatibility issue with Lodash's `debounce` and `throttle` functions.
|
|
169
|
+
- Remove useless source map for reduce bundle size.
|
|
170
|
+
- Fix some of the documentation issues.
|
|
171
|
+
|
|
172
|
+
We sincerely thank @dayongkr, @cobocho, @raon0211, and @D-Sketon for their contributions. We appreciate your great efforts!
|
|
173
|
+
|
|
174
|
+
## Version v1.39.6
|
|
175
|
+
|
|
176
|
+
Released on July 2th, 2025.
|
|
177
|
+
|
|
178
|
+
- Fixed handling of null/undefined values in `values` function.
|
|
179
|
+
- Fixed type safety in `compat/get` by adding GetFieldType utility type.
|
|
180
|
+
|
|
181
|
+
We sincerely thank @raon0211, @dayongkr, @yhb-flydream, @ssi02014, @JeongHwan-dev, and @guesung for their contributions. We appreciate your great efforts!
|
|
182
|
+
|
|
183
|
+
## Version v1.39.5
|
|
184
|
+
|
|
185
|
+
Released on June 24th, 2025.
|
|
186
|
+
|
|
187
|
+
- Fixed type compatibility issues between `es-toolkit/compat` and `@types/lodash`.
|
|
188
|
+
- Improved documentation.
|
|
189
|
+
|
|
190
|
+
We thank @raon0211, @dayongkr, @sukvvon, and @yhb-flydream for their contributions.
|
|
191
|
+
|
|
192
|
+
## Version v1.39.4
|
|
193
|
+
|
|
194
|
+
Released on June 21st, 2025.
|
|
195
|
+
|
|
196
|
+
- Fixed prototype pollution issue in es-toolkit to enhance security.
|
|
197
|
+
- Enhanced build system to provide compat/\* functions in CommonJS format by default.
|
|
198
|
+
|
|
199
|
+
We thank @raon0211, and @dayongkr for their contributions.
|
|
200
|
+
|
|
201
|
+
## Version v1.39.3
|
|
202
|
+
|
|
203
|
+
Released on June 7th, 2025.
|
|
204
|
+
|
|
205
|
+
- Fixed postbuild script to ensure compat function categorization aligns with src directory structure.
|
|
206
|
+
|
|
207
|
+
## Version v1.39.2
|
|
208
|
+
|
|
209
|
+
Released on June 7th, 2025.
|
|
210
|
+
|
|
211
|
+
- Added dual package export support for individual compat functions (e.g., `es-toolkit/compat/add`).
|
|
212
|
+
|
|
213
|
+
## Version v1.39.1
|
|
214
|
+
|
|
215
|
+
Released on June 6th, 2025.
|
|
216
|
+
|
|
217
|
+
- Resolved mismatch between named and default exports in compat .d.ts and .js files to improve TypeScript integration.
|
|
218
|
+
|
|
219
|
+
## Version v1.39.0
|
|
220
|
+
|
|
221
|
+
🎉 Released on June 5th, 2025. 🎉
|
|
222
|
+
|
|
223
|
+
We're thrilled to announce that `es-toolkit/compat` has achieved full compatibility with Lodash! 🎉
|
|
224
|
+
|
|
225
|
+
A huge thank you to all our contributors who made this possible.
|
|
226
|
+
|
|
227
|
+
- Introduced compatibility functions for [defaultsDeep](https://es-toolkit.slash.page/reference/compat/object/defaultsDeep.html), [isMatchWith](https://es-toolkit.slash.page/reference/compat/predicate/isMatchWith.html), [flatMapDepth](https://es-toolkit.slash.page/reference/compat/array/flatMapDepth.html), [flatMapDeep](https://es-toolkit.slash.page/reference/compat/array/flatMapDeep.html), [overArgs](https://es-toolkit.slash.page/reference/compat/function/overArgs.html), [findLastKey](https://es-toolkit.slash.page/reference/compat/object/findLastKey.html) and [truncate](https://es-toolkit.slash.page/reference/compat/string/truncate.html).
|
|
228
|
+
- Enhanced build system to support `es-toolkit/compat/*` module imports.
|
|
229
|
+
- Fixed special functions like `each` to ensure proper functionality.
|
|
230
|
+
- Fixed Deno compatibility issues for `defaultsDeep` function.
|
|
231
|
+
- Fixed import paths in Deno environment.
|
|
232
|
+
- Added benchmark comparing es-toolkit and lodash `identity` function performance.
|
|
233
|
+
- Improved documentation and test coverage for various functions.
|
|
234
|
+
|
|
235
|
+
We sincerely thank @raon0211, @dayongkr, @mreiden, @hwibaski, @shren207, @jiji-hoon96, and @myungjuice for their contributions. We appreciate your great efforts!
|
|
236
|
+
|
|
237
|
+
### ⭐️ Special Thanks to Our Amazing Contributors Who Made 100% Compatibility Possible ⭐️
|
|
238
|
+
|
|
239
|
+
@raon0211, @dayongkr, @D-Sketon, @mass2527, @ssi02014, @shren207, @chhw130, @haejunejung, @jsparkdev, @manudeli, @jgjgill, @hyesungoh, @kaehehehe, @filipsobol, @fvsch, @wondonghwi, @seungrodotlee, @bertyhell, @minchodang, @Jeong-Rae, @kangju2000, @juno7803, @wojtekmaj, @mattiacoll, @changwoolab, @po4tion, @gyumong, @choi2021, @mancuoj, @de-novo, @eunhyulkim, @kim-sung-jee, @gs18004, @Hanna922, @Na-hyunwoo, @aken-you, @tanggd, @ho991217, @piquark6046, @jiji-hoon96, @seonghun0828, @pkovzz, @nnnnoel, @noelkim-prestolabs, @minsoo-web, @hautest, @scato3, @l2hyunwoo, @WooWan, @VVSOGI, @k-jeonghee, @knott11, @lukaszkowalik2, @moonheekim0118, @sadobass, @minjongbaek, @umsungjun, @sossost, @sunrabbit123, @Seung-wan, @cruelladevil, @iDevGon, @oror-sine, @1eeminhyeong, @benzyminzy, @BlackWhite2000, @tooooo1, @L2HYUNN, @DonghyunKim98, @dasom-jo, @guesung, @uniqueeest, @KiKoS0, @myungjuice, @seung-juv, @Collection50, @nowethan, @coding-honey, @ariandel-dev, @apeltop, @jch1223, @yhay81, @milooy, @raviqqe, @youznn, @BinskLee, @YEONDG, @shinwonse, @willmanduffy, @vjo, @touhidrahman, @T3sT3ro, @belgattitude, @WISUNGWON, @anaclumos, @hsskey, @BasixKOR, @Kyujenius, @Dohun-choi, @dngur9801, @sanginchun, @westofsky, @DONG-8, @yhmpc, @pbstar, @MoXiaoluo, @uussong, @tuhm1, @tisou1, @spookyuser, @sa02045, @Hotanya, @nia3y, @mreiden, @kms0219kms, @IkumaTadokoro, @hansolbangul, @hainan-612, @hwibaski, @jeongshin, @HoberMin, @ohprettyhak, @gweesin, @FengBuPi, @kyvg, @evan-moon, @chldmsqls34, @kimpuro, @dogagenc, @Duck-98, @redd97, @faner11, @bhollis, @jaehunn, @babay123, @beomxtone, @ankitjha420, @shan-mx, @2skydev, @StyleShit, @confidential-nt, @siddsarkar, @seongminn, @healtheloper, @pnodet, @Gaic4o, @leeminhee119, @leehj322, @kristian240, @kingston, @kim-dongho, @jungwoo3490, @joris-gallot, @jonganebski, @jiwooproity, @moshuying, @jakvbs, @therealjamesjung, @SaeWooKKang and @HyeokjaeLee
|
|
240
|
+
|
|
241
|
+
## Version v1.38.0
|
|
242
|
+
|
|
243
|
+
Released on May 18th, 2025.
|
|
244
|
+
|
|
245
|
+
- Added compatibility functions for [bindAll](https://es-toolkit.slash.page/reference/compat/util/bindAll.html), [setWith](https://es-toolkit.slash.page/reference/compat/object/setWith.html), [memoize](https://es-toolkit.slash.page/reference/function/memoize.html), [isNative](https://es-toolkit.slash.page/reference/compat/predicate/isNative.html), [invokeMap](https://es-toolkit.slash.page/reference/compat/array/invokeMap.html), [clone](https://es-toolkit.slash.page/reference/object/clone.html), [cloneWith](https://es-toolkit.slash.page/reference/compat/object/cloneWith.html), and [sortedLastIndexOf](https://es-toolkit.slash.page/reference/compat/array/sortedLastIndexOf.html).
|
|
246
|
+
- Enhanced [invariant](https://es-toolkit.slash.page/reference/util/invariant.html) function to accept Error instances and added [assert](https://es-toolkit.slash.page/reference/util/assert.html) alias.
|
|
247
|
+
- Fixed type definitions and empty array handling in [maxBy](https://es-toolkit.slash.page/reference/array/maxBy.html) and [minBy](https://es-toolkit.slash.page/reference/array/minBy.html).
|
|
248
|
+
- Fixed typo 'Partail' to 'Partial' in [findKey](https://es-toolkit.slash.page/reference/object/findKey.html) type annotation.
|
|
249
|
+
- Enhanced [max](https://es-toolkit.slash.page/reference/math/max.html) and [min](https://es-toolkit.slash.page/reference/math/min.html) functions to skip NaN, symbol, and null values, and return undefined when all values are skipped.
|
|
250
|
+
- Fixed sparse array handling in compat functions to match Lodash's behavior.
|
|
251
|
+
- Improved test coverage and documentation for various functions.
|
|
252
|
+
- Fixed various documentation issues and typos.
|
|
253
|
+
|
|
254
|
+
We sincerely thank @myungjuice, @scato3, @uniqueeest, @YEONDG, @shren207, @hyesungoh, @kms0219kms, @minjongbaek, @kristian240, @D-Sketon, @Seung-wan, @jiji-hoon96, @raon0211, and @dayongkr for their contributions. We appreciate your great efforts!
|
|
255
|
+
|
|
256
|
+
## Version v1.37.2
|
|
257
|
+
|
|
258
|
+
Released on May 4th, 2025.
|
|
259
|
+
|
|
260
|
+
- Fixed an issue in `es-toolkit/compat`'s `throttle` function to match Lodash's behavior by immediately invoking the throttled function when wait time is zero.
|
|
261
|
+
|
|
262
|
+
## Version v1.37.1
|
|
263
|
+
|
|
264
|
+
Released on May 3rd, 2025.
|
|
265
|
+
|
|
266
|
+
- Fixed a bug in JSR's `@es-toolkit/es-toolkit` package that prevented importing the `camelCase` function in Deno.
|
|
267
|
+
|
|
268
|
+
## Version v1.37.0
|
|
269
|
+
|
|
270
|
+
Released on May 3rd, 2025.
|
|
271
|
+
|
|
272
|
+
- Introduced compatibility functions for [result](https://es-toolkit.slash.page/reference/compat/object/result.html), [omitBy](https://es-toolkit.slash.page/reference/object/omitBy.html), [xorBy](https://es-toolkit.slash.page/reference/array/xorBy.html), [xorWith](https://es-toolkit.slash.page/reference/array/xorWith.html), [unzipWith](https://es-toolkit.slash.page/reference/array/unzipWith.html), [sampleSize](https://es-toolkit.slash.page/reference/array/sampleSize.html), [transform](https://es-toolkit.slash.page/reference/compat/object/transform.html), [wrap](https://es-toolkit.slash.page/reference/compat/function/wrap.html), [countBy](https://es-toolkit.slash.page/reference/array/countBy.html), and [xor](https://es-toolkit.slash.page/reference/array/xor.html).
|
|
273
|
+
- Added vitest benchmark for [ary](https://es-toolkit.slash.page/reference/function/ary.html) function.
|
|
274
|
+
- Fixed string comparison in [sortBy](https://es-toolkit.slash.page/reference/array/sortBy.html) and [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html) by removing locale comparison and using ASCII code instead.
|
|
275
|
+
- Fixed type definition in [isBuffer](https://es-toolkit.slash.page/reference/predicate/isBuffer.html).
|
|
276
|
+
- Fixed internal documentation links for Korean and Japanese headings.
|
|
277
|
+
- Improved code readability and documentation for various functions.
|
|
278
|
+
- Prevented circular dependencies by updating import paths in [toCamelCaseKeys](https://es-toolkit.slash.page/reference/object/toCamelCaseKeys.html) and [toSnakeCaseKeys](https://es-toolkit.slash.page/reference/object/toSnakeCaseKeys.html).
|
|
279
|
+
|
|
280
|
+
We sincerely thank @chldmsqls34, @umsungjun, @raon0211, @dayongkr, @shren207, @oror-sine, @L2HYUNN, @D-Sketon, @ariandel-dev, @Jeong-Rae, and @beomxtone for their contributions. We appreciate your great efforts!
|
|
281
|
+
|
|
282
|
+
## Version v1.36.0
|
|
283
|
+
|
|
284
|
+
Released on April 24th, 2025.
|
|
285
|
+
|
|
286
|
+
- Introduced compatibility functions for [groupBy](https://es-toolkit.slash.page/reference/array/groupBy.html), [partial](https://es-toolkit.slash.page/reference/function/partial.html), [partialRight](https://es-toolkit.slash.page/reference/function/partialRight.html), [forEachRight](https://es-toolkit.slash.page/reference/array/forEachRight.html), [forOwnRight](https://es-toolkit.slash.page/reference/compat/object/forOwnRight.html), [forIn](https://es-toolkit.slash.page/reference/compat/object/forIn.html), [forInRight](https://es-toolkit.slash.page/reference/compat/object/forInRight.html), [overEvery](https://es-toolkit.slash.page/reference/compat/util/overEvery.html), [hasIn](https://es-toolkit.slash.page/reference/compat/object/hasIn.html), [pullAt](https://es-toolkit.slash.page/reference/array/pullAt.html), [forOwn](https://es-toolkit.slash.page/reference/compat/object/forOwn.html), [pullAllWith](https://es-toolkit.slash.page/reference/compat/array/pullAllWith.html), [overSome](https://es-toolkit.slash.page/reference/compat/util/overSome.html), [partition](https://es-toolkit.slash.page/reference/array/partition.html), and [flatMap](https://es-toolkit.slash.page/reference/array/flatMap.html).
|
|
287
|
+
- Fixed compatibility issues in [take](https://es-toolkit.slash.page/reference/array/take.html), [takeRight](https://es-toolkit.slash.page/reference/array/takeRight.html), [defaults](https://es-toolkit.slash.page/reference/compat/object/defaults.html), [repeat](https://es-toolkit.slash.page/reference/compat/string/repeat.html), and [words](https://es-toolkit.slash.page/reference/string/words.html) by adding proper guards.
|
|
288
|
+
- Fixed [throttle](https://es-toolkit.slash.page/reference/function/throttle.html) behavior when both leading and trailing options are enabled.
|
|
289
|
+
- Improved performance for [find](https://es-toolkit.slash.page/reference/compat/array/find.html) by removing unnecessary slice operations.
|
|
290
|
+
- Enhanced performance of [toPairs](https://es-toolkit.slash.page/reference/compat/object/toPairs.html) by pre-allocating arrays and using iterator values.
|
|
291
|
+
- Simplified implementation and aligned types with Lodash for [partition](https://es-toolkit.slash.page/reference/array/partition.html).
|
|
292
|
+
|
|
293
|
+
We sincerely thank @D-Sketon, @raon0211, @dayongkr, @minjongbaek, @seungrodotlee, @mass2527, @uniqueeest, @leehj322, @cruelladevil, @shren207, and @ssi02014 for their contributions. We appreciate your great efforts!
|
|
294
|
+
|
|
295
|
+
## Version v1.35.0
|
|
296
|
+
|
|
297
|
+
Released on April 16th, 2025.
|
|
298
|
+
|
|
299
|
+
- Added support for [toCamelCaseKeys](https://es-toolkit.slash.page/reference/object/toCamelCaseKeys.html) and [toSnakeCaseKeys](https://es-toolkit.slash.page/reference/object/toSnakeCaseKeys.html).
|
|
300
|
+
- Added support for custom delay function based on attempts in [retry](https://es-toolkit.slash.page/reference/function/retry.html).
|
|
301
|
+
- Introduced compatibility functions for [at](https://es-toolkit.slash.page/reference/array/at.html) (array), [split](https://es-toolkit.slash.page/reference/compat/string/split.html), [shuffle](https://es-toolkit.slash.page/reference/array/shuffle.html), [zipWith](https://es-toolkit.slash.page/reference/array/zipWith.html), [zipObject](https://es-toolkit.slash.page/reference/array/zipObject.html), [keyBy](https://es-toolkit.slash.page/reference/array/keyBy.html), [assign](https://es-toolkit.slash.page/reference/compat/object/assign.html), [assignInWith](https://es-toolkit.slash.page/reference/compat/object/assignInWith.html), [assignWith](https://es-toolkit.slash.page/reference/compat/object/assignWith.html), [update](https://es-toolkit.slash.page/reference/compat/object/update.html), [updateWith](https://es-toolkit.slash.page/reference/compat/object/updateWith.html), [uniqWith](https://es-toolkit.slash.page/reference/array/uniqWith.html), [unionBy](https://es-toolkit.slash.page/reference/array/unionBy.html), [unionWith](https://es-toolkit.slash.page/reference/array/unionWith.html), [takeWhile](https://es-toolkit.slash.page/reference/array/takeWhile.html), [sortedLastIndex](https://es-toolkit.slash.page/reference/compat/array/sortedLastIndex.html), [sortedLastIndexBy](https://es-toolkit.slash.page/reference/compat/array/sortedLastIndexBy.html), [toPairs](https://es-toolkit.slash.page/reference/compat/object/toPairs.html), [toPairsIn](https://es-toolkit.slash.page/reference/compat/object/toPairsIn.html), [cond](https://es-toolkit.slash.page/reference/compat/util/cond.html), [over](https://es-toolkit.slash.page/reference/compat/util/over.html), [functions](https://es-toolkit.slash.page/reference/compat/object/functions.html), and [create](https://es-toolkit.slash.page/reference/compat/object/create.html) in `es-toolkit/compat`.
|
|
302
|
+
- Fixed Lodash compatibility issues in [pick](https://es-toolkit.slash.page/reference/object/pick.html) and [pickBy](https://es-toolkit.slash.page/reference/object/pickBy.html).
|
|
303
|
+
|
|
304
|
+
We sincerely thank @shren207, @kim-sung-jee, @HyeokjaeLee, @Jeong-Rae, @D-Sketon, @jsparkdev, @wojtekmaj, @FengBuPi, @oror-sine, @L2HYUNN, @gs18004, @ohprettyhak, and @kimpuro for their contributions. We appreciate your great efforts!
|
|
305
|
+
|
|
306
|
+
## Version v1.34.1
|
|
307
|
+
|
|
308
|
+
Released on March 27th, 2025.
|
|
309
|
+
|
|
310
|
+
- Fixed a bug in [isBrowser](https://es-toolkit.slash.page/reference/predicate/isBrowser.html) and [isNode](https://es-toolkit.slash.page/reference/predicate/isNode.html) that caused them to not work properly in Deno environments.
|
|
311
|
+
|
|
312
|
+
## Version v1.34.0
|
|
313
|
+
|
|
314
|
+
Released on March 27th, 2025.
|
|
315
|
+
|
|
316
|
+
- Added support for [isBrowser](https://es-toolkit.slash.page/reference/predicate/isBrowser.html), [isNode](https://es-toolkit.slash.page/reference/predicate/isNode.html), [attempt](https://es-toolkit.slash.page/reference/util/attempt.html), [attemptAsync](https://es-toolkit.slash.page/reference/util/attemptAsync.html).
|
|
317
|
+
- Introduced compatibility functions for [functionsIn](https://es-toolkit.slash.page/reference/compat/object/functionsIn.html), [meanBy](https://es-toolkit.slash.page/reference/math/meanBy.html), [minBy](https://es-toolkit.slash.page/reference/math/minBy.html), [mean](https://es-toolkit.slash.page/reference/math/mean.html), [sortedIndexOf](https://es-toolkit.slash.page/reference/compat/array/sortedIndexOf.html).
|
|
318
|
+
- Fixed compatibility with lodash for [set](https://es-toolkit.slash.page/reference/compat/object/set.html), [add](https://es-toolkit.slash.page/reference/compat/math/add.html), [subtract](https://es-toolkit.slash.page/reference/compat/math/subtract.html).
|
|
319
|
+
|
|
320
|
+
We sincerely thank @dayongkr, @D-Sketon, @seongminn, @Kyujenius for their contributions. We appreciate your great efforts!
|
|
321
|
+
|
|
322
|
+
## Version v1.33.0
|
|
323
|
+
|
|
324
|
+
Released on March 9th, 2025.
|
|
325
|
+
|
|
326
|
+
- Added support for [reverseString](https://es-toolkit.slash.page/reference/string/reverseString.html) and [isJSON](https://es-toolkit.slash.page/reference/predicate/isJSON.html).
|
|
327
|
+
- Introduced compatibility functions for [pullAllBy](https://es-toolkit.slash.page/reference/compat/array/pullAllBy.html), [intersectionWith](https://es-toolkit.slash.page/reference/array/intersectionWith.html), [findLast](https://es-toolkit.slash.page/reference/compat/array/findLast.html), [reduce](https://es-toolkit.slash.page/reference/compat/array/reduce.html), [reduceRight](https://es-toolkit.slash.page/reference/compat/array/reduceRight.html), [divide](https://es-toolkit.slash.page/reference/compat/math/divide.html), [values](https://es-toolkit.slash.page/reference/compat/object/values.html), [valuesIn](https://es-toolkit.slash.page/reference/compat/object/valuesIn.html), [maxBy](https://es-toolkit.slash.page/reference/compat/math/maxBy.html), and [pickBy](https://es-toolkit.slash.page/reference/compat/object/pickBy.html).
|
|
328
|
+
- Fixed package exports on React Native so that `es-toolkit` can be used in React Native projects.
|
|
329
|
+
- Fixed a bug in [sum](https://es-toolkit.slash.page/reference/math/sum.html) where passing `undefined` values like `sum([undefined, 1, 2, 3])` resulted in `NaN`, which was different from lodash.
|
|
330
|
+
- Fixed a bug in [assignIn](https://es-toolkit.slash.page/reference/compat/object/assignIn.html) that didn't assign keys with undefined values.
|
|
331
|
+
|
|
332
|
+
## Version v1.32.0
|
|
333
|
+
|
|
334
|
+
Released on January 30th, 2025.
|
|
335
|
+
|
|
336
|
+
- Added support for [Semaphore](https://es-toolkit.slash.page/reference/promise/Semaphore.html), [Mutex](https://es-toolkit.slash.page/reference/promise/Mutex.html), [isPromise](https://es-toolkit.slash.page/reference/predicate/isPromise.html), and [retry](https://es-toolkit.slash.page/reference/function/retry.html).
|
|
337
|
+
- Introduced compatibility functions for [multiply](https://es-toolkit.slash.page/reference/compat/math/multiply.html), [sortedIndex](https://es-toolkit.slash.page/reference/compat/array/sortedIndex.html), and [sortedIndexBy](https://es-toolkit.slash.page/reference/compat/array/sortedIndexBy.html).
|
|
338
|
+
- Added support for custom delimiters in [flattenObject](https://es-toolkit.slash.page/reference/object/flattenObject.html).
|
|
339
|
+
- Added support for `fromIndex` parameters in [find](https://es-toolkit.slash.page/reference/compat/array/find.html).
|
|
340
|
+
- Fixed a bug in [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html) and [cloneDeepWith](https://es-toolkit.slash.page/reference/object/cloneDeepWith.html) that cloned uncloneable objects.
|
|
341
|
+
|
|
342
|
+
## Version v1.31.0
|
|
343
|
+
|
|
344
|
+
Released on December 27th, 2024.
|
|
345
|
+
|
|
346
|
+
- Added support for the [windowed](https://es-toolkit.slash.page/reference/array/windowed.html), [remove](https://es-toolkit.slash.page/reference/array/remove.html) and [asyncNoop](https://es-toolkit.slash.page/reference/function/asyncNoop.html) functions.
|
|
347
|
+
- Introduced compatibility functions for [pullAll](https://es-toolkit.slash.page/reference/compat/array/pullAll.html), [subtract](https://es-toolkit.slash.page/reference/compat/math/subtract.html), [isBuffer](https://es-toolkit.slash.page/reference/predicate/isBuffer.html), and [methodOf](https://es-toolkit.slash.page/reference/compat/util/methodOf.html).
|
|
348
|
+
- Enhanced the performance of [pull](https://es-toolkit.slash.page/reference/array/pull.html) when working with large arrays.
|
|
349
|
+
- Resolved an issue where [reverse](https://es-toolkit.slash.page/reference/compat/array/reverse.html) was not being exported in our compatibility library.
|
|
350
|
+
- Updated [groupBy](https://es-toolkit.slash.page/reference/array/groupBy.html) to properly handle keys like `toString` or `valueOf`.
|
|
351
|
+
- Fixed [merge](https://es-toolkit.slash.page/reference/object/merge.html) to correctly merge values when `target` or any of its values are `null` or `undefined`.
|
|
352
|
+
|
|
353
|
+
We sincerely thank @T3sT3ro, @D-Sketon, @tuhm1, @willmanduffy, @apeltop, @aken-you, @SaeWooKKang, and @ssi02014 for their contributions. We appreciate your great efforts!
|
|
354
|
+
|
|
355
|
+
## Version v1.30.1
|
|
356
|
+
|
|
357
|
+
Released on December 14th, 2024.
|
|
358
|
+
|
|
359
|
+
- Fixed [uniqueId](https://es-toolkit.slash.page/reference/compat/util/uniqueId.html) not being exported in our compatibility library.
|
|
360
|
+
|
|
361
|
+
We sincerely thank @redd97 for their contributions. We appreciate your great efforts!
|
|
362
|
+
|
|
363
|
+
## Version v1.30.0
|
|
364
|
+
|
|
365
|
+
Released on December 13th, 2024.
|
|
366
|
+
|
|
367
|
+
- Introduced support for [pull](https://es-toolkit.slash.page/reference/array/pull.html).
|
|
368
|
+
- Added compatibility functions for [map](https://es-toolkit.slash.page/reference/compat/array/map.html), [range](https://es-toolkit.slash.page/reference/math/range.html), [rangeRight](https://es-toolkit.slash.page/reference/math/rangeRight.html), [differenceWith](https://es-toolkit.slash.page/reference/array/differenceWith.html), [nth](https://es-toolkit.slash.page/reference/compat/array/nth.html), [noop](https://es-toolkit.slash.page/reference/function/noop.html), [identity](https://es-toolkit.slash.page/reference/function/identity.html), [keys](https://es-toolkit.slash.page/reference/compat/object/keys.html), [propertyOf](https://es-toolkit.slash.page/reference/compat/object/propertyOf.html), [nthArg](https://es-toolkit.slash.page/reference/compat/function/nthArg.html), [delay](https://es-toolkit.slash.page/reference/promise/delay.html), [toPlainObject](https://es-toolkit.slash.page/reference/compat/util/toPlainObject.html), [unary](https://es-toolkit.slash.page/reference/function/unary.html), [once](https://es-toolkit.slash.page/reference/function/once.html), [after](https://es-toolkit.slash.page/reference/function/after.html), [takeRightWhile](https://es-toolkit.slash.page/reference/array/takeRightWhile.html), [escapeRegExp](https://es-toolkit.slash.page/reference/string/escapeRegExp.html), [unescape](https://es-toolkit.slash.page/reference/string/unescape.html), [upperFirst](https://es-toolkit.slash.page/reference/string/upperFirst.html), [lowerFirst](https://es-toolkit.slash.page/reference/string/lowerFirst.html), [deburr](https://es-toolkit.slash.page/reference/string/deburr.html), [lt](https://es-toolkit.slash.page/reference/util/lt.html), [lte](https://es-toolkit.slash.page/reference/util/lte.html), [toLower](https://es-toolkit.slash.page/reference/compat/string/toLower.html), [invoke](https://es-toolkit.slash.page/reference/compat/util/invoke.html), [method](https://es-toolkit.slash.page/reference/compat/util/method.html), [reverse](https://es-toolkit.slash.page/reference/compat/array/reverse.html), [now](https://es-toolkit.slash.page/reference/compat/util/now.html), [findKey](https://es-toolkit.slash.page/reference/object/findKey.html), [stubArray](https://es-toolkit.slash.page/reference/compat/util/stubArray.html), [stubFalse](https://es-toolkit.slash.page/reference/compat/util/stubFalse.html), [stubObject](https://es-toolkit.slash.page/reference/compat/util/stubObject.html), [stubString](https://es-toolkit.slash.page/reference/compat/util/stubString.html), and [stubTrue](https://es-toolkit.slash.page/reference/compat/util/stubTrue.html).
|
|
369
|
+
|
|
370
|
+
We sincerely thank @healtheloper, @mass2527, @D-Sketon, @eunhyulkim, @scato3, @Na-hyunwoo, and @dasom-jo for their contributions. We appreciate your great efforts!
|
|
371
|
+
|
|
372
|
+
## Version v1.29.0
|
|
373
|
+
|
|
374
|
+
Released on December 1st, 2024.
|
|
375
|
+
|
|
376
|
+
- Introduced support for [cloneDeepWith](https://es-toolkit.slash.page/reference/object/cloneDeepWith.html).
|
|
377
|
+
- Added a compatibility function for [lastIndexOf](https://es-toolkit.slash.page/reference/compat/array/lastIndexOf.html).
|
|
378
|
+
- Fixed an issue in [flattenObject](https://es-toolkit.slash.page/reference/object/flattenObject.html) where nested objects in arrays were not flattened correctly.
|
|
379
|
+
|
|
380
|
+
We sincerely thank @nnnnoel and @evan-moon for their contributions. We appreciate your great efforts!
|
|
381
|
+
|
|
382
|
+
## Version v1.28.0
|
|
383
|
+
|
|
384
|
+
Released on November 30th, 2024.
|
|
385
|
+
|
|
386
|
+
- Added compatibility functions for [gt](https://es-toolkit.slash.page/reference/compat/util/gt.html), [gte](https://es-toolkit.slash.page/reference/compat/util/gte.html), [toArray](https://es-toolkit.slash.page/reference/compat/util/toArray.html), [toUpper](https://es-toolkit.slash.page/reference/compat/string/toUpper.html), [add](https://es-toolkit.slash.page/reference/compat/math/add.html), [assignIn](https://es-toolkit.slash.page/reference/compat/object/assignIn.html) ([extend](https://es-toolkit.slash.page/reference/compat/object/extend.html)), and [isElement](https://es-toolkit.slash.page/reference/compat/predicate/isElement.html).
|
|
387
|
+
- Introduced new compatibility types for `DebouncedFunc`.
|
|
388
|
+
- Enhanced our function types to accept `PropertyKey` instead of just `string` for property keys.
|
|
389
|
+
- Corrected [flatMap](https://es-toolkit.slash.page/reference/array/flatMap.html) to accurately infer return types when the `depth` parameter is omitted.
|
|
390
|
+
- Resolved issues with incorrect types for [partial](https://es-toolkit.slash.page/reference/function/partial.html) and [partialRight](https://es-toolkit.slash.page/reference/function/partialRight.html).
|
|
391
|
+
- Fixed [intersectionBy](https://es-toolkit.slash.page/reference/array/intersectionBy.html), [differenceBy](https://es-toolkit.slash.page/reference/array/differenceBy.html), and [differenceWith](https://es-toolkit.slash.page/reference/array/differenceWith.html) to properly calculate differences between various element types.
|
|
392
|
+
- Ensured that [words](https://es-toolkit.slash.page/reference/string/words.html) is now correctly exported in our compatibility library.
|
|
393
|
+
|
|
394
|
+
We sincerely thank @D-Sketon, @mass2527, @1eeminhyeong, @chhw130, @DONG-8, @filipsobol, @kim-dongho, @nnnnoel, @pbstar, and @jsparkdev for their contributions. We appreciate your great efforts!
|
|
395
|
+
|
|
396
|
+
## Version v1.27.0
|
|
397
|
+
|
|
398
|
+
Released on November 10th, 2024.
|
|
399
|
+
|
|
400
|
+
- Added support for [findKey](https://es-toolkit.slash.page/reference/object/findKey.html) and [isSubsetWith](https://es-toolkit.slash.page/reference/array/isSubsetWith.html).
|
|
401
|
+
- Introduced compatibility functions for [words](https://es-toolkit.slash.page/reference/string/words.html), [at](https://es-toolkit.slash.page/reference/array/at.html), [differenceBy](https://es-toolkit.slash.page/reference/array/differenceBy.html), [uniqBy](https://es-toolkit.slash.page/reference/array/uniqBy.html), [forEach](https://es-toolkit.slash.page/reference/compat/array/forEach.html), [each](https://es-toolkit.slash.page/reference/compat/array/each.html), [sum](https://es-toolkit.slash.page/reference/math/sum.html), [sumBy](https://es-toolkit.slash.page/reference/array/sumBy.html), [union](https://es-toolkit.slash.page/reference/array/union.html), [zip](https://es-toolkit.slash.page/reference/array/zip.html), [unzip](https://es-toolkit.slash.page/reference/array/unzip.html), [iteratee](https://es-toolkit.slash.page/reference/compat/util/iteratee.html), [isEmpty](https://es-toolkit.slash.page/reference/compat/predicate/isEmpty.html), and [replace](https://es-toolkit.slash.page/reference/compat/string/replace.html).
|
|
402
|
+
- Fixed a bug in [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html) that prevented it from correctly cloning object prototypes.
|
|
403
|
+
- Improved performance for [at](https://es-toolkit.slash.page/reference/array/at.html).
|
|
404
|
+
- Enhanced performance for [toPath](https://es-toolkit.slash.page/reference/compat/util/toPath.html), [get](https://es-toolkit.slash.page/reference/compat/object/get.html), [set](https://es-toolkit.slash.page/reference/compat/object/set.html), [unset](https://es-toolkit.slash.page/reference/compat/object/unset.html), [has](https://es-toolkit.slash.page/reference/compat/object/has.html), [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html), [chunk](https://es-toolkit.slash.page/reference/array/chunk.html), [difference](https://es-toolkit.slash.page/reference/array/difference.html), [drop](https://es-toolkit.slash.page/reference/array/drop.html), [dropRight](https://es-toolkit.slash.page/reference/array/dropRight.html), [dropWhile](https://es-toolkit.slash.page/reference/array/dropWhile.html), [findLastIndex](https://es-toolkit.slash.page/reference/compat/array/findLastIndex.html), [head](https://es-toolkit.slash.page/reference/array/head.html), [last](https://es-toolkit.slash.page/reference/array/last.html), [sample](https://es-toolkit.slash.page/reference/array/sample.html), [tail](https://es-toolkit.slash.page/reference/array/tail.html), [take](https://es-toolkit.slash.page/reference/array/take.html), and [takeRight](https://es-toolkit.slash.page/reference/array/takeRight.html) in our compatibility library.
|
|
405
|
+
|
|
406
|
+
We sincerely thank @scato3, @ssi02014, @filipsobol, @mass2527, @Gyumong, @D-Sketon, @dayongkr, @kyvg, @Na-hyunwoo, @kaehehehe, and @bhollis for their contributions. Special thanks to @cruelladevil for improving the documentation. We appreciate your great efforts!
|
|
407
|
+
|
|
408
|
+
## Version v1.26.1
|
|
409
|
+
|
|
410
|
+
Released on October 25th, 2024.
|
|
411
|
+
|
|
412
|
+
- Fixed a bug in [isMatch](https://es-toolkit.slash.page/reference/compat/predicate/isMatch.html) that did not strictly compare `null` in objects.
|
|
413
|
+
|
|
414
|
+
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!
|
|
415
|
+
|
|
416
|
+
## Version v1.26.0
|
|
417
|
+
|
|
418
|
+
Released on October 24th, 2024.
|
|
419
|
+
|
|
420
|
+
- Added support for [invariant](https://es-toolkit.slash.page/reference/util/invariant.html), [identity](https://es-toolkit.slash.page/reference/function/identity.html), [median](https://es-toolkit.slash.page/reference/math/median.html), and [medianBy](https://es-toolkit.slash.page/reference/math/medianBy.html).
|
|
421
|
+
- Added compatibility functions for [template](https://es-toolkit.slash.page/reference/compat/string/template.html), [uniqueId](https://es-toolkit.slash.page/reference/compat/util/uniqueId.html), [intersectionBy](https://es-toolkit.slash.page/reference/array/intersectionBy.html), [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html), [sortBy](https://es-toolkit.slash.page/reference/array/sortBy.html), and [some](https://es-toolkit.slash.page/reference/array/some.html).
|
|
422
|
+
- Made it possible to use [drop](https://es-toolkit.slash.page/reference/array/drop.html), [dropRight](https://es-toolkit.slash.page/reference/array/dropRight.html), [every](https://es-toolkit.slash.page/reference/compat/array/every.html), [take](https://es-toolkit.slash.page/reference/array/take.html), and [takeRight](https://es-toolkit.slash.page/reference/array/takeRight.html) directly as iteratees, allowing for usage like `arr.map(drop)`.
|
|
423
|
+
- Corrected [merge](https://es-toolkit.slash.page/reference/object/merge.html) to disallow primitive values such as numbers or strings.
|
|
424
|
+
|
|
425
|
+
This version includes contributions from @dayongkr, @Na-hyunwoo, @ssi02014, @kaehehehe, @jakvbs, @D-Sketon, and @seonghun0828. Thank you for your valuable contributions!
|
|
426
|
+
|
|
427
|
+
## Version v1.25.2
|
|
428
|
+
|
|
429
|
+
Released on October 16th, 2024.
|
|
430
|
+
|
|
431
|
+
- Fixed a problem with [isJSONValue](https://es-toolkit.slash.page/reference/predicate/isJSONValue.html), [isJSONArray](https://es-toolkit.slash.page/reference/predicate/isJSONArray.html), and [isJSONObject](https://es-toolkit.slash.page/reference/predicate/isJSONObject.html) that led to circular dependencies.
|
|
432
|
+
- Enhanced [flatten](https://es-toolkit.slash.page/reference/array/flatten.html), [flattenDeep](https://es-toolkit.slash.page/reference/array/flattenDeep.html), [flattenDepth](https://es-toolkit.slash.page/reference/compat/array/flattenDepth.html#flattendepth), [slice](https://es-toolkit.slash.page/reference/compat/array/slice.html), and [zipObjectDeep](https://es-toolkit.slash.page/reference/compat/array/zipObjectDeep.html) to work with array-like objects in our compatibility library, ensuring they are fully compatible with lodash.
|
|
433
|
+
|
|
434
|
+
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!
|
|
435
|
+
|
|
436
|
+
## Version v1.25.1
|
|
437
|
+
|
|
438
|
+
Released on October 15th, 2024.
|
|
439
|
+
|
|
440
|
+
- Resolved an issue in [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html) that incorrectly copied properties from the `target` when they were read-only.
|
|
441
|
+
- Updated [every](https://es-toolkit.slash.page/reference/compat/array/every.html), [filter](https://es-toolkit.slash.page/reference/compat/array/filter.html), [find](https://es-toolkit.slash.page/reference/compat/array/find.html), [findIndex](https://es-toolkit.slash.page/reference/compat/array/findIndex.html), [findLastIndex](https://es-toolkit.slash.page/reference/compat/array/findLastIndex.html), [indexOf](https://es-toolkit.slash.page/reference/compat/array/indexOf.html), and [join](https://es-toolkit.slash.page/reference/compat/array/join.html) to now accept array-like objects and a `fromIndex` parameter, making them compatible with lodash.
|
|
442
|
+
|
|
443
|
+
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!
|
|
444
|
+
|
|
445
|
+
## Version v1.25.0
|
|
446
|
+
|
|
447
|
+
Released on October 14th, 2024.
|
|
448
|
+
|
|
449
|
+
- Added support for [isFile](https://es-toolkit.slash.page/reference/predicate/isFile.html).
|
|
450
|
+
- Added compatibility functions for [escape](https://es-toolkit.slash.page/reference/string/escape.html), [toSafeInteger](https://es-toolkit.slash.page/reference/compat/util/toSafeInteger.html), [intersection](https://es-toolkit.slash.page/reference/array/intersection.html), [sample](https://es-toolkit.slash.page/reference/array/sample.html), [chunk](https://es-toolkit.slash.page/reference/array/chunk.html), [compact](https://es-toolkit.slash.page/reference/array/compact.html), [head](https://es-toolkit.slash.page/reference/array/head.html), [initial](https://es-toolkit.slash.page/reference/array/initial.html), [last](https://es-toolkit.slash.page/reference/array/last.html), [tail](https://es-toolkit.slash.page/reference/array/tail.html), [take](https://es-toolkit.slash.page/reference/array/take.html), [takeRight](https://es-toolkit.slash.page/reference/array/takeRight.html), [uniq](https://es-toolkit.slash.page/reference/array/uniq.html), and [without](https://es-toolkit.slash.page/reference/array/without.html).
|
|
451
|
+
- Enhanced performance for [at](https://es-toolkit.slash.page/reference/array/at.html) and [isPlainObject](https://es-toolkit.slash.page/reference/predicate/isPlainObject.html).
|
|
452
|
+
- Resolved an issue in [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html) that prevented it from cloning symbol properties and read-only properties of objects.
|
|
453
|
+
- Fixed a problem in [pick](https://es-toolkit.slash.page/reference/object/pick.html) within our compatibility library that incorrectly added `undefined` for keys that do not exist.
|
|
454
|
+
|
|
455
|
+
This version includes contributions from @D-Sketon, @mass2527, @dayongkr, @lukaszkowalik2, @Gyumong, @Dohun-choi, @belgattitude, and @chhw130. Thank you for your valuable contributions!
|
|
456
|
+
|
|
457
|
+
## Version v1.24.0
|
|
458
|
+
|
|
459
|
+
Released on October 7th, 2024.
|
|
460
|
+
|
|
461
|
+
- Added support for [isBlob](https://es-toolkit.slash.page/reference/predicate/isBlob.html) and [isDate](https://es-toolkit.slash.page/reference/predicate/isDate.html).
|
|
462
|
+
- Added compatibility functions for [invertBy](https://es-toolkit.slash.page/reference/compat/object/invertBy.html), [times](https://es-toolkit.slash.page/reference/compat/util/times.html), [constant](https://es-toolkit.slash.page/reference/compat/util/constant.html), [slice](https://es-toolkit.slash.page/reference/compat/array/slice.html), [toLength](https://es-toolkit.slash.page/reference/compat/util/toLength.html), [defaultTo](https://es-toolkit.slash.page/reference/compat/util/defaultTo.html), [dropRightWhile](https://es-toolkit.slash.page/reference/array/dropRightWhile.html), [curryRight](https://es-toolkit.slash.page/reference/function/curryRight.html), [rangeRight](https://es-toolkit.slash.page/reference/math/rangeRight.html), [before](https://es-toolkit.slash.page/reference/function/before.html), [eq](https://es-toolkit.slash.page/reference/compat/util/eq.html), [defaults](https://es-toolkit.slash.page/reference/compat/object/defaults.html), [toDefaulted](https://es-toolkit.slash.page/reference/compat/object/toDefaulted.html), [isArrayBuffer](https://es-toolkit.slash.page/reference/predicate/isArrayBuffer.html), [isSet](https://es-toolkit.slash.page/reference/predicate/isSet.html), and [isMap](https://es-toolkit.slash.page/reference/predicate/isMap.html).
|
|
463
|
+
- Enhanced [difference](https://es-toolkit.slash.page/reference/array/difference.html) to work with Array-like objects, aligning its functionality with lodash's behavior.
|
|
464
|
+
- Improved performance for [pickBy](https://es-toolkit.slash.page/reference/object/pickBy.html) and [omitBy](https://es-toolkit.slash.page/reference/object/omitBy.html).
|
|
465
|
+
|
|
466
|
+
## Version v1.23.0
|
|
467
|
+
|
|
468
|
+
Released on October 1st, 2024.
|
|
469
|
+
|
|
470
|
+
- Added support for [isEqualWith](https://es-toolkit.slash.page/reference/predicate/isEqualWith.html), [isArrayBuffer](https://es-toolkit.slash.page/reference/predicate/isArrayBuffer.html), [curryRight](https://es-toolkit.slash.page/reference/function/curryRight.html), [isJSONValue](https://es-toolkit.slash.page/reference/predicate/isJSONValue.html), [isJSONObject](https://es-toolkit.slash.page/reference/predicate/isJSONObject.html), [isJSONArray](https://es-toolkit.slash.page/reference/predicate/isJSONArray.html).
|
|
471
|
+
- Fixed a bug in [merge](https://es-toolkit.slash.page/reference/object/merge.html) that copied the reference from the `source` object to the `target` object.
|
|
472
|
+
- Fixed a bug in [includes](https://es-toolkit.slash.page/reference/compat/array/includes.html) that returned `true` for inherited properties.
|
|
473
|
+
- Fixed a bug in [startCase](https://es-toolkit.slash.page/reference/string/startCase.html) and other string methods that did not correctly split the words when using accented letters.
|
|
474
|
+
- Fixed a bug in [filter](https://es-toolkit.slash.page/reference/compat/array/filter.html) that did not provide correct arguments to the predicate function.
|
|
475
|
+
- Fixed a bug in [isMatch](https://es-toolkit.slash.page/reference/compat/predicate/isMatch.html) that did not strictly compare primitive falsy values.
|
|
476
|
+
|
|
477
|
+
This version includes contributions from @D-Sketon, @wojtekmaj, @mass2527, @chhw130, and @knott11. Thank you for your valuable contributions!
|
|
478
|
+
|
|
479
|
+
## Version v1.22.0
|
|
480
|
+
|
|
481
|
+
Released on September 28th, 2024.
|
|
482
|
+
|
|
483
|
+
- Added support for [flow](https://es-toolkit.slash.page/reference/function/flow.html), [flowRight](https://es-toolkit.slash.page/reference/function/flowRight.html), [isMap](https://es-toolkit.slash.page/reference/predicate/isMap.html), and [isSet](https://es-toolkit.slash.page/reference/predicate/isSet.html).
|
|
484
|
+
- Added compatibility functions for [filter](https://es-toolkit.slash.page/reference/compat/array/filter.html), [includes](https://es-toolkit.slash.page/reference/compat/array/includes.html), [every](https://es-toolkit.slash.page/reference/compat/array/every.html), [flip](https://es-toolkit.slash.page/reference/compat/function/flip.html), and [dropWhile](https://es-toolkit.slash.page/reference/array/dropWhile.html).
|
|
485
|
+
|
|
486
|
+
- Fixed a bug in [throttle](https://es-toolkit.slash.page/reference/function/throttle.html) that prevented it from throttling after the initial `throttleMs`.
|
|
487
|
+
- Fixed a bug in [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html) that caused it to not clone the offset and length of `DataView`.
|
|
488
|
+
- Fixed a bug in [clone](https://es-toolkit.slash.page/reference/object/clone.html) that threw an error if `SharedArrayBuffer` is unavailable.
|
|
489
|
+
|
|
490
|
+
This version includes contributions from @dayongkr, @k-jeonghee, @D-Sketon, @iDevGon, @mass2527, @wojtekmaj, @jonganebski, @hyesungoh, and @chhw130. Thank you for your valuable contributions!
|
|
491
|
+
|
|
492
|
+
## Version v1.21.0
|
|
493
|
+
|
|
494
|
+
Released on September 25th, 2024.
|
|
495
|
+
|
|
496
|
+
- Added support for [constantCase](https://es-toolkit.slash.page/reference/string/constantCase.html) and [isError](https://es-toolkit.slash.page/reference/predicate/isError.html).
|
|
497
|
+
- Added compatibility functions for [pad](https://es-toolkit.slash.page/reference/compat/string/pad.html), [padStart](https://es-toolkit.slash.page/reference/compat/string/padStart.html), [padEnd](https://es-toolkit.slash.page/reference/compat/string/padEnd.html), [defer](https://es-toolkit.slash.page/reference/compat/function/defer.html), [isFinite](https://es-toolkit.slash.page/reference/compat/predicate/isFinite.html), [toNumber](https://es-toolkit.slash.page/reference/compat/math/toNumber.html), [toFinite](https://es-toolkit.slash.page/reference/compat/math/toFinite.html), and [toInteger](https://es-toolkit.slash.page/reference/compat/math/toInteger.html).
|
|
498
|
+
- Improved performance for [flatten](https://es-toolkit.slash.page/reference/array/flatten.html), [isNumber](https://es-toolkit.slash.page/reference/predicate/isNumber.html), [isString](https://es-toolkit.slash.page/reference/predicate/isString.html), [isSymbol](https://es-toolkit.slash.page/reference/predicate/isSymbol.html), [isRegExp](https://es-toolkit.slash.page/reference/predicate/isRegExp.html), and [isBoolean](https://es-toolkit.slash.page/reference/predicate/isBoolean.html).
|
|
499
|
+
- Fixed [compact](https://es-toolkit.slash.page/reference/array/compact.html) to correctly exclude `0n` as a falsey value.
|
|
500
|
+
- Fixed [pick](https://es-toolkit.slash.page/reference/object/pick.html) to not pick nonexistent keys from the original object.
|
|
501
|
+
- Fixed [omit](https://es-toolkit.slash.page/reference/object/omit.html) to accept readonly arrays.
|
|
502
|
+
|
|
503
|
+
This version includes contributions from @hyesungoh, @D-Sketon, @mass2527, @gweesin, @VVSOGI, @coding-honey, @seonghun0828, and @jsparkdev. Thank you for your valuable contributions!
|
|
504
|
+
|
|
505
|
+
## Version v1.20.0
|
|
506
|
+
|
|
507
|
+
Released on September 20th, 2024.
|
|
508
|
+
|
|
509
|
+
- Added support for function invocation on leading and trailing edges for [debounce](https://es-toolkit.slash.page/reference/function/debounce.html) and [throttle](https://es-toolkit.slash.page/reference/function/throttle.html).
|
|
510
|
+
- Added compatibility functions for [debounce](https://es-toolkit.slash.page/reference/function/debounce.html), [throttle](https://es-toolkit.slash.page/reference/function/throttle.html), [curry](https://es-toolkit.slash.page/reference/function/curry.html), [isNumber](https://es-toolkit.slash.page/reference/compat/predicate/isNumber.html), and [isNaN](https://es-toolkit.slash.page/reference/compat/predicate/isNaN.html).
|
|
511
|
+
- Improved performance for [at](https://es-toolkit.slash.page/reference/array/at.html), [zip](https://es-toolkit.slash.page/reference/array/zip.html), [zipWith](https://es-toolkit.slash.page/reference/array/zipWith.html), and [drop](https://es-toolkit.slash.page/reference/array/drop.html).
|
|
512
|
+
|
|
513
|
+
## Version v1.19.0
|
|
514
|
+
|
|
515
|
+
Released on September 14th, 2024.
|
|
516
|
+
|
|
517
|
+
- Added support for [isDate](https://es-toolkit.slash.page/reference/predicate/isDate.html), [curry](https://es-toolkit.slash.page/reference/function/curry.html), [upperCase](https://es-toolkit.slash.page/reference/string/upperCase.html).
|
|
518
|
+
- Added compatibility functions for [pick](https://es-toolkit.slash.page/reference/object/pick.html), [omit](https://es-toolkit.slash.page/reference/object/omit.html), [unset](https://es-toolkit.slash.page/reference/compat/object/unset.html), [toPath](https://es-toolkit.slash.page/reference/compat/util/toPath.html), [trim](https://es-toolkit.slash.page/reference/compat/string/trim.html), [trimStart](https://es-toolkit.slash.page/reference/compat/string/trimStart.html), [trimEnd](https://es-toolkit.slash.page/reference/compat/string/trimEnd.html), [isInteger](https://es-toolkit.slash.page/reference/compat/predicate/isInteger.html), [isSafeInteger](https://es-toolkit.slash.page/reference/compat/predicate/isSafeInteger.html), [snakeCase](https://es-toolkit.slash.page/reference/string/snakeCase.html), [startCase](https://es-toolkit.slash.page/reference/string/startCase.html), [lowerCase](https://es-toolkit.slash.page/reference/string/lowerCase.html), [kebabCase](https://es-toolkit.slash.page/reference/string/kebabCase.html), [ceil](https://es-toolkit.slash.page/reference/compat/math/ceil.html), [floor](https://es-toolkit.slash.page/reference/compat/math/floor.html), [round](https://es-toolkit.slash.page/reference/math/round.html).
|
|
519
|
+
- Enhanced [clone](https://es-toolkit.slash.page/reference/object/clone.html) to handle `Buffer`s, `SharedArrayBuffer`s, `File`s, `Blob`s, `TypedArray`s, and `Error`s.
|
|
520
|
+
- Fixed a bug where [mergeWith](https://es-toolkit.slash.page/reference/object/mergeWith.html) did not preserve the original properties of the `target` object.
|
|
521
|
+
- Fixed a bug where [groupBy](https://es-toolkit.slash.page/reference/array/groupBy.html) couldn't group with keys like `toString` and `indexOf`.
|
|
522
|
+
- Improved performance for [has](https://es-toolkit.slash.page/reference/compat/object/has.html) and [get](https://es-toolkit.slash.page/reference/compat/object/get.html).
|
|
523
|
+
|
|
524
|
+
## Version v1.18.0
|
|
525
|
+
|
|
526
|
+
Released on September 12th, 2024.
|
|
527
|
+
|
|
528
|
+
- Added support for [isObject](https://es-toolkit.slash.page/reference/compat/predicate/isObject.html), [findLastIndex](https://es-toolkit.slash.page/reference/compat/array/findLastIndex.html), [parseInt](https://es-toolkit.slash.page/reference/compat/math/parseInt.html), [rearg](https://es-toolkit.slash.page/reference/compat/function/rearg.html), [conforms](https://es-toolkit.slash.page/reference/compat/predicate/conforms.html), [conformsTo](https://es-toolkit.slash.page/reference/compat/predicate/conformsTo.html), [bindKey](https://es-toolkit.slash.page/reference/compat/function/bindKey.html), [some](https://es-toolkit.slash.page/reference/compat/array/some.html), [fromPairs](https://es-toolkit.slash.page/reference/compat/object/fromPairs.html), [isArrayLikeObject](https://es-toolkit.slash.page/reference/compat/predicate/isArrayLikeObject.html), [escapeRegExp](https://es-toolkit.slash.page/reference/string/escapeRegExp.html), [sortBy](https://es-toolkit.slash.page/reference/array/sortBy.html), [isWeakSet](https://es-toolkit.slash.page/reference/predicate/isWeakSet.html), [isWeakMap](https://es-toolkit.slash.page/reference/predicate/isWeakMap.html), [flatMapDeep](https://es-toolkit.slash.page/reference/array/flatMapDeep.html), [escape](https://es-toolkit.slash.page/reference/string/escape.html), [unescape](https://es-toolkit.slash.page/reference/string/unescape.html), [repeat](https://es-toolkit.slash.page/reference/compat/string/repeat.html), [pad](https://es-toolkit.slash.page/reference/compat/string/pad.html), [join](https://es-toolkit.slash.page/reference/compat/array/join.html), and [spread](https://es-toolkit.slash.page/reference/compat/function/spread.html).
|
|
529
|
+
- Improved performance for [deburr](https://es-toolkit.slash.page/reference/string/deburr.html).
|
|
530
|
+
|
|
531
|
+
## Version v1.17.0
|
|
532
|
+
|
|
533
|
+
Released on August 31st, 2024.
|
|
534
|
+
|
|
535
|
+
### New Features
|
|
536
|
+
|
|
537
|
+
- Added support for new functions: [at](https://es-toolkit.slash.page/reference/array/at.html), [pullAt](https://es-toolkit.slash.page/reference/array/pullAt.html), [deburr](https://es-toolkit.slash.page/reference/string/deburr.html), [lowerFirst](https://es-toolkit.slash.page/reference/string/lowerFirst.html), [upperFirst](https://es-toolkit.slash.page/reference/string/upperFirst.html), and [isRegExp](https://es-toolkit.slash.page/reference/predicate/isRegExp.html).
|
|
538
|
+
- Enhanced [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html) and [sortBy](https://es-toolkit.slash.page/reference/array/sortBy.html) to support function criteria.
|
|
539
|
+
- [countBy](https://es-toolkit.slash.page/reference/array/countBy.html) now supports numeric and symbol keys.
|
|
540
|
+
|
|
541
|
+
#### Bug Fixes
|
|
542
|
+
|
|
543
|
+
- Updated type definitions for [throttle](https://es-toolkit.slash.page/reference/function/throttle.html) and [debounce](https://es-toolkit.slash.page/reference/function/debounce.html).
|
|
544
|
+
- (`es-toolkit/compat`) Fixed [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html) to correctly handle deep keys even when object shapes differ ([#427](https://github.com/toss/es-toolkit/pull/427)).
|
|
545
|
+
|
|
546
|
+
## Version v1.16.0
|
|
547
|
+
|
|
548
|
+
Released on August 15th, 2024.
|
|
549
|
+
|
|
550
|
+
- Added support for [memoize](https://es-toolkit.slash.page/reference/function/memoize.html), [find](https://es-toolkit.slash.page/reference/compat/array/find.html), [findIndex](https://es-toolkit.slash.page/reference/compat/array/findIndex.html), [has](https://es-toolkit.slash.page/reference/compat/object/has.html), [partial](https://es-toolkit.slash.page/reference/function/partial.html), [partialRight](https://es-toolkit.slash.page/reference/function/partialRight.html), [sortBy](https://es-toolkit.slash.page/reference/array/sortBy.html), [isString](https://es-toolkit.slash.page/reference/predicate/isString.html), [rest](https://es-toolkit.slash.page/reference/function/rest.html), [padEnd](https://es-toolkit.slash.page/reference/compat/string/padEnd.html).
|
|
551
|
+
|
|
552
|
+
## Version v1.15.1
|
|
553
|
+
|
|
554
|
+
Released on August 10th, 2024.
|
|
555
|
+
|
|
556
|
+
- Disabled implicit conversion of values in [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html) for performance and simplicity.
|
|
557
|
+
|
|
558
|
+
## Version v1.15.0
|
|
559
|
+
|
|
560
|
+
Released on August 10th, 2024.
|
|
561
|
+
|
|
562
|
+
- Added support for [merge](https://es-toolkit.slash.page/reference/object/merge.html), [mergeWith](https://es-toolkit.slash.page/reference/object/mergeWith.html), [toMerged](https://es-toolkit.slash.page/reference/object/toMerged.html), [isSymbol](https://es-toolkit.slash.page/reference/predicate/isSymbol.html), [pascalCase](https://es-toolkit.slash.page/reference/string/pascalCase.html).
|
|
563
|
+
- Added compatibility tests with lodash for [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html).
|
|
564
|
+
|
|
565
|
+
## Version v1.14.0
|
|
566
|
+
|
|
567
|
+
Released on August 9th, 2024.
|
|
568
|
+
|
|
569
|
+
- (`es-toolkit`) Added support for [mapKeys](https://es-toolkit.slash.page/reference/object/mapKeys.html), [mapValues](https://es-toolkit.slash.page/reference/object/mapValues.html), [cloneDeep](https://es-toolkit.slash.page/reference/object/cloneDeep.html), [before](https://es-toolkit.slash.page/reference/function/before.html), [after](https://es-toolkit.slash.page/reference/function/after.html), [isSubset](https://es-toolkit.slash.page/reference/array/isSubset.html), [ary](https://es-toolkit.slash.page/reference/function/ary.html), [unary](https://es-toolkit.slash.page/reference/function/unary.html), [flattenDeep](https://es-toolkit.slash.page/reference/array/flattenDeep.html), [isEqual](https://es-toolkit.slash.page/reference/predicate/isEqual.html), [isFunction](https://es-toolkit.slash.page/reference/predicate/isFunction.html), [isBoolean](https://es-toolkit.slash.page/reference/predicate/isBoolean.html), [isPrimitive](https://es-toolkit.slash.page/reference/predicate/isPrimitive.html), and [isTypedArray](https://es-toolkit.slash.page/reference/predicate/isTypedArray.html).
|
|
570
|
+
- (`es-toolkit/compat`) Added support for [matches](https://es-toolkit.slash.page/reference/compat/predicate/matches.html), [isMatch](https://es-toolkit.slash.page/reference/compat/predicate/isMatch.html), [isArray](https://es-toolkit.slash.page/reference/compat/predicate/isArray.html), [isArrayLike](https://es-toolkit.slash.page/reference/compat/predicate/isArrayLike.html), [isObjectLike](https://es-toolkit.slash.page/reference/compat/predicate/isObjectLike.html), [isArguments](https://es-toolkit.slash.page/reference/compat/predicate/isArguments.html), [size](https://es-toolkit.slash.page/reference/compat/array/size.html), [bind](https://es-toolkit.slash.page/reference/compat/function/bind.html), [flattenDepth](https://es-toolkit.slash.page/reference/array/flatten.html), and [padStart](https://es-toolkit.slash.page/reference/compat/string/padStart.html).
|
|
571
|
+
- Added compatibility tests with lodash for many functions like [initial](https://es-toolkit.slash.page/reference/array/initial.html), [last](https://es-toolkit.slash.page/reference/array/last.html), [takeRight](https://es-toolkit.slash.page/reference/array/takeRight.html), [without](https://es-toolkit.slash.page/reference/array/without.html), [uniq](https://es-toolkit.slash.page/reference/array/uniq.html), [invert](https://es-toolkit.slash.page/reference/object/invert.html), [isNull](https://es-toolkit.slash.page/reference/predicate/isNull.html), [isUndefined](https://es-toolkit.slash.page/reference/predicate/isUndefined.html), and [isNil](https://es-toolkit.slash.page/reference/predicate/isNil.html).
|
|
572
|
+
|
|
573
|
+
## Version v1.13.1
|
|
574
|
+
|
|
575
|
+
Released on July 20th, 2024.
|
|
576
|
+
|
|
577
|
+
- Use the compatibility layer `es-toolkit/compat` in legacy CDN builds.
|
|
578
|
+
|
|
579
|
+
## Version v1.13.0
|
|
580
|
+
|
|
581
|
+
Released on July 20th, 2024.
|
|
582
|
+
|
|
583
|
+
`es-toolkit` can now be used in various CDNs, like [unpkg](https://unpkg.com) and [jsdelivr](https://www.jsdelivr.com). See more in our [usage docs](https://es-toolkit.slash.page/usage.html)
|
|
584
|
+
|
|
585
|
+
### Features
|
|
586
|
+
|
|
587
|
+
- Added support for [flattenObject](https://es-toolkit.slash.page/reference/object/flattenObject.html), [isPlainObject](https://es-toolkit.slash.page/reference/predicate/isPlainObject.html), [isLength](https://es-toolkit.slash.page/reference/predicate/isLength.html). ([3e60443](https://github.com/toss/es-toolkit/commit/3e60443a408d3296e4a18a1601a16f5953d414f9), [3764993](https://github.com/toss/es-toolkit/commit/376499351f347c269400ee0eeb5145ad041c7c06), [#245](https://github.com/toss/es-toolkit/pull/245))
|
|
588
|
+
- Added support for [concat](https://es-toolkit.slash.page/reference/compat/array/concat.html) in our compatibility layer `es-toolkit/compat`. ([e09517f](https://github.com/toss/es-toolkit/commit/e09517f05c180b43e0f2b0b0fa44167f9c4832f3))
|
|
589
|
+
|
|
590
|
+
### Lodash Compatibility
|
|
591
|
+
|
|
592
|
+
- Ensured compatibility with [difference](https://es-toolkit.slash.page/reference/array/difference.html) and [take](https://es-toolkit.slash.page/reference/compat/array/take.html)
|
|
593
|
+
|
|
594
|
+
## Version v1.12.0
|
|
595
|
+
|
|
596
|
+
Released on July 19th, 2024.
|
|
597
|
+
|
|
598
|
+
- Fixed a bug where `es-toolkit/compat` was not available in modern Node.js environments.
|
|
599
|
+
- Added support for [max](https://es-toolkit.slash.page/reference/compat/math/max.html) and [min](https://es-toolkit.slash.page/reference/compat/math/min.html) in our compatibility layer `es-toolkit/compat`. ([e1e6e38](https://github.com/toss/es-toolkit/commit/e1e6e38206750fb90f5b99cace9196635288e21c))
|
|
600
|
+
|
|
601
|
+
## Version v1.11.0
|
|
602
|
+
|
|
603
|
+
Released on July 18th, 2024.
|
|
604
|
+
|
|
605
|
+
### Introducing `es-toolkit/compat`
|
|
606
|
+
|
|
607
|
+
We're introducing `es-toolkit/compat`, a new module designed as a drop-in replacement for lodash. It replicates lodash's API, making it easier to switch between the two libraries.
|
|
608
|
+
|
|
609
|
+
`es-toolkit/compat` is undergoing rigorous testing using real `lodash` test cases. Initial benchmarks suggest it's typically 5% slower and increases bundle size by 10% compared to the original `es-toolkit`.
|
|
610
|
+
|
|
611
|
+
This module is intended to facilitate a smooth transition and should be replaced with the original `es-toolkit` for optimal performance once migration is complete.
|
|
612
|
+
|
|
613
|
+
For more information, see our [compatibility documentation](https://es-toolkit.slash.page/compatibility.html).
|
|
614
|
+
|
|
615
|
+
### Features
|
|
616
|
+
|
|
617
|
+
- Added support for [get](https://es-toolkit.slash.page/reference/compat/object/get.html) and [set](https://es-toolkit.slash.page/reference/compat/object/set.html) in our compatibility layer `es-toolkit/compat`. (https://github.com/toss/es-toolkit/pull/232, https://github.com/toss/es-toolkit/pull/223)
|
|
618
|
+
- Added support for [zipObjectDeep](https://es-toolkit.slash.page/reference/compat/array/zipObjectDeep.html) in our compatibility layer `es-toolkit/compat`. (https://github.com/toss/es-toolkit/pull/150)
|
|
619
|
+
- Added support for [flatMap](https://es-toolkit.slash.page/reference/compat/array/flatMap.html). (https://github.com/toss/es-toolkit/pull/209)
|
|
620
|
+
- Added support for [startCase](https://es-toolkit.slash.page/reference/string/startCase.html), [startsWith](https://es-toolkit.slash.page/reference/string/startsWith.html), and [endsWith](https://es-toolkit.slash.page/reference/string/endsWith.html). (https://github.com/toss/es-toolkit/pull/224).
|
|
621
|
+
- Added support for [withTimeout](https://es-toolkit.slash.page/reference/promise/withTimeout.html). (https://github.com/toss/es-toolkit/pull/210)
|
|
622
|
+
|
|
623
|
+
### Bug fixes
|
|
624
|
+
|
|
625
|
+
- Fixed `drop` and `dropRight` incorrectly accepting negative integers. (https://github.com/toss/es-toolkit/pull/218)
|
|
626
|
+
- Fixed `invert` not to invert inherited properties. (https://github.com/toss/es-toolkit/pull/221)
|
|
627
|
+
|
|
628
|
+
### Performance Improvements
|
|
629
|
+
|
|
630
|
+
- Improved performance for `dropRightWhile`. (https://github.com/toss/es-toolkit/pull/220)
|
|
631
|
+
|
|
632
|
+
## Version v1.10.1
|
|
633
|
+
|
|
634
|
+
Released on July 15th, 2024.
|
|
635
|
+
|
|
636
|
+
- Fixed [camelCase](https://es-toolkit.slash.page/reference/string/camelCase.html) using `capitalize` from incorrect import. ([8dda135](https://github.com/toss/es-toolkit/commit/8dda135fa339ae4953908a74b2e6eeca9f163a20))
|
|
637
|
+
|
|
638
|
+
## Version v1.10.0
|
|
639
|
+
|
|
640
|
+
Released on July 14th, 2024.
|
|
641
|
+
|
|
642
|
+
### Features
|
|
643
|
+
|
|
644
|
+
- Add support for [capitalize](https://es-toolkit.slash.page/reference/string/capitalize.html), [snakeCase](https://es-toolkit.slash.page/reference/string/snakeCase.html), [kebabCase](https://es-toolkit.slash.page/reference/string/kebabCase.html), [camelCase](https://es-toolkit.slash.page/reference/string/camelCase.html) and [lowerCase](https://es-toolkit.slash.page/reference/string/lowerCase.html). (https://github.com/toss/es-toolkit/pull/152, https://github.com/toss/es-toolkit/pull/161, https://github.com/toss/es-toolkit/pull/162, https://github.com/toss/es-toolkit/pull/166, [21d6530](https://github.com/toss/es-toolkit/commit/21d6530e16471d596410d57d59fd3ced8fc5569f)).
|
|
645
|
+
- Add support for [negate](https://es-toolkit.slash.page/reference/function/negate.html). (https://github.com/toss/es-toolkit/pull/177)
|
|
646
|
+
- Add support for [isEqual](https://es-toolkit.slash.page/reference/predicate/isEqual.html). (https://github.com/toss/es-toolkit/pull/174)
|
|
647
|
+
- Add support for [clone](https://es-toolkit.slash.page/reference/object/clone.html). (https://github.com/toss/es-toolkit/pull/155)
|
|
648
|
+
- Add support for [toFilled](https://es-toolkit.slash.page/reference/array/toFilled.html). (https://github.com/toss/es-toolkit/pull/154)
|
|
649
|
+
- Add support for [initial](https://es-toolkit.slash.page/reference/array/initial.html) and [last](https://es-toolkit.slash.page/reference/array/last.html). (https://github.com/toss/es-toolkit/pull/188, https://github.com/toss/es-toolkit/pull/149)
|
|
650
|
+
- Add support for [flattenDeep](https://es-toolkit.slash.page/reference/array/flattenDeep.html). (https://github.com/toss/es-toolkit/pull/160)
|
|
651
|
+
|
|
652
|
+
### Performance Improvements
|
|
653
|
+
|
|
654
|
+
- Optimize the performance of [isNil](https://es-toolkit.slash.page/reference/predicate/isNil.html) by simplifying its check. ([489ac76](https://github.com/toss/es-toolkit/commit/489ac76fc62f97cbfa3ca9eec2e0a4c03c4f5b1c))
|
|
655
|
+
- Optimize the performance of [sum](https://es-toolkit.slash.page/reference/array/sum.html). (https://github.com/toss/es-toolkit/pull/155)
|
|
656
|
+
|
|
657
|
+
## Version v1.9.0
|
|
658
|
+
|
|
659
|
+
Released on July 10th, 2024.
|
|
660
|
+
|
|
661
|
+
- Add support for [head](https://es-toolkit.slash.page/reference/array/head.html) and [tail](https://es-toolkit.slash.page/reference/array/tail.html). (https://github.com/toss/es-toolkit/pull/131, https://github.com/toss/es-toolkit/pull/143).
|
|
662
|
+
- Add support for [unzip](https://es-toolkit.slash.page/reference/array/unzip.html). (https://github.com/toss/es-toolkit/pull/130)
|
|
663
|
+
- Add support for [flatten](https://es-toolkit.slash.page/reference/array/flatten.html), which is six times faster than `Array#flat`. (https://github.com/toss/es-toolkit/pull/147)
|
|
664
|
+
|
|
665
|
+
## Version v1.8.0
|
|
666
|
+
|
|
667
|
+
Released on July 5th, 2024.
|
|
668
|
+
|
|
669
|
+
- Add support for [orderBy](https://es-toolkit.slash.page/reference/array/orderBy.html). (https://github.com/toss/es-toolkit/pull/123)
|
|
670
|
+
- Add support for [invert](https://es-toolkit.slash.page/reference/array/invert.html). (https://github.com/toss/es-toolkit/pull/125)
|
|
671
|
+
- Add support for [inRange](https://es-toolkit.slash.page/reference/array/inRange.html). (https://github.com/toss/es-toolkit/pull/124)
|
|
672
|
+
|
|
673
|
+
## Version v1.7.1
|
|
674
|
+
|
|
675
|
+
Released on July 3rd, 2024.
|
|
676
|
+
|
|
677
|
+
- Add support for [unzipWith](https://es-toolkit.slash.page/reference/array/unzipWith.html). (https://github.com/toss/es-toolkit/pull/113)
|
|
678
|
+
- Add support for [forEachRight](https://es-toolkit.slash.page/reference/array/forEachRight.html). (https://github.com/toss/es-toolkit/pull/119)
|
|
679
|
+
- Add support for [countBy](https://es-toolkit.slash.page/reference/array/countBy.html). (https://github.com/toss/es-toolkit/pull/117)
|
|
680
|
+
- Add support for [without](https://es-toolkit.slash.page/reference/array/without.html). (https://github.com/toss/es-toolkit/pull/115)
|
|
681
|
+
- Add support for [fill](https://es-toolkit.slash.page/reference/array/fill.html). (https://github.com/toss/es-toolkit/pull/109)
|
|
682
|
+
- Add support for [sampleSize](https://es-toolkit.slash.page/reference/array/sampleSize.html). (https://github.com/toss/es-toolkit/pull/101)
|
|
683
|
+
- Add support for [meanBy](https://es-toolkit.slash.page/reference/math/meanBy.html). (https://github.com/toss/es-toolkit/pull/104)
|
|
684
|
+
- Accept number and symbol keys in [keyBy](https://es-toolkit.slash.page/reference/array/keyBy.html) and [groupBy](https://es-toolkit.slash.page/reference/array/groupBy.html) (https://github.com/toss/es-toolkit/pull/98, https://github.com/toss/es-toolkit/pull/99)
|
|
685
|
+
|
|
686
|
+
## Version v1.6.1
|
|
687
|
+
|
|
688
|
+
Released on June 30th, 2024.
|
|
689
|
+
|
|
690
|
+
- Publish package on [JSR](https://jsr.io/@es-toolkit/es-toolkit).
|
|
691
|
+
|
|
692
|
+
## Version v1.6.0
|
|
693
|
+
|
|
694
|
+
Released on June 30th, 2024.
|
|
695
|
+
|
|
696
|
+
### Features
|
|
697
|
+
|
|
698
|
+
- Add support for [keyBy](https://es-toolkit.slash.page/reference/array/keyBy.html). (https://github.com/toss/es-toolkit/pull/93).
|
|
699
|
+
- Add support for [zipObject](https://es-toolkit.slash.page/reference/array/zipObject.html). (https://github.com/toss/es-toolkit/pull/92).
|
|
700
|
+
- Add support for [compact](https://es-toolkit.slash.page/reference/array/compact.html). ([60ae59b](https://github.com/toss/es-toolkit/commit/60ae59bcfee69992e5447322e1da9cb7631c5745))
|
|
701
|
+
- Add support for [mean](https://es-toolkit.slash.page/reference/math/mean.html). ([715bc60](https://github.com/toss/es-toolkit/commit/715bc60b26bb24ad490b8befe16204050699f0c0))
|
|
702
|
+
|
|
703
|
+
## Version v1.5.0
|
|
704
|
+
|
|
705
|
+
Released on June 28th, 2024.
|
|
706
|
+
|
|
707
|
+
### Features
|
|
708
|
+
|
|
709
|
+
- Add support for [range](https://es-toolkit.slash.page/reference/math/range.html). (https://github.com/toss/es-toolkit/pull/77, [2db11d8](https://github.com/toss/es-toolkit/commit/2db11d8882f6d7b0b53271c76f4c5007b6a9181e)).
|
|
710
|
+
- Add support for [minBy](https://es-toolkit.slash.page/reference/math/minBy.html) (https://github.com/toss/es-toolkit/pull/71).
|
|
711
|
+
- Add support for [maxBy](https://es-toolkit.slash.page/reference/math/maxBy.html) (https://github.com/toss/es-toolkit/pull/64).
|
|
712
|
+
|
|
713
|
+
### Bug fixes
|
|
714
|
+
|
|
715
|
+
- Enforce stricter argument types in `pickBy` and `omitBy`. (https://github.com/toss/es-toolkit/pull/60)
|
|
716
|
+
- Fix a bug in `difference` where one array parameter was not readonly. (https://github.com/toss/es-toolkit/pull/83)
|
|
717
|
+
- Fix a bug in `round` where it incorrectly accepts floating-point numbers as `precision`. (https://github.com/toss/es-toolkit/pull/79)
|
|
718
|
+
|
|
719
|
+
## Version v1.4.0
|
|
720
|
+
|
|
721
|
+
Released on June 15th, 2024.
|
|
722
|
+
|
|
723
|
+
### Features
|
|
724
|
+
|
|
725
|
+
- Add support for [random](https://es-toolkit.slash.page/reference/math/random.html). (https://github.com/toss/es-toolkit/pull/53)
|
|
726
|
+
- Add support for [randomInt](https://es-toolkit.slash.page/reference/math/randomInt.html). ([99a34e4](https://github.com/toss/es-toolkit/commit/99a34e4e9944c1b843e9d97dff0b5ff4e5eec260))
|
|
727
|
+
- Add support for using AbortSignals to cancel the `Promise` returned by `delay`. (https://github.com/toss/es-toolkit/pull/52)
|
|
728
|
+
|
|
729
|
+
### Performance Optimizations
|
|
730
|
+
|
|
731
|
+
- Optimized `uniqBy`. ([60e7974](https://github.com/toss/es-toolkit/commit/60e79741271e645bfa551f708466e43b136f69b1))
|
|
732
|
+
|
|
733
|
+
## Version v1.3.1
|
|
734
|
+
|
|
735
|
+
Released on June 15th, 2024.
|
|
736
|
+
|
|
737
|
+
- Fixed a bug in `dropWhile` where it incorrectly returned the entire array when no elements matched the predicate. (https://github.com/toss/es-toolkit/pull/49)
|
|
738
|
+
|
|
739
|
+
## Version v1.3.0
|
|
740
|
+
|
|
741
|
+
Released on June 14th, 2024.
|
|
742
|
+
|
|
743
|
+
### Features
|
|
744
|
+
|
|
745
|
+
- Add support for using AbortSignals to cancel `debounce`d functions. (https://github.com/toss/es-toolkit/pull/45)
|
|
746
|
+
|
|
747
|
+
### Performance Optimizations
|
|
748
|
+
|
|
749
|
+
- Optimize the time complexity of `intersection`. (https://github.com/toss/es-toolkit/pull/47)
|
|
750
|
+
|
|
751
|
+
## Version v1.2.2
|
|
752
|
+
|
|
753
|
+
Released on June 13th, 2024.
|
|
754
|
+
|
|
755
|
+
- Add support for `readonly` arrays in array utilities. (https://github.com/toss/es-toolkit/pull/32, [e595e5e](https://github.com/toss/es-toolkit/commit/e595e5e017e1f2cb138b1ad3d708635efc5e289e))
|
|
756
|
+
- Optimize the time complexity of `uniq`. (https://github.com/toss/es-toolkit/pull/40)
|
|
757
|
+
- Optimize the time complexity of `intersectionBy`. (https://github.com/toss/es-toolkit/pull/44)
|
|
758
|
+
|
|
759
|
+
## Version v1.2.1
|
|
760
|
+
|
|
761
|
+
Released on June 13th, 2024.
|
|
762
|
+
|
|
763
|
+
- Ensure that the `omit` and `pick` functions only accept plain JavaScript objects as arguments. (https://github.com/toss/es-toolkit/pull/35)
|
|
764
|
+
|
|
765
|
+
## Version v1.2.0
|
|
766
|
+
|
|
767
|
+
Released on June 8th, 2024.
|
|
768
|
+
|
|
769
|
+
### Features
|
|
770
|
+
|
|
771
|
+
- Added the `noop` function. (https://github.com/toss/es-toolkit/commit/678028dd3d60509b99dfec47aed7f1088140d19d)
|
|
772
|
+
|
|
773
|
+
### Performance Improvements
|
|
774
|
+
|
|
775
|
+
- Optimized the `difference` and `differenceBy` functions for better performance with large arrays. (https://github.com/toss/es-toolkit/pull/27, https://github.com/toss/es-toolkit/pull/28)
|
|
776
|
+
|
|
777
|
+
### Bug fixes
|
|
778
|
+
|
|
779
|
+
- Fixed `shuffle` to ensure it does not modify the original array. (https://github.com/toss/es-toolkit/pull/29)
|
|
780
|
+
|
|
781
|
+
## Version v1.1.0
|
|
782
|
+
|
|
783
|
+
Released on June 5th, 2024.
|
|
784
|
+
|
|
785
|
+
- Support passing arguments to throttled and debounced functions. (https://github.com/toss/es-toolkit/pull/26)
|
|
786
|
+
|
|
787
|
+
## Version v1.0.4
|
|
788
|
+
|
|
789
|
+
Released on June 4th, 2024.
|
|
790
|
+
|
|
791
|
+
- Provide correct type declarations for ECMAScript Modules. (https://github.com/toss/es-toolkit/pull/21)
|
|
792
|
+
|
|
793
|
+
## Version v1.0.3
|
|
794
|
+
|
|
795
|
+
Released on June 3rd, 2024.
|
|
796
|
+
|
|
797
|
+
- Provide correct types for `"module": "Node"`, ` "Node10"`, and `"Node16"`. (https://github.com/toss/es-toolkit/pull/16)
|
|
798
|
+
|
|
799
|
+
## Version v1.0.2
|
|
800
|
+
|
|
801
|
+
Initial release. Released on May 31th, 2024.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Equals<T, U> = (<X>() => X extends T ? 1 : 2) extends <X>() => X extends U ? 1 : 2 ? true : false;
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
2018-06-17: Version 4.0.1
|
|
2
|
+
|
|
3
|
+
* Fix parsing async get/set in a class (issue 1861, 1875)
|
|
4
|
+
* Account for different return statement argument (issue 1829, 1897, 1928)
|
|
5
|
+
* Correct the handling of HTML comment when parsing a module (issue 1841)
|
|
6
|
+
* Fix incorrect parse async with proto-identifier-shorthand (issue 1847)
|
|
7
|
+
* Fix negative column in binary expression (issue 1844)
|
|
8
|
+
* Fix incorrect YieldExpression in object methods (issue 1834)
|
|
9
|
+
* Various documentation fixes
|
|
10
|
+
|
|
11
|
+
2017-06-10: Version 4.0.0
|
|
12
|
+
|
|
13
|
+
* Support ES2017 async function and await expression (issue 1079)
|
|
14
|
+
* Support ES2017 trailing commas in function parameters (issue 1550)
|
|
15
|
+
* Explicitly distinguish parsing a module vs a script (issue 1576)
|
|
16
|
+
* Fix JSX non-empty container (issue 1786)
|
|
17
|
+
* Allow JSX element in a yield expression (issue 1765)
|
|
18
|
+
* Allow `in` expression in a concise body with a function body (issue 1793)
|
|
19
|
+
* Setter function argument must not be a rest parameter (issue 1693)
|
|
20
|
+
* Limit strict mode directive to functions with a simple parameter list (issue 1677)
|
|
21
|
+
* Prohibit any escape sequence in a reserved word (issue 1612)
|
|
22
|
+
* Only permit hex digits in hex escape sequence (issue 1619)
|
|
23
|
+
* Prohibit labelled class/generator/function declaration (issue 1484)
|
|
24
|
+
* Limit function declaration as if statement clause only in non-strict mode (issue 1657)
|
|
25
|
+
* Tolerate missing ) in a with and do-while statement (issue 1481)
|
|
26
|
+
|
|
27
|
+
2016-12-22: Version 3.1.3
|
|
28
|
+
|
|
29
|
+
* Support binding patterns as rest element (issue 1681)
|
|
30
|
+
* Account for different possible arguments of a yield expression (issue 1469)
|
|
31
|
+
|
|
32
|
+
2016-11-24: Version 3.1.2
|
|
33
|
+
|
|
34
|
+
* Ensure that import specifier is more restrictive (issue 1615)
|
|
35
|
+
* Fix duplicated JSX tokens (issue 1613)
|
|
36
|
+
* Scan template literal in a JSX expression container (issue 1622)
|
|
37
|
+
* Improve XHTML entity scanning in JSX (issue 1629)
|
|
38
|
+
|
|
39
|
+
2016-10-31: Version 3.1.1
|
|
40
|
+
|
|
41
|
+
* Fix assignment expression problem in an export declaration (issue 1596)
|
|
42
|
+
* Fix incorrect tokenization of hex digits (issue 1605)
|
|
43
|
+
|
|
44
|
+
2016-10-09: Version 3.1.0
|
|
45
|
+
|
|
46
|
+
* Do not implicitly collect comments when comment attachment is specified (issue 1553)
|
|
47
|
+
* Fix incorrect handling of duplicated proto shorthand fields (issue 1485)
|
|
48
|
+
* Prohibit initialization in some variants of for statements (issue 1309, 1561)
|
|
49
|
+
* Fix incorrect parsing of export specifier (issue 1578)
|
|
50
|
+
* Fix ESTree compatibility for assignment pattern (issue 1575)
|
|
51
|
+
|
|
52
|
+
2016-09-03: Version 3.0.0
|
|
53
|
+
|
|
54
|
+
* Support ES2016 exponentiation expression (issue 1490)
|
|
55
|
+
* Support JSX syntax (issue 1467)
|
|
56
|
+
* Use the latest Unicode 8.0 (issue 1475)
|
|
57
|
+
* Add the support for syntax node delegate (issue 1435)
|
|
58
|
+
* Fix ESTree compatibility on meta property (issue 1338)
|
|
59
|
+
* Fix ESTree compatibility on default parameter value (issue 1081)
|
|
60
|
+
* Fix ESTree compatibility on try handler (issue 1030)
|
|
61
|
+
|
|
62
|
+
2016-08-23: Version 2.7.3
|
|
63
|
+
|
|
64
|
+
* Fix tokenizer confusion with a comment (issue 1493, 1516)
|
|
65
|
+
|
|
66
|
+
2016-02-02: Version 2.7.2
|
|
67
|
+
|
|
68
|
+
* Fix out-of-bound error location in an invalid string literal (issue 1457)
|
|
69
|
+
* Fix shorthand object destructuring defaults in variable declarations (issue 1459)
|
|
70
|
+
|
|
71
|
+
2015-12-10: Version 2.7.1
|
|
72
|
+
|
|
73
|
+
* Do not allow trailing comma in a variable declaration (issue 1360)
|
|
74
|
+
* Fix assignment to `let` in non-strict mode (issue 1376)
|
|
75
|
+
* Fix missing delegate property in YieldExpression (issue 1407)
|
|
76
|
+
|
|
77
|
+
2015-10-22: Version 2.7.0
|
|
78
|
+
|
|
79
|
+
* Fix the handling of semicolon in a break statement (issue 1044)
|
|
80
|
+
* Run the test suite with major web browsers (issue 1259, 1317)
|
|
81
|
+
* Allow `let` as an identifier in non-strict mode (issue 1289)
|
|
82
|
+
* Attach orphaned comments as `innerComments` (issue 1328)
|
|
83
|
+
* Add the support for token delegator (issue 1332)
|
|
84
|
+
|
|
85
|
+
2015-09-01: Version 2.6.0
|
|
86
|
+
|
|
87
|
+
* Properly allow or prohibit `let` in a binding identifier/pattern (issue 1048, 1098)
|
|
88
|
+
* Add sourceType field for Program node (issue 1159)
|
|
89
|
+
* Ensure that strict mode reserved word binding throw an error (issue 1171)
|
|
90
|
+
* Run the test suite with Node.js and IE 11 on Windows (issue 1294)
|
|
91
|
+
* Allow binding pattern with no initializer in a for statement (issue 1301)
|
|
92
|
+
|
|
93
|
+
2015-07-31: Version 2.5.0
|
|
94
|
+
|
|
95
|
+
* Run the test suite in a browser environment (issue 1004)
|
|
96
|
+
* Ensure a comma between imported default binding and named imports (issue 1046)
|
|
97
|
+
* Distinguish `yield` as a keyword vs an identifier (issue 1186)
|
|
98
|
+
* Support ES6 meta property `new.target` (issue 1203)
|
|
99
|
+
* Fix the syntax node for yield with expression (issue 1223)
|
|
100
|
+
* Fix the check of duplicated proto in property names (issue 1225)
|
|
101
|
+
* Fix ES6 Unicode escape in identifier name (issue 1229)
|
|
102
|
+
* Support ES6 IdentifierStart and IdentifierPart (issue 1232)
|
|
103
|
+
* Treat await as a reserved word when parsing as a module (issue 1234)
|
|
104
|
+
* Recognize identifier characters from Unicode SMP (issue 1244)
|
|
105
|
+
* Ensure that export and import can be followed by a comma (issue 1250)
|
|
106
|
+
* Fix yield operator precedence (issue 1262)
|
|
107
|
+
|
|
108
|
+
2015-07-01: Version 2.4.1
|
|
109
|
+
|
|
110
|
+
* Fix some cases of comment attachment (issue 1071, 1175)
|
|
111
|
+
* Fix the handling of destructuring in function arguments (issue 1193)
|
|
112
|
+
* Fix invalid ranges in assignment expression (issue 1201)
|
|
113
|
+
|
|
114
|
+
2015-06-26: Version 2.4.0
|
|
115
|
+
|
|
116
|
+
* Support ES6 for-of iteration (issue 1047)
|
|
117
|
+
* Support ES6 spread arguments (issue 1169)
|
|
118
|
+
* Minimize npm payload (issue 1191)
|
|
119
|
+
|
|
120
|
+
2015-06-16: Version 2.3.0
|
|
121
|
+
|
|
122
|
+
* Support ES6 generator (issue 1033)
|
|
123
|
+
* Improve parsing of regular expressions with `u` flag (issue 1179)
|
|
124
|
+
|
|
125
|
+
2015-04-17: Version 2.2.0
|
|
126
|
+
|
|
127
|
+
* Support ES6 import and export declarations (issue 1000)
|
|
128
|
+
* Fix line terminator before arrow not recognized as error (issue 1009)
|
|
129
|
+
* Support ES6 destructuring (issue 1045)
|
|
130
|
+
* Support ES6 template literal (issue 1074)
|
|
131
|
+
* Fix the handling of invalid/incomplete string escape sequences (issue 1106)
|
|
132
|
+
* Fix ES3 static member access restriction (issue 1120)
|
|
133
|
+
* Support for `super` in ES6 class (issue 1147)
|
|
134
|
+
|
|
135
|
+
2015-03-09: Version 2.1.0
|
|
136
|
+
|
|
137
|
+
* Support ES6 class (issue 1001)
|
|
138
|
+
* Support ES6 rest parameter (issue 1011)
|
|
139
|
+
* Expand the location of property getter, setter, and methods (issue 1029)
|
|
140
|
+
* Enable TryStatement transition to a single handler (issue 1031)
|
|
141
|
+
* Support ES6 computed property name (issue 1037)
|
|
142
|
+
* Tolerate unclosed block comment (issue 1041)
|
|
143
|
+
* Support ES6 lexical declaration (issue 1065)
|
|
144
|
+
|
|
145
|
+
2015-02-06: Version 2.0.0
|
|
146
|
+
|
|
147
|
+
* Support ES6 arrow function (issue 517)
|
|
148
|
+
* Support ES6 Unicode code point escape (issue 521)
|
|
149
|
+
* Improve the speed and accuracy of comment attachment (issue 522)
|
|
150
|
+
* Support ES6 default parameter (issue 519)
|
|
151
|
+
* Support ES6 regular expression flags (issue 557)
|
|
152
|
+
* Fix scanning of implicit octal literals (issue 565)
|
|
153
|
+
* Fix the handling of automatic semicolon insertion (issue 574)
|
|
154
|
+
* Support ES6 method definition (issue 620)
|
|
155
|
+
* Support ES6 octal integer literal (issue 621)
|
|
156
|
+
* Support ES6 binary integer literal (issue 622)
|
|
157
|
+
* Support ES6 object literal property value shorthand (issue 624)
|
|
158
|
+
|
|
159
|
+
2015-03-03: Version 1.2.5
|
|
160
|
+
|
|
161
|
+
* Fix scanning of implicit octal literals (issue 565)
|
|
162
|
+
|
|
163
|
+
2015-02-05: Version 1.2.4
|
|
164
|
+
|
|
165
|
+
* Fix parsing of LeftHandSideExpression in ForInStatement (issue 560)
|
|
166
|
+
* Fix the handling of automatic semicolon insertion (issue 574)
|
|
167
|
+
|
|
168
|
+
2015-01-18: Version 1.2.3
|
|
169
|
+
|
|
170
|
+
* Fix division by this (issue 616)
|
|
171
|
+
|
|
172
|
+
2014-05-18: Version 1.2.2
|
|
173
|
+
|
|
174
|
+
* Fix duplicated tokens when collecting comments (issue 537)
|
|
175
|
+
|
|
176
|
+
2014-05-04: Version 1.2.1
|
|
177
|
+
|
|
178
|
+
* Ensure that Program node may still have leading comments (issue 536)
|
|
179
|
+
|
|
180
|
+
2014-04-29: Version 1.2.0
|
|
181
|
+
|
|
182
|
+
* Fix semicolon handling for expression statement (issue 462, 533)
|
|
183
|
+
* Disallow escaped characters in regular expression flags (issue 503)
|
|
184
|
+
* Performance improvement for location tracking (issue 520)
|
|
185
|
+
* Improve the speed of comment attachment (issue 522)
|
|
186
|
+
|
|
187
|
+
2014-03-26: Version 1.1.1
|
|
188
|
+
|
|
189
|
+
* Fix token handling of forward slash after an array literal (issue 512)
|
|
190
|
+
|
|
191
|
+
2014-03-23: Version 1.1.0
|
|
192
|
+
|
|
193
|
+
* Optionally attach comments to the owning syntax nodes (issue 197)
|
|
194
|
+
* Simplify binary parsing with stack-based shift reduce (issue 352)
|
|
195
|
+
* Always include the raw source of literals (issue 376)
|
|
196
|
+
* Add optional input source information (issue 386)
|
|
197
|
+
* Tokenizer API for pure lexical scanning (issue 398)
|
|
198
|
+
* Improve the web site and its online demos (issue 337, 400, 404)
|
|
199
|
+
* Performance improvement for location tracking (issue 417, 424)
|
|
200
|
+
* Support HTML comment syntax (issue 451)
|
|
201
|
+
* Drop support for legacy browsers (issue 474)
|
|
202
|
+
|
|
203
|
+
2013-08-27: Version 1.0.4
|
|
204
|
+
|
|
205
|
+
* Minimize the payload for packages (issue 362)
|
|
206
|
+
* Fix missing cases on an empty switch statement (issue 436)
|
|
207
|
+
* Support escaped ] in regexp literal character classes (issue 442)
|
|
208
|
+
* Tolerate invalid left-hand side expression (issue 130)
|
|
209
|
+
|
|
210
|
+
2013-05-17: Version 1.0.3
|
|
211
|
+
|
|
212
|
+
* Variable declaration needs at least one declarator (issue 391)
|
|
213
|
+
* Fix benchmark's variance unit conversion (issue 397)
|
|
214
|
+
* IE < 9: \v should be treated as vertical tab (issue 405)
|
|
215
|
+
* Unary expressions should always have prefix: true (issue 418)
|
|
216
|
+
* Catch clause should only accept an identifier (issue 423)
|
|
217
|
+
* Tolerate setters without parameter (issue 426)
|
|
218
|
+
|
|
219
|
+
2012-11-02: Version 1.0.2
|
|
220
|
+
|
|
221
|
+
Improvement:
|
|
222
|
+
|
|
223
|
+
* Fix esvalidate JUnit output upon a syntax error (issue 374)
|
|
224
|
+
|
|
225
|
+
2012-10-28: Version 1.0.1
|
|
226
|
+
|
|
227
|
+
Improvements:
|
|
228
|
+
|
|
229
|
+
* esvalidate understands shebang in a Unix shell script (issue 361)
|
|
230
|
+
* esvalidate treats fatal parsing failure as an error (issue 361)
|
|
231
|
+
* Reduce Node.js package via .npmignore (issue 362)
|
|
232
|
+
|
|
233
|
+
2012-10-22: Version 1.0.0
|
|
234
|
+
|
|
235
|
+
Initial release.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.132",
|
|
4
4
|
"description": "Assistant-first CLI for running, inspecting, and debugging local testkit suites",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@babel/code-frame": "^7.29.0",
|
|
98
|
-
"@elench/next-analysis": "0.1.
|
|
99
|
-
"@elench/testkit-bridge": "0.1.
|
|
100
|
-
"@elench/testkit-protocol": "0.1.
|
|
101
|
-
"@elench/ts-analysis": "0.1.
|
|
98
|
+
"@elench/next-analysis": "0.1.132",
|
|
99
|
+
"@elench/testkit-bridge": "0.1.132",
|
|
100
|
+
"@elench/testkit-protocol": "0.1.132",
|
|
101
|
+
"@elench/ts-analysis": "0.1.132",
|
|
102
102
|
"@oclif/core": "^4.10.6",
|
|
103
103
|
"@playwright/test": "^1.52.0",
|
|
104
104
|
"esbuild": "^0.25.11",
|