trim-off-newlines
Advanced tools
Comparing version 1.0.1 to 1.0.2
'use strict'; | ||
var regex = /^(?:\r\n|\n|\r)+|(?:\r\n|\n|\r)+$/g; | ||
var regex = /^(?:\r|\n)+|(?:\r|\n)+$/g; | ||
@@ -5,0 +5,0 @@ module.exports = function (str) { |
{ | ||
"name": "trim-off-newlines", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Similar to String#trim() but removes only newlines", | ||
@@ -37,6 +37,5 @@ "license": "MIT", | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"xo": "*" | ||
"xo": "^0.17.1" | ||
}, | ||
@@ -43,0 +42,0 @@ "xo": { |
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
2852