From b1a428b51ec0b4bede96658c5bf72cbc98a366bd Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 27 Jul 2024 18:12:14 +0000 Subject: [PATCH] Release v0.2.2 --- .github/workflows/productionize.yml | 20 ++--- .github/workflows/publish.yml | 10 ++- .npmrc | 4 +- CHANGELOG.md | 123 +++++++++++++++++++++++++++- CONTRIBUTORS | 6 +- README.md | 4 +- dist/index.js | 34 ++++---- package.json | 6 +- 8 files changed, 169 insertions(+), 38 deletions(-) diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index f92a6c5..f4575e9 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -94,8 +94,8 @@ jobs: node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );" fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -191,8 +191,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -366,8 +366,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -539,8 +539,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -735,8 +735,8 @@ jobs: echo "bump=true" >> $GITHUB_OUTPUT fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' if: steps.check-if-bump.outputs.bump run: | git config --local user.email "noreply@stdlib.io" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ad3a3e0..2888b88 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,8 +72,8 @@ jobs: node-version: 20 timeout-minutes: 5 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -94,6 +94,10 @@ jobs: # Replace branch in README.md link definitions for badges with the new version: find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g" + # Rewrite CHANGELOG.md to replace "Unreleased" with the new version: + sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md + sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md + # Create a new commit and tag: git add package.json README.md git commit -m "Release v${NEW_VERSION}" @@ -202,7 +206,7 @@ jobs: # Publish package to npm: - name: 'Publish package to npm' # Pin action to full length commit SHA - uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1 + uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1 with: token: ${{ secrets.NPM_TOKEN }} access: public diff --git a/.npmrc b/.npmrc index 5af9067..58dbd10 100644 --- a/.npmrc +++ b/.npmrc @@ -27,5 +27,5 @@ shrinkwrap = false # Disable automatically "saving" dependencies on install: save = false -# Generate provenance metadata: -provenance = true +# Do not generate provenance metadata: +provenance = false diff --git a/CHANGELOG.md b/CHANGELOG.md index 986be04..a42c98b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,125 @@ > Package changelog. -See [GitHub Releases](https://github.com/stdlib-js/slice-base-seq2multislice/releases) for the changelog. \ No newline at end of file +
+ +## 0.2.2 (2024-07-27) + +
+ +### Commits + +
+ +- [`aaa391a`](https://github.com/stdlib-js/stdlib/commit/aaa391a46214c21dca294506d06ac0b3d59512ce) - **chore:** fix typos _(by Philipp Burckhardt)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Philipp Burckhardt + +
+ + + +
+ + + +
+ +## 0.2.1 (2024-02-24) + +No changes reported for this release. + +
+ + + +
+ +## 0.2.0 (2024-02-14) + +
+ +### Commits + +
+ +- [`109746a`](https://github.com/stdlib-js/stdlib/commit/109746a235c41d431df26671ee53019cd551896c) - **refactor:** use utility to create a MultiSlice from a list of arguments _(by Athan Reines)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Athan Reines + +
+ + + +
+ + + +
+ +## 0.1.0 (2023-09-23) + +
+ +### Features + +- [`3bf733b`](https://github.com/stdlib-js/stdlib/commit/3bf733b4e758503442f10b69b85e2a239fa16a39) - add `slice/base/seq2multislice` + +
+ + + +
+ +### Commits + +
+ +- [`3bf733b`](https://github.com/stdlib-js/stdlib/commit/3bf733b4e758503442f10b69b85e2a239fa16a39) - **feat:** add `slice/base/seq2multislice` _(by Athan Reines)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Athan Reines + +
+ + + +
+ + + diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6a1cbaa..26a1c46 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -27,6 +27,7 @@ Frank Kovacs Golden Kumar <103646877+AuenKr@users.noreply.github.com> Gunj Joshi Harshita Kalani +Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com> Jaimin Godhani <112328542+Jai0401@users.noreply.github.com> James Gelok Jaysukh Makvana @@ -50,6 +51,7 @@ Muhammad Haris Naresh Jagadeesan NightKnight Nithin Katta <88046362+nithinkatta@users.noreply.github.com> +Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com> Ognjen Jevremović Oneday12323 <107678750+Oneday12323@users.noreply.github.com> Philipp Burckhardt @@ -62,6 +64,7 @@ Pushpendra Chandravanshi Raunak Kumar Gupta Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com> Ricky Reusser +Ridam Garg <67867319+RidamGarg@users.noreply.github.com> Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Rutam <138517416+performant23@users.noreply.github.com> @@ -74,7 +77,7 @@ Shraddheya Shendre Shubh Mehta <93862397+Shubh942@users.noreply.github.com> Shubham Mishra Sivam Das <100067002+Sivam2313@users.noreply.github.com> -Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com> +Snehil Shah Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com> Spandan Barve Stephannie Jiménez Gacha @@ -84,6 +87,7 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com> Utkarsh Utkarsh Raj Varad Gupta +Xiaochuan Ye Yernar Yergaziyev naveen nishant-s7 <97207366+nishant-s7@users.noreply.github.com> diff --git a/README.md b/README.md index 5886afa..5d3b416 100644 --- a/README.md +++ b/README.md @@ -250,8 +250,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/slice-base-seq2multislice.svg [npm-url]: https://npmjs.org/package/@stdlib/slice-base-seq2multislice -[test-image]: https://github.com/stdlib-js/slice-base-seq2multislice/actions/workflows/test.yml/badge.svg?branch=main -[test-url]: https://github.com/stdlib-js/slice-base-seq2multislice/actions/workflows/test.yml?query=branch:main +[test-image]: https://github.com/stdlib-js/slice-base-seq2multislice/actions/workflows/test.yml/badge.svg?branch=v0.2.2 +[test-url]: https://github.com/stdlib-js/slice-base-seq2multislice/actions/workflows/test.yml?query=branch:v0.2.2 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/slice-base-seq2multislice/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/slice-base-seq2multislice?branch=main diff --git a/dist/index.js b/dist/index.js index d090101..c968e33 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,17 +1,19 @@ -"use strict";var t=function(a,e){return function(){return e||a((e={exports:{}}).exports,e),e.exports}};var S=t(function(z,_){ -function C(){return{code:"ERR_SLICE_INVALID_ELLIPSIS"}}_.exports=C -});var R=t(function(H,l){ -function M(){return{code:"ERR_SLICE_INSUFFICIENT_DIMENSIONS"}}l.exports=M -});var p=t(function(J,q){ -function U(){return{code:"ERR_SLICE_TOO_MANY_DIMENSIONS"}}q.exports=U -});var O=t(function(K,N){ -function h(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}N.exports=h -});var L=t(function(W,x){ -var B=/\s*,\s*/;x.exports=B -});var g=t(function(X,d){ -var F=/^[-+]?[0-9]+$/;d.exports=F -});var T=t(function(Z,D){ -var G=require('@stdlib/string-base-trim/dist'),P=require('@stdlib/slice-ctor/dist'),A=require('@stdlib/slice-base-args2multislice/dist'),Q=require('@stdlib/slice-base-seq2slice/dist'),j=S(),k=R(),w=p(),m=O(),y=L(),V=g();function Y(a,e,I){var E,i,v,u,n,c,r,o,s,f;for(n=e.length,E=G(a).split(y),c=E.length,v=!1,i=[],s=0,o=0;o=u)return m()}s+=1}else{if(r=Q(r,u,I),r.code)return r;s+=1}i.push(r)}return i.length!==n?i.length=u)return m()}s+=1}else{if(r=Q(r,u,I),r.code)return r;s+=1}i.push(r)}return i.length!==n?i.length