Comparing version 0.2.0 to 0.2.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
if (typeof arg === 'string') { | ||
return arg.replace(/\uFEFF/g, ''); | ||
return arg.replace(/^\uFEFF/g, ''); | ||
} | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "strip-bom", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Strip UTF-8 byte order mark (BOM) from a string/buffer", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3154