8000 Auto-generated commit · stdlib-js/ndarray-empty@b3a0a85 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3a0a85

Browse files
committed
Auto-generated commit
1 parent b4194a5 commit b3a0a85

15 files changed

+402
-22
lines changed

.gitattributes

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,27 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/dist/** linguist-generated
48+
/workshops/** linguist-vendored
49+
50+
benchmark/** linguist-vendored
51+
docs/* linguist-documentation
52+
etc/** linguist-vendored
53+
examples/** linguist-documentation
54+
scripts/** linguist-vendored
55+
test/** linguist-vendored
56+
tools/** linguist-vendored
57+
58+
# Configure files which should *not* be included in GitHub language statistics:
59+
Makefile linguist-vendored
60+
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
64+
65+
# Configure files which should be included in GitHub language statistics:
66+
docs/types/*.d.ts -linguist-documentation

.github/workflows/productionize.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ jobs:
344344
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
345345
with:
346346
status: ${{ job.status }}
347-
steps: ${{ toJson(steps) }}
348347
channel: '#npm-ci'
349348
if: failure()
350349

@@ -518,7 +517,6 @@ jobs:
518517
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
519518
with:
520519
status: ${{ job.status }}
521-
steps: ${{ toJson(steps) }}
522520
channel: '#npm-ci'
523521
if: failure()
524522

@@ -698,7 +696,6 @@ jobs:
698696
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
699697
with:
700698
status: ${{ job.status }}
701-
steps: ${{ toJson(steps) }}
702699
channel: '#npm-ci'
703700
if: failure()
704701

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
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}"
@@ -218,7 +222,6 @@ jobs:
218222
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
219223
with:
220224
status: ${{ job.status }}
221-
steps: ${{ toJson(steps) }}
222225
channel: '#npm-ci'
223226
if: failure()
224227

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ jobs:
9595
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9696
with:
9797
status: ${{ job.status }}
98-
steps: ${{ toJson(steps) }}
9998
channel: '#npm-ci'
10099
if: failure()

.github/workflows/test_bundles.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9595
with:
9696
status: ${{ job.status }}
97-
steps: ${{ toJson(steps) }}
9897
channel: '#npm-ci'
9998
if: failure()
10099

@@ -139,7 +138,6 @@ jobs:
139138
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
140139
with:
141140
status: ${{ job.status }}
142-
steps: ${{ toJson(steps) }}
143141
channel: '#npm-ci'
144142
if: failure()
145143

@@ -184,6 +182,5 @@ jobs:
184182
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
185183
with:
186184
status: ${{ job.status }}
187-
steps: ${{ toJson(steps) }}
188185
channel: '#npm-ci'
189186
if: failure()

.github/workflows/test_coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ jobs:
119119
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120120
with:
121121
status: ${{ job.status }}
122-
steps: ${{ toJson(steps) }}
123122
channel: '#npm-ci'
124123
if: failure()
125124

.github/workflows/test_install.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ jobs:
8181
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
8282
with:
8383
status: ${{ job.status }}
84-
steps: ${{ toJson(steps) }}
8584
channel: '#npm-ci'
8685
if: failure()

CHANGELOG.md

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

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/ndarray-empty/releases) for the changelog.
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2024-07-13)
8+
9+
<section class="features">
10+
11+
### Features
12+
13+
- [`71cf5a0`](https://github.com/stdlib-js/stdlib/commit/71cf5a05a13d12aed627d332147642adc4694ab9) - add boolean dtype support to `ndarray/empty*` and `ndarray/base/empty*` packages [(#2588)](https://github.com/stdlib-js/stdlib/pull/2588)
14+
15+
</section>
16+
17+
<!-- /.features -->
18+
19+
<section class="commits">
20+
21+
### Commits
22+
23+
<details>
24+
25+
- [`71cf5a0`](https://github.com/stdlib-js/stdlib/commit/71cf5a05a13d12aed627d332147642adc4694ab9) - **feat:** add boolean dtype support to `ndarray/empty*` and `ndarray/base/empty*` packages [(#2588)](https://github.com/stdlib-js/stdlib/pull/2588) _(by Jaysukh Makvana, Athan Reines)_
26+
27+
</details>
28+
29+
</section>
30+
31+
<!-- /.commits -->
32+
33+
<section class="contributors">
34+
35+
### Contributors
36+
37+
A total of 2 people contributed to this release. Thank you to the following contributors:
38+
39+
- Athan Reines
40+
- Jaysukh Makvana
41+
42+
</section>
43+
44+
<!-- /.contributors -->
45+
46+
</section>
47+
48+
<!-- /.release -->
49+
50+
<section class="release" id="v0.2.1">
51+
52+
## 0.2.1 (2024-02-25)
53+
54+
<section class="features">
55+
56+
### Features
57+
58+
- [`9ed4346`](https://github.com/stdlib-js/stdlib/commit/9ed4346eb686d5c3d95467dfd8db4a6f5ef5fb6b) - document support for `normalize` index mode
59+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - update minimum TypeScript version
60+
- [`910fed5`](https://github.com/stdlib-js/stdlib/commit/910fed5f346f7d5ac2d94a41e50c9eff2219518e) - add `ndarray/empty`
61+
62+
</section>
63+
64+
<!-- /.features -->
65+
66+
<section class="bug-fixes">
67+
68+
### Bug Fixes
69+
70+
- [`def989d`](https://github.com/stdlib-js/stdlib/commit/def989d20c35d4cb0834e91324177abc8f522626) - resolve type declaration typo by removing stray lint directive
71+
- [`06712ce`](https://github.com/stdlib-js/stdlib/commit/06712ce614899b7bf573e6323532a48a452526fe) - fix package name and keywords
72+
73+
</section>
74+
75+
<!-- /.bug-fixes -->
76+
77+
<section class="breaking-changes">
78+
79+
### BREAKING CHANGES
80+
81+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version
82+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version to 4.1
83+
84+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
85+
86+
</section>
87+
88+
<!-- /.breaking-changes -->
89+
90+
<section class="commits">
91+
92+
### Commits
93+
94+
<details>
95+
96+
- [`9ed4346`](https://github.com/stdlib-js/stdlib/commit/9ed4346eb686d5c3d95467dfd8db4a6f5ef5fb6b) - **feat:** document support for `normalize` index mode _(by Athan Reines)_
97+
- [`def989d`](https://github.com/stdlib-js/stdlib/commit/def989d20c35d4cb0834e91324177abc8f522626) - **fix:** resolve type declaration typo by removing stray lint directive _(by Philipp Burckhardt)_
98+
- [`6b34523`](https://github.com/stdlib-js/stdlib/commit/6b3452322174342479d6c8b3277c3efee65d4cc0) - **docs:** update links _(by Athan Reines)_
99+
- [`bf2cf8b`](https://github.com/stdlib-js/stdlib/commit/bf2cf8b0424e608a4e3abb6d18a8b44d790aa99c) - **build:** remove tslint directives _(by Philipp Burckhardt)_
100+
- [`c9b2252`](https://github.com/stdlib-js/stdlib/commit/c9b22527ae39831cd16f6f250b27821badc4bddf) - **chore:** add keyword _(by Athan Reines)_
101+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
102+
- [`d04286d`](https://github.com/stdlib-js/stdlib/commit/d04286dbb94df5a5daf62e008006285b7e84efa5) - **refactor:** use ndarray defaults _(by Athan Reines)_
103+
- [`aeca0a6`](https://github.com/stdlib-js/stdlib/commit/aeca0a63fed9aaff133ad6b93e10c7cdadc6c5cd) - **docs:** update note _(by Athan Reines)_
104+
- [`9fac15c`](https://github.com/stdlib-js/stdlib/commit/9fac15ccfdf4b3b1b5b92442e56b077c6b69fa42) - **docs:** remove unsupport option _(by Athan Reines)_
105+
- [`99d42a5`](https://github.com/stdlib-js/stdlib/commit/99d42a595b0466f36293718bd7be43bf01edc5ed) - **test:** add `binary` dtype tests _(by Athan Reines)_
106+
- [`06712ce`](https://github.com/stdlib-js/stdlib/commit/06712ce614899b7bf573e6323532a48a452526fe) - **fix:** fix package name and keywords _(by Athan Reines)_
107+
- [`910fed5`](https://github.com/stdlib-js/stdlib/commit/910fed5f346f7d5ac2d94a41e50c9eff2219518e) - **feat:** add `ndarray/empty` _(by Athan Reines)_
108+
109+
</details>
110+
111+
</section>
112+
113+
<!-- /.commits -->
114+
115+
<section class="contributors">
116+
117+
### Contributors
118+
119+
A total of 2 people contributed to this release. Thank you to the following contributors:
120+
121+
- Athan Reines
122+
- Philipp Burckhardt
123+
124+
</section>
125+
126+
<!-- /.contributors -->
127+
128+
</section>
129+
130+
<!-- /.release -->
131+

CONTRIBUTORS

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Adarsh Palaskar <adarshpalaskar99@gmail.com>
66
Aditya Sapra <adityaework@gmail.com>
77
AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com>
8+
Aleksandr <112382387+alextes90@users.noreply.github.com>
89
Ali Salesi <ali_sal1381@yahoo.com>
910
Aman Bhansali <bhansali.1@iitj.ac.in>
1011
Amit Jimiwal <amitjimiwal45@gmail.com>
@@ -18,13 +19,15 @@ Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
1819
Christopher Dambamuromo <chridam@gmail.com>
1920
Dan Rose <danoftheroses@gmail.com>
2021
Daniel Killenberger <daniel.killenberger@gmail.com>
22+
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2123
Dominik Moritz <domoritz@gmail.com>
2224
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
2325
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
2426
Frank Kovacs <fran70kk@gmail.com>
2527
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
2628
Gunj Joshi <gunjjoshi8372@gmail.com>
2729
Harshita Kalani <harshitakalani02@gmail.com>
30+
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
2831
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
2932
James Gelok <jdgelok@gmail.com>
3033
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
@@ -60,6 +63,7 @@ Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
6063
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
6164
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
6265
Ricky Reusser <rsreusser@gmail.com>
66+
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
6367
Robert Gislason <gztown2216@yahoo.com>
6468
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
6569
Rutam <138517416+performant23@users.noreply.github.com>
@@ -69,8 +73,11 @@ Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
6973
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
7074
Shivam <11shivam00@gmail.com>
7175
Shraddheya Shendre <shendreshraddheya@gmail.com>
76+
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
7277
Shubham Mishra <shubh622005@gmail.com>
73-
Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
78+
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
79+
Snehil Shah <snehilshah.989@gmail.com>
80+
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
7481
Spandan Barve <contact@marsian.dev>
7582
Stephannie Jiménez Gacha <steff456@hotmail.com>
7683
Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -79,8 +86,10 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
7986
Utkarsh <http://utkarsh11105@gmail.com>
8087
Utkarsh Raj <rajutkarsh2505@gmail.com>
8188
Varad Gupta <varadgupta21@gmail.com>
89+
Xiaochuan Ye <tap91624@gmail.com>
8290
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
8391
naveen <stupiddint@gmail.com>
8492
nishant-s7 <97207366+nishant-s7@users.noreply.github.com>
8593
orimiles5 <97595296+orimiles5@users.noreply.github.com>
94+
rainn <88160429+AmCodesLame@users.noreply.github.com>
8695
rei2hu <reimu@reimu.ws>

benchmark/benchmark.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,26 @@ bench( pkg+':dtype=uint8c', function benchmark( b ) {
266266
b.end();
267267
});
268268

269+
bench( pkg+':dtype=bool', function benchmark( b ) {
270+
var arr;
271+
var i;
272+
b.tic();
273+
for ( i = 0; i < b.iterations; i++ ) {
274+
arr = empty( [ 0 ], {
275+
'dtype': 'bool'
276+
});
277+
if ( arr.length !== 0 ) {
278+
b.fail( 'should have length 0' );
279+
}
280+
}
281+
b.toc();
282+
if ( !isndarrayLike( arr ) ) {
283+
b.fail( 'should return an ndarray' );
284+
}
285+
b.pass( 'benchmark finished' );
286+
b.end();
287+
});
288+
269289
bench( pkg+':dtype=generic', function benchmark( b ) {
270290
var arr;
271291
var i;

0 commit comments

Comments
 (0)
0