Socket
Socket
Sign inDemoInstall

scule

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scule - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

CHANGELOG.md

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

2

dist/index.js

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

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