Skip to content

Commit 44580d9

Browse files
committedFeb 24, 2024
Release v0.2.1
1 parent eb37fd6 commit 44580d9

File tree

7 files changed

+38
-34
lines changed

7 files changed

+38
-34
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/publish_cli.yml

+6
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ jobs:
105105
SLUG=${{ github.repository }}
106106
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$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

+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 <110766802+adityacodes30@users.noreply.github.com>
56
Ali Salesi <ali_sal1381@yahoo.com>
67
Amit Jimiwal <amitjimiwal45@gmail.com>
78
Athan Reines <kgryte@gmail.com>
@@ -13,6 +14,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
1314
Dominik Moritz <domoritz@gmail.com>
1415
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
1516
Frank Kovacs <fran70kk@gmail.com>
17+
GUNJ JOSHI <gunjjoshi8372@gmail.com>
1618
Harshita Kalani <harshitakalani02@gmail.com>
1719
James Gelok <jdgelok@gmail.com>
1820
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
@@ -21,6 +23,7 @@ Joey Reed <joeyrreed@gmail.com>
2123
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
2224
Joris Labie <joris.labie1@gmail.com>
2325
Justin Dennison <justin1dennison@gmail.com>
26+
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
2427
Marcus Fantham <mfantham@users.noreply.github.com>
2528
Matt Cochrane <matthew.cochrane.eng@gmail.com>
2629
Milan Raj <rajsite@users.noreply.github.com>
@@ -36,6 +39,7 @@ Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
3639
Ryan Seal <splrk@users.noreply.github.com>
3740
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
3841
Shraddheya Shendre <shendreshraddheya@gmail.com>
42+
Spandan Barve <114365550+marsian83@users.noreply.github.com>
3943
Stephannie Jiménez Gacha <steff456@hotmail.com>
4044
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
4145
orimiles5 <97595296+orimiles5@users.noreply.github.com>

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
307307
[npm-image]: http://img.shields.io/npm/v/@stdlib/string-substring-after.svg
308308
[npm-url]: https://npmjs.org/package/@stdlib/string-substring-after
309309

310-
[test-image]: https://github.com/stdlib-js/string-substring-after/actions/workflows/test.yml/badge.svg?branch=v0.2.0
311-
[test-url]: https://github.com/stdlib-js/string-substring-after/actions/workflows/test.yml?query=branch:v0.2.0
310+
[test-image]: https://github.com/stdlib-js/string-substring-after/actions/workflows/test.yml/badge.svg?branch=v0.2.1
311+
[test-url]: https://github.com/stdlib-js/string-substring-after/actions/workflows/test.yml?query=branch:v0.2.1
312312

313313
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-substring-after/main.svg
314314
[coverage-url]: https://codecov.io/github/stdlib-js/string-substring-after?branch=main

‎package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stdlib/string-substring-after",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Return the part of a string after a specified substring.",
55
"license": "Apache-2.0",
66
"author": {
@@ -40,29 +40,29 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/assert-is-integer": "^0.2.0",
44-
"@stdlib/assert-is-regexp-string": "^0.2.0",
45-
"@stdlib/assert-is-string": "^0.2.0",
46-
"@stdlib/cli-ctor": "^0.1.1",
47-
"@stdlib/fs-read-file": "^0.2.0",
48-
"@stdlib/process-read-stdin": "^0.2.0",
49-
"@stdlib/regexp-eol": "^0.2.0",
50-
"@stdlib/streams-node-stdin": "^0.2.0",
51-
"@stdlib/string-format": "^0.2.0",
52-
"@stdlib/types": "^0.3.1",
53-
"@stdlib/utils-regexp-from-string": "^0.2.0"
43+
"@stdlib/assert-is-integer": "^0.2.1",
44+
"@stdlib/assert-is-regexp-string": "^0.2.1",
45+
"@stdlib/assert-is-string": "^0.2.1",
46+
"@stdlib/cli-ctor": "^0.2.1",
47+
"@stdlib/fs-read-file": "^0.2.1",
48+
"@stdlib/process-read-stdin": "^0.2.1",
49+
"@stdlib/regexp-eol": "^0.2.1",
50+
"@stdlib/streams-node-stdin": "^0.2.1",
51+
"@stdlib/string-format": "^0.2.1",
52+
"@stdlib/types": "^0.3.2",
53+
"@stdlib/utils-regexp-from-string": "^0.2.1"
5454
},
5555
"devDependencies": {
56-
"@stdlib/assert-is-browser": "^0.1.1",
57-
"@stdlib/assert-is-windows": "^0.1.1",
58-
"@stdlib/process-exec-path": "^0.1.1",
59-
"@stdlib/string-from-code-point": "^0.1.0",
60-
"@stdlib/string-replace": "^0.1.1",
56+
"@stdlib/assert-is-browser": "^0.2.1",
57+
"@stdlib/assert-is-windows": "^0.2.1",
58+
"@stdlib/process-exec-path": "^0.2.1",
59+
"@stdlib/string-from-code-point": "^0.2.0",
60+
"@stdlib/string-replace": "^0.2.1",
6161
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6262
"proxyquire": "^2.0.0",
6363
"istanbul": "^0.4.1",
6464
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
65-
"@stdlib/bench-harness": "^0.1.2"
65+
"@stdlib/bench-harness": "^0.2.0"
6666
},
6767
"engines": {
6868
"node": ">=0.10.0",

0 commit comments

Comments
 (0)
Please sign in to comment.