comma-separated-tokens
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,4 +6,2 @@ 'use strict' | ||
var trim = require('trim') | ||
var comma = ',' | ||
@@ -28,3 +26,3 @@ var space = ' ' | ||
val = trim(input.slice(lastIndex, index)) | ||
val = input.slice(lastIndex, index).trim() | ||
@@ -56,3 +54,3 @@ if (val || !end) { | ||
return trim(values.join(right + comma + left)) | ||
return values.join(right + comma + left).trim() | ||
} |
{ | ||
"name": "comma-separated-tokens", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Parse and stringify comma-separated tokens", | ||
@@ -24,11 +24,8 @@ "license": "MIT", | ||
], | ||
"dependencies": { | ||
"trim": "0.0.1" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^16.0.0", | ||
"esmangle": "^1.0.1", | ||
"nyc": "^11.0.0", | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.12.0", | ||
"remark-cli": "^5.0.0", | ||
"remark-cli": "^6.0.1", | ||
"remark-preset-wooorm": "^4.0.0", | ||
@@ -39,3 +36,3 @@ "tape": "^4.0.0", | ||
"scripts": { | ||
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix", | ||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", | ||
"build-bundle": "browserify index.js --bare -s commaSeparatedTokens > comma-separated-tokens.js", | ||
@@ -42,0 +39,0 @@ "build-mangle": "esmangle comma-separated-tokens.js > comma-separated-tokens.min.js", |
@@ -71,3 +71,3 @@ # comma-separated-tokens [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
[license]: LICENSE | ||
[license]: license | ||
@@ -74,0 +74,0 @@ [author]: http://wooorm.com |
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
0
6021
42
- Removedtrim@0.0.1
- Removedtrim@0.0.1(transitive)