Skip to content

Commit 4c552c8

Browse files
committed
feat!: rename exported alias from reverseString to reverse
This commit follows on 575c74c and 8f43afc in renaming exported aliases which follow REPL namespace conventions rather than more common nested package conventions. This helps ensure more consistent naming throughout the project as concerns exported aliases from sub- namespaces. BREAKING CHANGE: rename exported alias from `reverseString` to `reverse` To migrate, users should drop the `String` suffix.
1 parent 8f43afc commit 4c552c8

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/string/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/string/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,13 @@ setReadOnly( string, 'replace', require( '@stdlib/string/replace' ) );
347347
setReadOnly( string, 'replaceBefore', require( '@stdlib/string/replace-before' ) );
348348

349349
/**
350-
* @name reverseString
350+
* @name reverse
351351
* @memberof string
352352
* @readonly
353353
* @type {Function}
354354
* @see {@link module:@stdlib/string/reverse}
355355
*/
356-
setReadOnly( string, 'reverseString', require( '@stdlib/string/reverse' ) );
356+
setReadOnly( string, 'reverse', require( '@stdlib/string/reverse' ) );
357357

358358
/**
359359
* @name rpad

0 commit comments

Comments
 (0)