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 4.0.1 to 5.0.0

build/index.cjs.js

49

package.json
{
"name": "linkify-it",
"version": "4.0.1",
"version": "5.0.0",
"description": "Links recognition library with FULL unicode support",

@@ -12,5 +12,18 @@ "keywords": [

"repository": "markdown-it/linkify-it",
"main": "build/index.cjs.js",
"module": "index.mjs",
"exports": {
".": {
"require": "./build/index.cjs.js",
"import": "./index.mjs"
},
"./*": {
"require": "./*",
"import": "./*"
}
},
"files": [
"index.js",
"lib/"
"index.mjs",
"lib/",
"build/"
],

@@ -20,30 +33,28 @@ "license": "MIT",

"lint": "eslint .",
"test": "npm run lint && nyc mocha",
"coverage": "npm run test && nyc report --reporter html",
"report-coveralls": "nyc --reporter=lcov mocha",
"demo": "npm run lint && node support/build_demo.js",
"doc": "node support/build_doc.js",
"test": "npm run lint && npm run build && c8 --exclude build --exclude test -r text -r html -r lcov mocha",
"demo": "npm run lint && node support/build_demo.mjs",
"doc": "node support/build_doc.mjs",
"build": "rollup -c support/rollup.config.mjs",
"gh-pages": "npm run demo && npm run doc && shx cp -R doc/ demo/ && gh-pages -d demo -f",
"prepublishOnly": "npm run gh-pages"
"prepublishOnly": "npm run lint && npm run build && npm run gh-pages"
},
"dependencies": {
"uc.micro": "^1.0.1"
"uc.micro": "^2.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"ansi": "^0.3.0",
"autoprefixer-stylus": "^1.0.0",
"benchmark": "^2.1.0",
"browserify": "^17.0.0",
"eslint": "^7.0.0",
"gh-pages": "^3.2.3",
"mdurl": "^1.0.0",
"mocha": "^9.1.2",
"c8": "^8.0.1",
"eslint": "^8.54.0",
"eslint-config-standard": "^17.1.0",
"gh-pages": "^6.1.0",
"mdurl": "^2.0.0",
"mocha": "^10.2.0",
"ndoc": "^6.0.0",
"nyc": "^15.0.1",
"pug-cli": "^1.0.0-alpha6",
"rollup": "^4.6.1",
"shelljs": "^0.8.4",
"shx": "^0.3.2",
"stylus": "~0.55.0",
"tlds": "^1.166.0"
}
}

@@ -37,3 +37,4 @@ linkify-it

```js
var linkify = require('linkify-it')();
import linkifyit from 'linkify-it';
const linkify = linkifyit();

@@ -65,3 +66,3 @@ // Reload full tlds list & add unofficial `.onion` domain.

validate: function (text, pos, self) {
var tail = text.slice(pos);
const tail = text.slice(pos);

@@ -68,0 +69,0 @@ if (!self.re.twitter) {

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