diff --git a/lib/node_modules/@stdlib/string/base/dotcase/test/test.js b/lib/node_modules/@stdlib/string/base/dotcase/test/test.js index 97efe9eba1a..b7afd73216e 100644 --- a/lib/node_modules/@stdlib/string/base/dotcase/test/test.js +++ b/lib/node_modules/@stdlib/string/base/dotcase/test/test.js @@ -64,7 +64,7 @@ tape( 'the function converts a string to dot case', function test( t ) { ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( dotcase( values[i] ), expected[i], 'returns '+expected[i] ); + t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); @@ -89,7 +89,7 @@ tape( 'the function converts a string to dot case', function test( t ) { ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); @@ -122,7 +122,7 @@ tape( 'the function converts a string with Unicode characters to dot case', func ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); @@ -188,7 +188,7 @@ tape( 'the function converts a string with special characters to dot case', func ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( dotcase( values[i] ), expected[i], 'returns '+expected[i] ); + t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); @@ -213,7 +213,7 @@ tape( 'the function leaves a string that is already in dot case unchanged', func ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); diff --git a/lib/node_modules/@stdlib/string/base/headercase/README.md b/lib/node_modules/@stdlib/string/base/headercase/README.md index d2a14c8de41..fb91eee28d6 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/README.md +++ b/lib/node_modules/@stdlib/string/base/headercase/README.md @@ -20,7 +20,7 @@ limitations under the License. # headercase -> Convert a string to Header case. +> Convert a string to HTTP header case. @@ -34,7 +34,7 @@ var headercase = require( '@stdlib/string/base/headercase' ); #### headercase( str ) -Converts a string to Header case. +Converts a string to HTTP header case. ```javascript var out = headercase( 'foo bar' ); diff --git a/lib/node_modules/@stdlib/string/base/headercase/docs/repl.txt b/lib/node_modules/@stdlib/string/base/headercase/docs/repl.txt index e43867c2919..4728f5f7d48 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/docs/repl.txt +++ b/lib/node_modules/@stdlib/string/base/headercase/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( str ) - Converts a string to Header case. + Converts a string to HTTP header case. Parameters ---------- @@ -10,7 +10,7 @@ Returns ------- out: string - Header-cased string. + HTTP header-cased string. Examples -------- diff --git a/lib/node_modules/@stdlib/string/base/headercase/docs/types/index.d.ts b/lib/node_modules/@stdlib/string/base/headercase/docs/types/index.d.ts index 22da056f7d9..e01d358f773 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/string/base/headercase/docs/types/index.d.ts @@ -19,10 +19,10 @@ // TypeScript Version: 2.0 /** -* Converts a string to Header case. +* Converts a string to HTTP header case. * * @param str - string to convert -* @returns Header-cased string +* @returns HTTP header-cased string * * @example * var str = headercase( 'Hello World!' ); diff --git a/lib/node_modules/@stdlib/string/base/headercase/lib/index.js b/lib/node_modules/@stdlib/string/base/headercase/lib/index.js index ba87211715c..1ff6876d941 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/lib/index.js +++ b/lib/node_modules/@stdlib/string/base/headercase/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Convert a string to Header case. +* Convert a string to HTTP header case. * * @module @stdlib/string/base/headercase * diff --git a/lib/node_modules/@stdlib/string/base/headercase/lib/main.js b/lib/node_modules/@stdlib/string/base/headercase/lib/main.js index e44d49d3a6d..f11fdb15739 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/lib/main.js +++ b/lib/node_modules/@stdlib/string/base/headercase/lib/main.js @@ -36,10 +36,10 @@ var RE_CAMEL = /([a-z0-9])([A-Z])/g; // MAIN // /** -* Converts a string to Header case. +* Converts a string to HTTP header case. * * @param {string} str - string to convert -* @returns {string} Header-cased string +* @returns {string} HTTP header-cased string * * @example * var out = headercase( 'foo bar' ); diff --git a/lib/node_modules/@stdlib/string/base/headercase/package.json b/lib/node_modules/@stdlib/string/base/headercase/package.json index f350afb1eab..b5cb11f0da2 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/package.json +++ b/lib/node_modules/@stdlib/string/base/headercase/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/string/base/headercase", "version": "0.0.0", - "description": "Convert a string to Header case.", + "description": "Convert a string to HTTP header case.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", @@ -61,7 +61,8 @@ "case", "convert", "headercase", - "header" + "header", + "http" ], "__stdlib__": {} } diff --git a/lib/node_modules/@stdlib/string/base/headercase/test/test.js b/lib/node_modules/@stdlib/string/base/headercase/test/test.js index eed1efbf429..155df96fabb 100644 --- a/lib/node_modules/@stdlib/string/base/headercase/test/test.js +++ b/lib/node_modules/@stdlib/string/base/headercase/test/test.js @@ -32,7 +32,7 @@ tape( 'main export is a function', function test( t ) { t.end(); }); -tape( 'the function converts a string to header case', function test( t ) { +tape( 'the function converts a string to HTTP header case', function test( t ) { var expected; var values; var i; @@ -68,12 +68,12 @@ tape( 'the function converts a string to header case', function test( t ) { ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( headercase( values[i] ), expected[i], 'returns '+expected[i] ); + t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); -tape( 'the function converts a string to header case', function test( t ) { +tape( 'the function converts a string to HTTP header case', function test( t ) { var expected; var values; var i; @@ -93,12 +93,12 @@ tape( 'the function converts a string to header case', function test( t ) { ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); -tape( 'the function converts a string with Unicode characters to header case', function test( t ) { +tape( 'the function converts a string with Unicode characters to HTTP header case', function test( t ) { var expected; var values; var i; @@ -126,12 +126,12 @@ tape( 'the function converts a string with Unicode characters to header case', f ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); -tape( 'the function converts a string with special characters to header case', function test( t ) { +tape( 'the function converts a string with special characters to HTTP header case', function test( t ) { var expected; var values; var i; @@ -192,12 +192,12 @@ tape( 'the function converts a string with special characters to header case', f ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( headercase( values[i] ), expected[i], 'returns '+expected[i] ); + t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' ); } t.end(); }); -tape( 'the function leaves a string that is already in header case unchanged', function test( t ) { +tape( 'the function leaves a string that is already in HTTP header case unchanged', function test( t ) { var expected; var values; var i; @@ -217,7 +217,7 @@ tape( 'the function leaves a string that is already in header case unchanged', f ]; for ( i = 0; i < values.length; i++ ) { - t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' ); + t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' ); } t.end(); });