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

microsoft-capitalize

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microsoft-capitalize - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.0.4](https://github.com/Kikobeats/microsoft-capitalize/compare/v1.0.3...v1.0.4) (2020-12-17)
### Bug Fixes
* avoid dot followed by number ([0c5775e](https://github.com/Kikobeats/microsoft-capitalize/commit/0c5775ebb8700e349e620d652811d05fdf338bab))
### [1.0.3](https://github.com/Kikobeats/microsoft-capitalize/compare/v1.0.2...v1.0.3) (2020-08-01)

@@ -7,0 +14,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/Kikobeats/microsoft-capitalize",
"version": "1.0.3",
"version": "1.0.4",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "author": {

@@ -35,2 +35,6 @@ # microsoft-capitalize

// handling dot corner cases
capitalize('autopilot 2.5')
// => 'Autopilot 2.5'
// passing exceptions

@@ -37,0 +41,0 @@ capitalize('JSON+LD & oEmbed', ['oEmbed'])

@@ -17,3 +17,3 @@ 'use strict'

let title = str
.split('.')
.split(/\.(?![\d])/)
.map(str => capitalize(str.trim()))

@@ -20,0 +20,0 @@ .join('. ')

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