Skip to content

Commit 58a74d5

Browse files
committed
Release v0.2.1
1 parent c6d82dc commit 58a74d5

File tree

7 files changed

+67
-61
lines changed

7 files changed

+67
-61
lines changed

.github/workflows/npm_downloads.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
8787
# Upload the download data:
8888
- name: 'Upload data'
89-
# Pin action to full length commit SHA corresponding to v3.1.3
90-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
89+
# Pin action to full length commit SHA
90+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
9191
with:
9292
# Define a name for the uploaded artifact (ensuring a unique name for each job):
9393
name: npm_downloads

.github/workflows/publish.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,10 @@ jobs:
124124
mv ./package.json.tmp ./package.json
125125
fi
126126
done
127-
jq -r '.devDependencies | keys[]' ./package.json | while read -r dep; do
128-
if [[ "$dep" != "@stdlib"* ]]; then
129-
continue
130-
fi
131-
dep=$(echo "$dep" | xargs)
132-
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
133-
jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
134-
mv ./package.json.tmp ./package.json
135-
fi
136-
done
127+
128+
# Set `devDependencies` to an empty object:
129+
jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp
130+
mv ./package.json.tmp ./package.json
137131
138132
# Remove CLI section:
139133
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?<section class=\"cli\">[\s\S]+?<\!\-\- \/.cli \-\->//"

.github/workflows/publish_cli.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ jobs:
105105
SLUG=${{ github.repository }}
106106
git push "https://$GITHUB_ACTOR:[email protected]/$SLUG.git" --follow-tags
107107
108+
# Remove development dependencies from package.json:
109+
- name: 'Remove development dependencies from package.json'
110+
run: |
111+
jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp
112+
mv ./package.json.tmp ./package.json
113+
108114
# Replace GitHub MathJax equations with SVGs:
109115
- name: 'Replace GitHub MathJax equations with SVGs'
110116
run: |

.github/workflows/test_bundles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ jobs:
168168

169169
# Install Deno:
170170
- name: 'Install Deno'
171-
# Pin action to full length commit SHA corresponding to v1.1.2
172-
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31
171+
# Pin action to full length commit SHA
172+
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
173173
with:
174174
deno-version: vx.x.x
175175

CONTRIBUTORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aditya Sapra <[email protected]>
56
Ali Salesi <[email protected]>
67
Amit Jimiwal <[email protected]>
78
Athan Reines <[email protected]>
@@ -13,6 +14,7 @@ Daniel Killenberger <[email protected]>
1314
Dominik Moritz <[email protected]>
1415
Dorrin Sotoudeh <[email protected]>
1516
Frank Kovacs <[email protected]>
17+
GUNJ JOSHI <[email protected]>
1618
Harshita Kalani <[email protected]>
1719
James Gelok <[email protected]>
1820
Jaysukh Makvana <[email protected]>
@@ -21,6 +23,7 @@ Joey Reed <[email protected]>
2123
Jordan Gallivan <[email protected]>
2224
Joris Labie <[email protected]>
2325
Justin Dennison <[email protected]>
26+
Karthik Prakash <[email protected]>
2427
Marcus Fantham <[email protected]>
2528
Matt Cochrane <[email protected]>
2629
Milan Raj <[email protected]>
@@ -29,13 +32,15 @@ Naresh Jagadeesan <[email protected]>
2932
Nithin Katta <[email protected]>
3033
Ognjen Jevremović <[email protected]>
3134
Philipp Burckhardt <[email protected]>
35+
Prajwal Kulkarni <[email protected]>
3236
Pranav Goswami <[email protected]>
3337
Ricky Reusser <[email protected]>
3438
Robert Gislason <[email protected]>
3539
Roman Stetsyk <[email protected]>
3640
Ryan Seal <[email protected]>
3741
Seyyed Parsa Neshaei <[email protected]>
3842
Shraddheya Shendre <[email protected]>
43+
Spandan Barve <[email protected]>
3944
Stephannie Jiménez Gacha <[email protected]>
4045
Yernar Yergaziyev <[email protected]>
4146
orimiles5 <[email protected]>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
565565
[npm-image]: http://img.shields.io/npm/v/@stdlib/random-streams-minstd.svg
566566
[npm-url]: https://npmjs.org/package/@stdlib/random-streams-minstd
567567

568-
[test-image]: https://github.com/stdlib-js/random-streams-minstd/actions/workflows/test.yml/badge.svg?branch=v0.2.0
569-
[test-url]: https://github.com/stdlib-js/random-streams-minstd/actions/workflows/test.yml?query=branch:v0.2.0
568+
[test-image]: https://github.com/stdlib-js/random-streams-minstd/actions/workflows/test.yml/badge.svg?branch=v0.2.1
569+
[test-url]: https://github.com/stdlib-js/random-streams-minstd/actions/workflows/test.yml?query=branch:v0.2.1
570570

571571
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-streams-minstd/main.svg
572572
[coverage-url]: https://codecov.io/github/stdlib-js/random-streams-minstd?branch=main

package.json

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/random-streams-minstd",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Create a readable stream for a linear congruential pseudorandom number generator (LCG) based on Park and Miller.",
55
"license": "Apache-2.0",
66
"author": {
@@ -40,58 +40,59 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/array-int32": "^0.2.0",
44-
"@stdlib/array-uint8": "^0.2.0",
45-
"@stdlib/assert-has-own-property": "^0.2.0",
46-
"@stdlib/assert-is-boolean": "^0.2.0",
47-
"@stdlib/assert-is-error": "^0.2.0",
48-
"@stdlib/assert-is-integer": "^0.2.0",
49-
"@stdlib/assert-is-nonnegative-integer": "^0.2.0",
50-
"@stdlib/assert-is-nonnegative-number": "^0.2.0",
51-
"@stdlib/assert-is-plain-object": "^0.2.0",
52-
"@stdlib/assert-is-positive-integer": "^0.2.0",
53-
"@stdlib/assert-is-string": "^0.2.0",
54-
"@stdlib/assert-is-uint8array": "^0.2.0",
43+
"@stdlib/array-int32": "^0.2.1",
44+
"@stdlib/array-uint8": "^0.2.1",
45+
"@stdlib/assert-has-own-property": "^0.2.1",
46+
"@stdlib/assert-is-boolean": "^0.2.1",
47+
"@stdlib/assert-is-error": "^0.2.1",
48+
"@stdlib/assert-is-integer": "^0.2.1",
49+
"@stdlib/assert-is-nonnegative-integer": "^0.2.1",
50+
"@stdlib/assert-is-nonnegative-number": "^0.2.1",
51+
"@stdlib/assert-is-plain-object": "^0.2.1",
52+
"@stdlib/assert-is-positive-integer": "^0.2.1",
53+
"@stdlib/assert-is-string": "^0.2.1",
54+
"@stdlib/assert-is-uint8array": "^0.2.1",
5555
"@stdlib/blas-base-gcopy": "^0.2.0",
56-
"@stdlib/buffer-from-array": "^0.2.0",
57-
"@stdlib/buffer-from-string": "^0.2.0",
58-
"@stdlib/cli-ctor": "^0.2.0",
59-
"@stdlib/fs-read-file": "^0.2.0",
60-
"@stdlib/fs-write-file": "^0.2.0",
61-
"@stdlib/object-assign": "^0.2.0",
62-
"@stdlib/process-cwd": "^0.2.0",
63-
"@stdlib/random-base-minstd": "^0.2.0",
64-
"@stdlib/streams-node-stdout": "^0.2.0",
65-
"@stdlib/string-format": "^0.2.0",
66-
"@stdlib/types": "^0.3.1",
67-
"@stdlib/utils-define-nonenumerable-property": "^0.2.0",
68-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
69-
"@stdlib/utils-define-read-only-accessor": "^0.2.0",
70-
"@stdlib/utils-define-read-write-accessor": "^0.2.0",
71-
"@stdlib/utils-inherit": "^0.2.0",
72-
"@stdlib/utils-next-tick": "^0.2.0",
56+
"@stdlib/buffer-from-array": "^0.2.1",
57+
"@stdlib/buffer-from-string": "^0.2.1",
58+
"@stdlib/cli-ctor": "^0.2.1",
59+
"@stdlib/fs-read-file": "^0.2.1",
60+
"@stdlib/fs-write-file": "^0.2.1",
61+
"@stdlib/object-assign": "^0.2.1",
62+
"@stdlib/process-cwd": "^0.2.1",
63+
"@stdlib/random-base-minstd": "^0.2.1",
64+
"@stdlib/streams-node-stdout": "^0.2.1",
65+
"@stdlib/string-format": "^0.2.1",
66+
"@stdlib/types": "^0.3.2",
67+
"@stdlib/utils-define-nonenumerable-property": "^0.2.1",
68+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
69+
"@stdlib/utils-define-read-only-accessor": "^0.2.1",
70+
"@stdlib/utils-define-read-write-accessor": "^0.2.1",
71+
"@stdlib/utils-inherit": "^0.2.1",
72+
"@stdlib/utils-next-tick": "^0.2.1",
7373
"debug": "^2.6.9",
74-
"readable-stream": "^2.1.4"
74+
"readable-stream": "^2.1.4",
75+
"@stdlib/error-tools-fmtprodmsg": "^0.2.1"
7576
},
7677
"devDependencies": {
77-
"@stdlib/assert-is-browser": "^0.2.0",
78-
"@stdlib/assert-is-buffer": "^0.2.0",
79-
"@stdlib/assert-is-int32array": "^0.2.0",
80-
"@stdlib/assert-is-windows": "^0.2.0",
81-
"@stdlib/constants-int32-max": "^0.2.0",
82-
"@stdlib/fs-exists": "^0.2.0",
83-
"@stdlib/fs-unlink": "^0.2.0",
84-
"@stdlib/math-base-assert-is-integer": "^0.2.0",
85-
"@stdlib/math-base-assert-is-nan": "^0.2.0",
86-
"@stdlib/process-exec-path": "^0.2.0",
87-
"@stdlib/streams-node-inspect-sink": "^0.2.0",
88-
"@stdlib/string-replace": "^0.2.0",
89-
"@stdlib/time-now": "^0.2.0",
78+
"@stdlib/assert-is-browser": "^0.2.1",
79+
"@stdlib/assert-is-buffer": "^0.2.1",
80+
"@stdlib/assert-is-int32array": "^0.2.1",
81+
"@stdlib/assert-is-windows": "^0.2.1",
82+
"@stdlib/constants-int32-max": "^0.2.1",
83+
"@stdlib/fs-exists": "^0.2.1",
84+
"@stdlib/fs-unlink": "^0.2.1",
85+
"@stdlib/math-base-assert-is-integer": "^0.2.1",
86+
"@stdlib/math-base-assert-is-nan": "^0.2.1",
87+
"@stdlib/process-exec-path": "^0.2.1",
88+
"@stdlib/streams-node-inspect-sink": "^0.2.1",
89+
"@stdlib/string-replace": "^0.2.1",
90+
"@stdlib/time-now": "^0.2.1",
9091
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
9192
"proxyquire": "^2.0.0",
9293
"istanbul": "^0.4.1",
9394
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
94-
"@stdlib/bench-harness": "^0.2.0"
95+
"@stdlib/bench-harness": "^0.2.1"
9596
},
9697
"engines": {
9798
"node": ">=0.10.0",

0 commit comments

Comments
 (0)