Skip to content

Commit 725a7d1

Browse files
committed
Release v0.2.1
1 parent 249a601 commit 725a7d1

File tree

6 files changed

+20
-22
lines changed

6 files changed

+20
-22
lines changed

.github/workflows/npm_downloads.yml

+2-2
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

+4-10
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/test_bundles.yml

+2-2
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

+4
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]>
@@ -36,6 +39,7 @@ Roman Stetsyk <[email protected]>
3639
Ryan Seal <[email protected]>
3740
Seyyed Parsa Neshaei <[email protected]>
3841
Shraddheya Shendre <[email protected]>
42+
Spandan Barve <[email protected]>
3943
Stephannie Jiménez Gacha <[email protected]>
4044
Yernar Yergaziyev <[email protected]>
4145
orimiles5 <[email protected]>

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
167167
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-dirname.svg
168168
[npm-url]: https://npmjs.org/package/@stdlib/utils-dirname
169169

170-
[test-image]: https://github.com/stdlib-js/utils-dirname/actions/workflows/test.yml/badge.svg?branch=v0.2.0
171-
[test-url]: https://github.com/stdlib-js/utils-dirname/actions/workflows/test.yml?query=branch:v0.2.0
170+
[test-image]: https://github.com/stdlib-js/utils-dirname/actions/workflows/test.yml/badge.svg?branch=v0.2.1
171+
[test-url]: https://github.com/stdlib-js/utils-dirname/actions/workflows/test.yml?query=branch:v0.2.1
172172

173173
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-dirname/main.svg
174174
[coverage-url]: https://codecov.io/github/stdlib-js/utils-dirname?branch=main

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/utils-dirname",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Return a directory name.",
55
"license": "Apache-2.0",
66
"author": {
@@ -37,16 +37,16 @@
3737
"url": "https://github.com/stdlib-js/stdlib/issues"
3838
},
3939
"dependencies": {
40-
"@stdlib/assert-is-string": "^0.2.0",
41-
"@stdlib/regexp-dirname": "^0.2.0",
42-
"@stdlib/string-format": "^0.2.0"
40+
"@stdlib/assert-is-string": "^0.2.1",
41+
"@stdlib/regexp-dirname": "^0.2.1",
42+
"@stdlib/string-format": "^0.2.1"
4343
},
4444
"devDependencies": {
45-
"@stdlib/fs-read-dir": "^0.2.0",
45+
"@stdlib/fs-read-dir": "^0.2.1",
4646
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4747
"istanbul": "^0.4.1",
4848
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
49-
"@stdlib/bench-harness": "^0.1.2"
49+
"@stdlib/bench-harness": "^0.2.0"
5050
},
5151
"engines": {
5252
"node": ">=0.10.0",

0 commit comments

Comments
 (0)