Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

split-string

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

split-string - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

index.js

@@ -44,2 +44,6 @@ /*!

tok.val = keepEscaping(opts, str, idx) === true ? (ch + next) : next;
tok.escaped = true;
if (typeof fn === 'function') {
fn(tok);
}
arr[arr.length - 1] += tok.val;

@@ -46,0 +50,0 @@ idx++;

10

package.json
{
"name": "split-string",
"description": "Split a string on a character except when the character is escaped.",
"version": "2.1.0",
"version": "2.1.1",
"homepage": "https://github.com/jonschlinkert/split-string",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Brian Woodward <brian.woodward@gmail.com> (https://twitter.com/doowb)",
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)"
"Brian Woodward (https://twitter.com/doowb)",
"Jon Schlinkert (http://twitter.com/jonschlinkert)"
],

@@ -46,4 +46,4 @@ "repository": "jonschlinkert/split-string",

".",
"Why use this?",
"install"
"install",
"Why use this?"
],

@@ -50,0 +50,0 @@ "related": {

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