Comparing version 0.1.0 to 0.1.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.1.1](https://github.com/nuxt-contrib/scule/compare/v0.1.0...v0.1.1) (2021-02-16) | ||
### Features | ||
* add dot to default splitters ([db5120f](https://github.com/nuxt-contrib/scule/commit/db5120fddf22850255f7c0d1283aad7d8c53cf5b)) | ||
### 0.0.1 (2021-02-16) |
@@ -8,3 +8,3 @@ 'use strict'; | ||
} | ||
const STR_SPLITTERS = ["-", "_", "/"]; | ||
const STR_SPLITTERS = ["-", "_", "/", "."]; | ||
function splitByCase(str, splitters = STR_SPLITTERS) { | ||
@@ -11,0 +11,0 @@ const parts = []; |
{ | ||
"name": "scule", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/scule", |
@@ -69,3 +69,3 @@ # 🧵 Scule | ||
- Splits string by splitters (default: `['-', '_', '/']`) | ||
- Splits string by splitters (default: `['-', '_', '/', '.]`) | ||
- Splits when case changes from lower to upper (only rising edges) | ||
@@ -72,0 +72,0 @@ - Case is preserved in returned value |
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
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
8684