Socket
Socket
Sign inDemoInstall

remove-trailing-separator

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

6

history.md
## 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.

2

index.js

@@ -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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc