@stdlib/string-uncapitalize
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -24,2 +24,3 @@ /** | ||
var isString = require( '@stdlib/assert-is-string' ).isPrimitive; | ||
var format = require( '@stdlib/string-format' ); | ||
@@ -54,3 +55,3 @@ | ||
if ( !isString( str ) ) { | ||
throw new TypeError( 'invalid argument. First argument must be a string primitive. Value: `' + str + '`.' ); | ||
throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', str ) ); | ||
} | ||
@@ -57,0 +58,0 @@ if ( str === '' ) { |
{ | ||
"name": "@stdlib/string-uncapitalize", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Uncapitalize the first character of a string.", | ||
@@ -50,2 +50,3 @@ "license": "Apache-2.0", | ||
"@stdlib/streams-node-stdin": "^0.0.x", | ||
"@stdlib/string-format": "^0.0.x", | ||
"@stdlib/utils-regexp-from-string": "^0.0.x" | ||
@@ -52,0 +53,0 @@ }, |
@@ -233,4 +233,4 @@ <!-- | ||
[test-image]: https://github.com/stdlib-js/string-uncapitalize/actions/workflows/test.yml/badge.svg | ||
[test-url]: https://github.com/stdlib-js/string-uncapitalize/actions/workflows/test.yml | ||
[test-image]: https://github.com/stdlib-js/string-uncapitalize/actions/workflows/test.yml/badge.svg?branch=v0.0.9 | ||
[test-url]: https://github.com/stdlib-js/string-uncapitalize/actions/workflows/test.yml?query=branch:v0.0.9 | ||
@@ -247,2 +247,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-uncapitalize/main.svg | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[umd]: https://github.com/umdjs/umd | ||
@@ -254,10 +261,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[esm-url]: https://github.com/stdlib-js/string-uncapitalize/tree/esm | ||
[branches-url]: https://github.com/stdlib-js/string-uncapitalize/blob/main/branches.md | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/string-uncapitalize/main/LICENSE | ||
@@ -264,0 +265,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1
190
278
28295
9
1
+ Added@stdlib/string-format@^0.0.x