Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/string-uncapitalize

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/string-uncapitalize - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

3

lib/uncapitalize.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc