Socket
Socket
Sign inDemoInstall

comma-separated-tokens

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comma-separated-tokens - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

license

6

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc