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

pos

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pos - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7-1

6

lexer.js

@@ -12,4 +12,2 @@ /*!

var re = {
// http://daringfireball.net/2010/07/improved_regex_for_matching_urls
url: /\b(?:(?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\((?:[^\s()<>]+|(?:\([^\s()<>]+\)))*\))+(?:\((?:[^\s()<>]+|(?:\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,
number: /[0-9]*\.[0-9]+|[0-9]+/ig,

@@ -79,4 +77,4 @@ space: /\s+/ig,

function Lexer(){
// Split by urls, then numbers, then whitespace, then punctuation
this.regexs = [re.url, re.number, re.space, re.punctuation];
// Split by then numbers, then whitespace, then punctuation
this.regexs = [re.number, re.space, re.punctuation];
}

@@ -83,0 +81,0 @@

@@ -7,3 +7,10 @@ {

"author": "Percy Wegmann",
"version": "0.1.6",
"contributors": [
{
"name": "Darius Kazemi",
"email": "darius.kazemi@gmail.com",
"url": "http://tinysubversions.com"
}
],
"version": "0.1.7-1",
"licenses": [{

@@ -10,0 +17,0 @@ "type": "LGPL",

@@ -11,4 +11,4 @@ ABOUT:

pos-js was written by [Percy Wegmann](http://www.percywegmann.com/) and
is [available on Google code](http://www.percywegmann.com/). This fork
adds node.js and npm support and is maintained by Fortnight Labs.
is [available on Google code](https://code.google.com/p/jspos/). This fork
adds node.js and npm support.

@@ -67,3 +67,2 @@ LICENSE:

UH Interjection oh, oops
URL url http://www.google.com/
VB verb, base form eat

@@ -70,0 +69,0 @@ VBD verb, past tense ate

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