to-title-case
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Convert a string to a title case.", | ||
@@ -16,3 +16,2 @@ "keywords": [ | ||
"component/escape-regexp": "1.0.2", | ||
"ianstormtaylor/map": "0.1.0", | ||
"ianstormtaylor/title-case-minors": "0.0.2", | ||
@@ -19,0 +18,0 @@ "ianstormtaylor/to-capital-case": "0.1.1" |
0.1.4 - April 1, 2013 | ||
0.1.5 - September 26, 2014 | ||
-------------------------- | ||
* remove unnecessary `map` dependency | ||
0.1.4 - April 1, 2014 | ||
--------------------- | ||
* upgraded `map` | ||
0.1.3 - February 11, 2013 | ||
0.1.3 - February 11, 2014 | ||
------------------------- | ||
@@ -8,0 +12,0 @@ * upgraded `map` |
@@ -9,3 +9,2 @@ | ||
var capital = require('to-capital-case'); | ||
var map = require('map'); | ||
var minors = require('title-case-minors'); | ||
@@ -25,3 +24,3 @@ | ||
var escaped = map(minors, escape); | ||
var escaped = minors.map(escape); | ||
var minorMatcher = new RegExp('[^^]\\b(' + escaped.join('|') + ')\\b', 'ig'); | ||
@@ -28,0 +27,0 @@ var colonMatcher = /:\s*(\w)/g; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Convert a string to title case.", | ||
@@ -16,3 +16,2 @@ "keywords": [ | ||
"escape-regexp-component": "1.0.2", | ||
"map": "ianstormtaylor/map#0.1.2", | ||
"title-case-minors": "0.0.2", | ||
@@ -19,0 +18,0 @@ "to-capital-case": "0.1.1" |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
3
0
119303
4639
- Removedmap@ianstormtaylor/map#0.1.2