Socket
Socket
Sign inDemoInstall

@ltht-react/utils

Package Overview
Dependencies
Maintainers
8
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/utils - npm Package Compare versions

Comparing version 1.1.37 to 1.1.38

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## 1.1.38 (2022-01-10)
**Note:** Version bump only for package @ltht-react/utils
## 1.1.37 (2022-01-07)

@@ -8,0 +16,0 @@

7

lib/atoms/title-case.js

@@ -11,3 +11,8 @@ "use strict";

.split(/\s|_/)
.map(function (word) { return word.replace(word[0], word[0].toUpperCase()); })
.map(function (word) {
if (word.length > 0) {
return word.replace(word[0], word[0].toUpperCase());
}
return word;
})
.join(' ');

@@ -14,0 +19,0 @@ };

@@ -29,4 +29,8 @@ "use strict";

});
it('string with multiple spaces formats correctly', function () {
var value = 'test test';
expect(title_case_1.default(value)).toEqual('Test Test');
});
});
});
//# sourceMappingURL=title-case.test.js.map

6

package.json
{
"name": "@ltht-react/utils",
"version": "1.1.37",
"version": "1.1.38",
"description": "> TODO: description",

@@ -25,5 +25,5 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>",

"dependencies": {
"@ltht-react/types": "^1.0.35"
"@ltht-react/types": "^1.0.36"
},
"gitHead": "c3c727af180a1e62f182f0970def4806b94aea8f"
"gitHead": "d94cbc006199d107384b5949aff081bf12d40a0c"
}

Sorry, the diff of this file is not supported yet

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