linkify-it
Advanced tools
Comparing version 4.0.1 to 5.0.0
{ | ||
"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) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55391
14
6
1358
197
1
+ Addeduc.micro@2.1.0(transitive)
- Removeduc.micro@1.0.6(transitive)
Updateduc.micro@^2.0.0