@stdlib/string-first 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -146,6 +146,7 @@ str = first( '🐶🐮🐷🐰🐸', 10 );
146
146
 
147
147
  - <span class="package-name">[`@stdlib/string-first-cli`][@stdlib/string-first-cli]</span><span class="delimiter">: </span><span class="description">CLI package for use as a command-line utility.</span>
148
148
  - <span class="package-name">[`@stdlib/string-remove-first`][@stdlib/string/remove-first]</span><span class="delimiter">: </span><span class="description">remove the first character(s) of a string.</span>
149
+ - <span class="package-name">[`@stdlib/string-last`][@stdlib/string/last]</span><span class="delimiter">: </span><span class="description">return the last character(s) of a string.</span>
149
150
 
150
151
  </section>
151
152
 
@@ -192,8 +193,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
192
193
  [npm-image]: http://img.shields.io/npm/v/@stdlib/string-first.svg
193
194
  [npm-url]: https://npmjs.org/package/@stdlib/string-first
194
195
 
195
- [test-image]: https://github.com/stdlib-js/string-first/actions/workflows/test.yml/badge.svg?branch=v0.2.1
196
- [test-url]: https://github.com/stdlib-js/string-first/actions/workflows/test.yml?query=branch:v0.2.1
196
+ [test-image]: https://github.com/stdlib-js/string-first/actions/workflows/test.yml/badge.svg?branch=v0.2.2
197
+ [test-url]: https://github.com/stdlib-js/string-first/actions/workflows/test.yml?query=branch:v0.2.2
197
198
 
198
199
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-first/main.svg
199
200
  [coverage-url]: https://codecov.io/github/stdlib-js/string-first?branch=main
@@ -237,6 +238,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
237
238
 
238
239
  [@stdlib/string/remove-first]: https://www.npmjs.com/package/@stdlib/string-remove-first
239
240
 
241
+ [@stdlib/string/last]: https://www.npmjs.com/package/@stdlib/string-last
242
+
240
243
  <!-- </related-links> -->
241
244
 
242
245
  </section>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/string-first",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Return the first character(s) of a string.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -31,15 +31,15 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@stdlib/array-base-assert-contains": "^0.2.1",
34
- "@stdlib/assert-has-own-property": "^0.2.1",
35
- "@stdlib/assert-is-nonnegative-integer": "^0.2.1",
36
- "@stdlib/assert-is-plain-object": "^0.2.1",
37
- "@stdlib/assert-is-string": "^0.2.1",
38
- "@stdlib/string-base-first": "^0.2.1",
39
- "@stdlib/string-base-first-code-point": "^0.2.1",
40
- "@stdlib/string-base-first-grapheme-cluster": "^0.2.1",
41
- "@stdlib/string-format": "^0.2.1",
42
- "@stdlib/error-tools-fmtprodmsg": "^0.2.1"
34
+ "@stdlib/assert-has-own-property": "^0.2.2",
35
+ "@stdlib/assert-is-nonnegative-integer": "^0.2.2",
36
+ "@stdlib/assert-is-plain-object": "^0.2.2",
37
+ "@stdlib/assert-is-string": "^0.2.2",
38
+ "@stdlib/string-base-first": "^0.2.2",
39
+ "@stdlib/string-base-first-code-point": "^0.2.2",
40
+ "@stdlib/string-base-first-grapheme-cluster": "^0.2.2",
41
+ "@stdlib/string-format": "^0.2.2",
42
+ "@stdlib/error-tools-fmtprodmsg": "^0.2.2"
43
43
  },
44
44
  "devDependencies": {},
45
45
  "engines": {