From 81a2b00209bb7861f2dae0e47fb8ad4a6a2a2219 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 24 Feb 2024 16:01:02 +0000 Subject: [PATCH] Release v0.2.1 --- .github/workflows/npm_downloads.yml | 4 +- .github/workflows/publish.yml | 14 ++---- .github/workflows/test_bundles.yml | 4 +- CONTRIBUTORS | 4 ++ README.md | 4 +- package.json | 78 ++++++++++++++--------------- 6 files changed, 53 insertions(+), 55 deletions(-) diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml index 5499e34..46e4d49 100644 --- a/.github/workflows/npm_downloads.yml +++ b/.github/workflows/npm_downloads.yml @@ -86,8 +86,8 @@ jobs: # Upload the download data: - name: 'Upload data' - # Pin action to full length commit SHA corresponding to v3.1.3 - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + # Pin action to full length commit SHA + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: # Define a name for the uploaded artifact (ensuring a unique name for each job): name: npm_downloads diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 477ca6d..010fb9d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -124,16 +124,10 @@ jobs: mv ./package.json.tmp ./package.json fi done - jq -r '.devDependencies | keys[]' ./package.json | while read -r dep; do - if [[ "$dep" != "@stdlib"* ]]; then - continue - fi - dep=$(echo "$dep" | xargs) - if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then - jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp - mv ./package.json.tmp ./package.json - fi - done + + # Set `devDependencies` to an empty object: + jq --indent 2 '.devDependencies = {}' ./package.json > ./package.json.tmp + mv ./package.json.tmp ./package.json # Remove CLI section: find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+?<\!\-\- \/.cli \-\->//" diff --git a/.github/workflows/test_bundles.yml b/.github/workflows/test_bundles.yml index 0c4e061..5c9dc95 100644 --- a/.github/workflows/test_bundles.yml +++ b/.github/workflows/test_bundles.yml @@ -168,8 +168,8 @@ jobs: # Install Deno: - name: 'Install Deno' - # Pin action to full length commit SHA corresponding to v1.1.2 - uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 + # Pin action to full length commit SHA + uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4 with: deno-version: vx.x.x diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 726c1ec..a084916 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2,6 +2,7 @@ # # Contributors listed in alphabetical order. +Aditya Sapra <110766802+adityacodes30@users.noreply.github.com> Ali Salesi Amit Jimiwal Athan Reines @@ -13,6 +14,7 @@ Daniel Killenberger Dominik Moritz Dorrin Sotoudeh Frank Kovacs +GUNJ JOSHI Harshita Kalani James Gelok Jaysukh Makvana @@ -21,6 +23,7 @@ Joey Reed Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> Joris Labie Justin Dennison +Karthik Prakash <116057817+skoriop@users.noreply.github.com> Marcus Fantham Matt Cochrane Milan Raj @@ -36,6 +39,7 @@ Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Ryan Seal Seyyed Parsa Neshaei Shraddheya Shendre +Spandan Barve <114365550+marsian83@users.noreply.github.com> Stephannie JimĂ©nez Gacha Yernar Yergaziyev orimiles5 <97595296+orimiles5@users.noreply.github.com> diff --git a/README.md b/README.md index bf2a1c9..d34fcb6 100644 --- a/README.md +++ b/README.md @@ -326,8 +326,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/utils-copy.svg [npm-url]: https://npmjs.org/package/@stdlib/utils-copy -[test-image]: https://github.com/stdlib-js/utils-copy/actions/workflows/test.yml/badge.svg?branch=v0.2.0 -[test-url]: https://github.com/stdlib-js/utils-copy/actions/workflows/test.yml?query=branch:v0.2.0 +[test-image]: https://github.com/stdlib-js/utils-copy/actions/workflows/test.yml/badge.svg?branch=v0.2.1 +[test-url]: https://github.com/stdlib-js/utils-copy/actions/workflows/test.yml?query=branch:v0.2.1 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-copy/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/utils-copy?branch=main diff --git a/package.json b/package.json index d448708..0b02553 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/utils-copy", - "version": "0.2.0", + "version": "0.2.1", "description": "Copy or deep clone a value to an arbitrary depth.", "license": "Apache-2.0", "author": { @@ -40,51 +40,51 @@ "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { - "@stdlib/array-float32": "^0.2.0", - "@stdlib/array-float64": "^0.2.0", - "@stdlib/array-int16": "^0.2.0", - "@stdlib/array-int32": "^0.2.0", - "@stdlib/array-int8": "^0.2.0", - "@stdlib/array-uint16": "^0.2.0", - "@stdlib/array-uint32": "^0.2.0", - "@stdlib/array-uint8": "^0.2.0", - "@stdlib/array-uint8c": "^0.2.0", - "@stdlib/assert-has-own-property": "^0.1.1", - "@stdlib/assert-is-array": "^0.2.0", - "@stdlib/assert-is-buffer": "^0.2.0", - "@stdlib/assert-is-error": "^0.2.0", - "@stdlib/assert-is-nonnegative-integer": "^0.2.0", - "@stdlib/buffer-from-buffer": "^0.2.0", - "@stdlib/constants-float64-pinf": "^0.2.0", - "@stdlib/string-format": "^0.2.0", - "@stdlib/utils-define-property": "^0.2.0", - "@stdlib/utils-get-prototype-of": "^0.2.0", - "@stdlib/utils-index-of": "^0.2.0", - "@stdlib/utils-keys": "^0.2.0", - "@stdlib/utils-property-descriptor": "^0.2.0", - "@stdlib/utils-property-names": "^0.2.0", - "@stdlib/utils-regexp-from-string": "^0.2.0", - "@stdlib/utils-type-of": "^0.2.0" + "@stdlib/array-float32": "^0.2.1", + "@stdlib/array-float64": "^0.2.1", + "@stdlib/array-int16": "^0.2.1", + "@stdlib/array-int32": "^0.2.1", + "@stdlib/array-int8": "^0.2.1", + "@stdlib/array-uint16": "^0.2.1", + "@stdlib/array-uint32": "^0.2.1", + "@stdlib/array-uint8": "^0.2.1", + "@stdlib/array-uint8c": "^0.2.1", + "@stdlib/assert-has-own-property": "^0.2.1", + "@stdlib/assert-is-array": "^0.2.1", + "@stdlib/assert-is-buffer": "^0.2.1", + "@stdlib/assert-is-error": "^0.2.1", + "@stdlib/assert-is-nonnegative-integer": "^0.2.1", + "@stdlib/buffer-from-buffer": "^0.2.1", + "@stdlib/constants-float64-pinf": "^0.2.1", + "@stdlib/string-format": "^0.2.1", + "@stdlib/utils-define-property": "^0.2.1", + "@stdlib/utils-get-prototype-of": "^0.2.1", + "@stdlib/utils-index-of": "^0.2.1", + "@stdlib/utils-keys": "^0.2.1", + "@stdlib/utils-property-descriptor": "^0.2.1", + "@stdlib/utils-property-names": "^0.2.1", + "@stdlib/utils-regexp-from-string": "^0.2.1", + "@stdlib/utils-type-of": "^0.2.1" }, "devDependencies": { - "@stdlib/assert-has-class-support": "^0.1.1", - "@stdlib/assert-has-map-support": "^0.1.1", - "@stdlib/assert-has-set-support": "^0.2.0", - "@stdlib/assert-is-node": "^0.2.0", - "@stdlib/boolean-ctor": "^0.1.1", - "@stdlib/buffer-ctor": "^0.1.1", - "@stdlib/buffer-from-array": "^0.1.0", - "@stdlib/constants-float64-pi": "^0.1.1", - "@stdlib/number-ctor": "^0.1.1", - "@stdlib/process-env": "^0.2.0", - "@stdlib/random-base-randu": "^0.1.0", - "@stdlib/utils-noop": "^0.2.0", + "@stdlib/assert-has-class-support": "^0.2.1", + "@stdlib/assert-has-map-support": "^0.2.1", + "@stdlib/assert-has-set-support": "^0.2.1", + "@stdlib/assert-is-node": "^0.2.1", + "@stdlib/boolean-ctor": "^0.2.1", + "@stdlib/buffer-ctor": "^0.2.1", + "@stdlib/buffer-from-array": "^0.2.1", + "@stdlib/constants-float64-pi": "^0.2.1", + "@stdlib/number-ctor": "^0.2.1", + "@stdlib/process-env": "^0.2.1", + "@stdlib/random-base-randu": "^0.2.0", + "@stdlib/utils-noop": "^0.2.1", "chai": "^3.5.0", "semver": "^6.0.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "@stdlib/bench-harness": "^0.1.2" + "@stdlib/bench-harness": "^0.2.0" }, "engines": { "node": ">=0.10.0",