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

@directus/format-title

Package Overview
Dependencies
Maintainers
3
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@directus/format-title - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

3

dist/format-title.cjs.js

@@ -91,2 +91,3 @@ 'use strict';

'USB',
'VIP',
'W3C',

@@ -137,4 +138,2 @@ 'WYSIWYG',

if (index === 0) return str;
if (prepositions.includes(lowercaseStr)) return lowercaseStr;

@@ -141,0 +140,0 @@ if (conjunctions.includes(lowercaseStr)) return lowercaseStr;

@@ -87,2 +87,3 @@ import decamelize from 'decamelize';

'USB',
'VIP',
'W3C',

@@ -133,4 +134,2 @@ 'WYSIWYG',

if (index === 0) return str;
if (prepositions.includes(lowercaseStr)) return lowercaseStr;

@@ -137,0 +136,0 @@ if (conjunctions.includes(lowercaseStr)) return lowercaseStr;

{
"name": "@directus/format-title",
"version": "2.1.1",
"version": "2.2.0",
"description": "Custom string formatter that converts any string into [Title Case](http://www.grammar-monster.com/lessons/capital_letters_title_case.htm)",

@@ -39,6 +39,6 @@ "main": "dist/format-title.cjs.js",

"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-terser": "^1.0.1"
}
}

@@ -1,2 +0,35 @@

# format-title
<p align="center">
<a href="https://directus.io" target="_blank" rel="noopener noreferrer">
<img src="https://user-images.githubusercontent.com/522079/43096167-3a1b1118-8e86-11e8-9fb2-7b4e3b1368bc.png" width="140" alt="Directus Logo"/>
</a>
</p>
<p>&nbsp;</p>
<h1 align="center">
The All-New Directus 7<br>Future-Proof Headless CMS
</h1>
<h3 align="center">
<a href="https://directus.io">Website</a> •
<a href="https://docs.directus.io">Docs</a> •
<a href="https://docs.directus.io/api/reference.html">API Reference</a> •
<a href="https://docs.directus.io/app/user-guide.html">User Guide</a> •
<a href="https://directus.app">Demo</a> •
<a href="https://docs.directus.io/supporting-directus.html">Contribute</a>
</h3>
<p>&nbsp;</p>
> _The Directus 7 App has been rebuilt from the ground-up in Vue.js and decoupled from our new "versionless" API. Both can easily be customized and extended to suit your project's needs._
<p align="center">
<img src="https://semaphoreci.com/api/v1/directus/app/branches/build/badge.svg">
</p>
<p>&nbsp;</p>
## 🐰 Directus Title Formatter
Custom string formatter that converts any string into [Title Case](http://www.grammar-monster.com/lessons/capital_letters_title_case.htm)

@@ -35,6 +68,8 @@

## License
<p>&nbsp;</p>
MIT License
----
Copyright (c) 2018 RANGER Studio
<p align="center">
Directus Thumbnailer is released under the <a href="https://opensource.org/licenses/MIT">MIT</a> license. Directus (proper) is released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPLv3</a> license. <a href="http://rangerstudio.com">RANGER Studio LLC</a> owns all Directus trademarks and logos on behalf of our project's community. Copyright © 2006-2018, <a href="http://rangerstudio.com">RANGER Studio LLC</a>.
</p>

Sorry, the diff of this file is too big to display

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