Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e0795d

Browse files
committed
Auto-generated commit
1 parentd042618 commit7e0795d

File tree

3 files changed

+143
-5
lines changed

3 files changed

+143
-5
lines changed

‎.github/workflows/publish.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ jobs:
9494
# Replace branch in README.md link definitions for badges with the new version:
9595
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
9696
97+
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98+
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99+
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100+
97101
# Create a new commit and tag:
98102
git add package.json README.md
99103
git commit -m "Release v${NEW_VERSION}"

‎CHANGELOG.md‎

Lines changed: 130 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,133 @@
22

33
>Package changelog.
44
5-
See[GitHub Releases](https://github.com/stdlib-js/array-to-fancy/releases) for the changelog.
5+
<sectionclass="release"id="unreleased">
6+
7+
##Unreleased (2024-06-05)
8+
9+
<sectionclass="features">
10+
11+
###Features
12+
13+
-[`96e896a`](https://github.com/stdlib-js/stdlib/commit/96e896a39be08912b2e06dfb6b671ec13d042412) - add support for boolean array indices
14+
15+
</section>
16+
17+
<!-- /.features-->
18+
19+
<sectionclass="commits">
20+
21+
###Commits
22+
23+
<details>
24+
25+
-[`96e896a`](https://github.com/stdlib-js/stdlib/commit/96e896a39be08912b2e06dfb6b671ec13d042412) -**feat:** add support for boolean array indices_(by Athan Reines)_
26+
-[`75d4f83`](https://github.com/stdlib-js/stdlib/commit/75d4f83cb85610d23a04dc21a03f8075f6d3665f) -**refactor:** update require and include paths_(by Athan Reines)_
27+
28+
</details>
29+
30+
</section>
31+
32+
<!-- /.commits-->
33+
34+
<sectionclass="contributors">
35+
36+
###Contributors
37+
38+
A total of 1 person contributed to this release. Thank you to this contributor:
39+
40+
- Athan Reines
41+
42+
</section>
43+
44+
<!-- /.contributors-->
45+
46+
</section>
47+
48+
<!-- /.release-->
49+
50+
<sectionclass="release"id="v0.1.1">
51+
52+
##0.1.1 (2024-02-25)
53+
54+
<sectionclass="features">
55+
56+
###Features
57+
58+
-[`962c155`](https://github.com/stdlib-js/stdlib/commit/962c155e95241834642825085dd4aff8c2f875b3) - add boolean array tests
59+
-[`415d506`](https://github.com/stdlib-js/stdlib/commit/415d506180557388d51b876c50139f1c9f1a7760) - attach`ArrayIndex` constructor to the main export
60+
-[`993f468`](https://github.com/stdlib-js/stdlib/commit/993f4689776ac7bb86a9eed3bd5977c3549b5e1a) - add support for using index arrays in indexing expressions
61+
-[`4394246`](https://github.com/stdlib-js/stdlib/commit/4394246274c5fe1ab05e4b4dafad3217faddcb2b) - add`factory` method for specifying defaults
62+
-[`7d12ad0`](https://github.com/stdlib-js/stdlib/commit/7d12ad043d0b88e96bf645ccbe8129fcdb1f4a9e) - add`array/to-fancy`
63+
64+
</section>
65+
66+
<!-- /.features-->
67+
68+
<sectionclass="bug-fixes">
69+
70+
###Bug Fixes
71+
72+
-[`516b608`](https://github.com/stdlib-js/stdlib/commit/516b60845854eba062430bfb19073a74736c80a0) - support additional error messages
73+
-[`29e4c99`](https://github.com/stdlib-js/stdlib/commit/29e4c992e11959432a5347528df132ec56d54121) - propagate options when invoking constructor
74+
-[`7eeb330`](https://github.com/stdlib-js/stdlib/commit/7eeb3302172e9a86aa53c803fca6c7b2d2402281) - refactor to preserve constructor behavior and propagate fanciness to returned slices
75+
76+
</section>
77+
78+
<!-- /.bug-fixes-->
79+
80+
<sectionclass="commits">
81+
82+
###Commits
83+
84+
<details>
85+
86+
-[`64931c5`](https://github.com/stdlib-js/stdlib/commit/64931c5fdb4abc3a339b619658d3b5acc089e556) -**test:** add tests for unsupported index arrays_(by Athan Reines)_
87+
-[`ac40e7e`](https://github.com/stdlib-js/stdlib/commit/ac40e7e25c3bba446e70e847f2ae56f165be719a) -**test:** add invalid index expression tests_(by Athan Reines)_
88+
-[`eac06b3`](https://github.com/stdlib-js/stdlib/commit/eac06b3dbb611d739adfdf5db52f658ef62c5503) -**test:** add mask array tests_(by Athan Reines)_
89+
-[`de52a29`](https://github.com/stdlib-js/stdlib/commit/de52a29daa056e1bd68125b22e72d3796ade59d0) -**test:** fix descriptions and add error condition tests_(by Athan Reines)_
90+
-[`962c155`](https://github.com/stdlib-js/stdlib/commit/962c155e95241834642825085dd4aff8c2f875b3) -**feat:** add boolean array tests_(by Athan Reines)_
91+
-[`d21b90f`](https://github.com/stdlib-js/stdlib/commit/d21b90f459e4d3853238b8b42aa2440bd71b38c2) -**test:** add integer array tests_(by Athan Reines)_
92+
-[`9149295`](https://github.com/stdlib-js/stdlib/commit/9149295a1199abc34a98970fff7bd2ddbf29111c) -**docs:** add support for integer, mask, and boolean arrays_(by Athan Reines)_
93+
-[`b8827b4`](https://github.com/stdlib-js/stdlib/commit/b8827b493f1b5c1873ab7a96015f46fcaf8b72b2) -**bench:** add mask and boolean array benchmarks_(by Athan Reines)_
94+
-[`516b608`](https://github.com/stdlib-js/stdlib/commit/516b60845854eba062430bfb19073a74736c80a0) -**fix:** support additional error messages_(by Athan Reines)_
95+
-[`baae4a9`](https://github.com/stdlib-js/stdlib/commit/baae4a9fda67def76d8668e4417c9f9c3bffd024) -**docs:** fix missing period_(by Athan Reines)_
96+
-[`bf00a42`](https://github.com/stdlib-js/stdlib/commit/bf00a4264a988a748bfbba8c23516ac958660a0f) -**test:** add`ArrayIndex` constructor tests_(by Athan Reines)_
97+
-[`415d506`](https://github.com/stdlib-js/stdlib/commit/415d506180557388d51b876c50139f1c9f1a7760) -**feat:** attach`ArrayIndex` constructor to the main export_(by Athan Reines)_
98+
-[`3e53527`](https://github.com/stdlib-js/stdlib/commit/3e53527323fd705302af15cc66e5dffe45f2cd12) -**bench:** avoid running benchmarks in environments lacking Proxy support_(by Athan Reines)_
99+
-[`7137673`](https://github.com/stdlib-js/stdlib/commit/7137673f0798ef13d7c9fd7becf78e557b1d583b) -**docs:** update related packages sections (#1315)_(by stdlib-bot)_
100+
-[`d278dc9`](https://github.com/stdlib-js/stdlib/commit/d278dc97ff3c6cbf19dd1ab1fa509b17651ec5db) -**docs:** update note_(by Athan Reines)_
101+
-[`993f468`](https://github.com/stdlib-js/stdlib/commit/993f4689776ac7bb86a9eed3bd5977c3549b5e1a) -**feat:** add support for using index arrays in indexing expressions_(by Athan Reines)_
102+
-[`9d78727`](https://github.com/stdlib-js/stdlib/commit/9d7872745d201ef9887ccaae9305940abcf57ebc) -**test:** add tests for assigning real-valued arrays to complex-valued arrays_(by Athan Reines)_
103+
-[`0188a12`](https://github.com/stdlib-js/stdlib/commit/0188a124778cd4af49a3fbb3ebbeb93f6e7e451f) -**docs:** update copy and clarify identifier_(by Athan Reines)_
104+
-[`974889e`](https://github.com/stdlib-js/stdlib/commit/974889e16063cfd28ac32cd90e8d422d669387a2) -**docs:** add note on bounds checking and update cache documentation_(by Athan Reines)_
105+
-[`4394246`](https://github.com/stdlib-js/stdlib/commit/4394246274c5fe1ab05e4b4dafad3217faddcb2b) -**feat:** add`factory` method for specifying defaults_(by Athan Reines)_
106+
-[`29e4c99`](https://github.com/stdlib-js/stdlib/commit/29e4c992e11959432a5347528df132ec56d54121) -**fix:** propagate options when invoking constructor_(by Athan Reines)_
107+
-[`c54fad0`](https://github.com/stdlib-js/stdlib/commit/c54fad0073529822e76c693a17ca168162f89c82) -**docs:** add note_(by Athan Reines)_
108+
-[`7eeb330`](https://github.com/stdlib-js/stdlib/commit/7eeb3302172e9a86aa53c803fca6c7b2d2402281) -**fix:** refactor to preserve constructor behavior and propagate fanciness to returned slices_(by Athan Reines)_
109+
-[`7442058`](https://github.com/stdlib-js/stdlib/commit/7442058f050c7cc6a4d8b24f2e619f275ea5aae8) -**docs:** update copy_(by Athan Reines)_
110+
-[`cdad4f0`](https://github.com/stdlib-js/stdlib/commit/cdad4f0f86efcfb5ef21373c83d454de0a7f7ee2) -**docs:** fix lint errors_(by Athan Reines)_
111+
-[`7d12ad0`](https://github.com/stdlib-js/stdlib/commit/7d12ad043d0b88e96bf645ccbe8129fcdb1f4a9e) -**feat:** add`array/to-fancy`_(by Athan Reines)_
112+
113+
</details>
114+
115+
</section>
116+
117+
<!-- /.commits-->
118+
119+
<sectionclass="contributors">
120+
121+
###Contributors
122+
123+
A total of 1 person contributed to this release. Thank you to this contributor:
124+
125+
- Athan Reines
126+
127+
</section>
128+
129+
<!-- /.contributors-->
130+
131+
</section>
132+
133+
<!-- /.release-->
134+

‎docs/types/test.ts‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
importComplex128Array= require('@stdlib/array-complex128');
2020
importComplex64Array= require('@stdlib/array-complex64');
21+
importBooleanArray= require('@stdlib/array-bool');
2122
importarray2fancy= require('./index');
2223

2324

@@ -168,16 +169,20 @@ import array2fancy = require( './index' );
168169
consty=[true,false,true,false];
169170
constz=newUint8Array([1,0,1,0]);
170171
constw=newInt32Array([1,2,3,4]);
172+
constv=newBooleanArray([true,false,true,false]);
171173

172-
array2fancy.idx(x);// $ExpectTypeIntegerArrayIndex
173-
array2fancy.idx(x,{});// $ExpectTypeIntegerArrayIndex
174+
array2fancy.idx(x);// $ExpectTypeGenericIntegerArrayIndex
175+
array2fancy.idx(x,{});// $ExpectTypeGenericIntegerArrayIndex
174176

175-
array2fancy.idx(y);// $ExpectTypeBooleanArrayIndex
176-
array2fancy.idx(y,{});// $ExpectTypeBooleanArrayIndex
177+
array2fancy.idx(y);// $ExpectTypeGenericBooleanArrayIndex
178+
array2fancy.idx(y,{});// $ExpectTypeGenericBooleanArrayIndex
177179

178180
array2fancy.idx(z);// $ExpectType MaskArrayIndex
179181
array2fancy.idx(z,{});// $ExpectType MaskArrayIndex
180182

181183
array2fancy.idx(w);// $ExpectType Int32ArrayIndex
182184
array2fancy.idx(w,{});// $ExpectType Int32ArrayIndex
185+
186+
array2fancy.idx(v);// $ExpectType BooleanArrayIndex
187+
array2fancy.idx(v,{});// $ExpectType BooleanArrayIndex
183188
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp