remove-trailing-separator
Advanced tools
Comparing version 1.0.1 to 1.0.2
## History | ||
### 1.0.2 - 07th Jun 2017 | ||
- [8e13ecb](https://github.com/darsain/remove-trailing-separator/commit/8e13ecbfd7b9f5fdf97c5d5ff923e4718b874e31) ES5 compatibility | ||
### 1.0.1 - 25th Sep 2016 | ||
@@ -9,2 +13,2 @@ | ||
Initial release. | ||
Initial release. |
@@ -1,2 +0,2 @@ | ||
const isWin = process.platform === 'win32'; | ||
var isWin = process.platform === 'win32'; | ||
@@ -3,0 +3,0 @@ module.exports = function (str) { |
{ | ||
"name": "remove-trailing-separator", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Removes separators from the end of the string.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,4 +31,4 @@ # remove-trailing-separator | ||
`\` is considered a separator only on WIN32 systems. All UNIX compliant systems | ||
see backslash as a valid file name character, so it would break UNIX compliance | ||
`\` is considered a separator only on WIN32 systems. All POSIX compliant systems | ||
see backslash as a valid file name character, so it would break POSIX compliance | ||
to remove it there. | ||
@@ -52,2 +52,2 @@ | ||
[coveralls-url]: https://coveralls.io/github/darsain/remove-trailing-separator?branch=master | ||
[coveralls-img]: https://coveralls.io/repos/github/darsain/remove-trailing-separator/badge.svg?branch=master | ||
[coveralls-img]: https://coveralls.io/repos/github/darsain/remove-trailing-separator/badge.svg?branch=master |
4024
52