extract-domain
Advanced tools
Comparing version 4.1.2 to 4.1.3
{ | ||
"name": "extract-domain", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Extract domain name from URL", | ||
@@ -17,3 +17,3 @@ "type": "module", | ||
"scripts": { | ||
"build": "npm run pretty && microbundle -i extractDomain -f modern,esm,cjs --extrenal psl index.ts", | ||
"build": "npm run pretty && microbundle -i extractDomain -f modern,esm,cjs index.ts", | ||
"test": "mocha -R spec tests/", | ||
@@ -20,0 +20,0 @@ "pretty": "prettier --tab-width=4 --print-width=100 --single-quote --trailing-comma=es5 --write *.ts *.ts", |
import assert from 'assert'; | ||
import extractDomain from '../dist/extract-domain.module.js'; | ||
import extractDomain from '../dist/extract-domain.modern.js'; | ||
@@ -4,0 +4,0 @@ const urls = [ |
34856