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

linkify-it

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkify-it - npm Package Compare versions

Comparing version 2.2.0 to 3.0.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

3.0.0 / 2020-05-19
------------------
- Allow unlimited `.` inside link params, #81. This should not be breaking, but
bumped version for sure.
- Allow `..&` in params, #87.
- Deps bump.
- Rewrite build scripts.
2.2.0 / 2019-07-12

@@ -2,0 +12,0 @@ ------------------

7

lib/re.js

@@ -59,4 +59,4 @@ 'use strict';

"\\'(?=" + re.src_pseudo_letter + '|[-]).|' + // allow `I'm_king` if no pair found
'\\.{2,4}[a-zA-Z0-9%/]|' + // github has ... in commit range links,
// google has .... in links (issue #66)
'\\.{2,}[a-zA-Z0-9%/&]|' + // google has many dots in "google search" links (#66, #81).
// github has ... in commit range links,
// Restrict to

@@ -66,2 +66,3 @@ // - english

// - parts of file path
// - params separator
// until more examples found.

@@ -75,3 +76,3 @@ '\\.(?!' + re.src_ZCc + '|[.]).|' +

'\\,(?!' + re.src_ZCc + ').|' + // allow `,,,` in paths
'\\!(?!' + re.src_ZCc + '|[!]).|' +
'\\!(?!' + re.src_ZCc + ').|' + // allow `!!!` in paths
'\\?(?!' + re.src_ZCc + '|[?]).' +

@@ -78,0 +79,0 @@ ')+' +

{
"name": "linkify-it",
"version": "2.2.0",
"version": "3.0.0",
"description": "Links recognition library with FULL unicode support",

@@ -18,3 +18,10 @@ "keywords": [

"scripts": {
"test": "make test"
"lint": "eslint .",
"test": "npm run lint && nyc mocha",
"coverage": "npm run test && nyc report --reporter html",
"report-coveralls": "nyc report --reporter=text-lcov | coveralls",
"demo": "npm run lint && node support/build_demo.js",
"doc": "node support/build_doc.js",
"gh-pages": "npm run demo && npm run doc && shx cp -R doc/ demo/ && gh-pages -d demo -f",
"prepublishOnly": "npm run gh-pages"
},

@@ -29,10 +36,12 @@ "dependencies": {

"browserify": "^16.2.3",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^5.9.0",
"istanbul": "^0.4.5",
"jade": "^1.11.0",
"eslint": "^7.0.0",
"gh-pages": "^2.2.0",
"mdurl": "^1.0.0",
"mocha": "^5.2.0",
"mocha": "^7.1.2",
"ndoc": "^5.0.1",
"nyc": "^15.0.1",
"pug-cli": "^1.0.0-alpha6",
"shelljs": "^0.8.4",
"shx": "^0.3.2",
"stylus": "~0.54.5",

@@ -39,0 +48,0 @@ "tlds": "^1.166.0"

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