Socket
Socket
Sign inDemoInstall

extract-domain

Package Overview
Dependencies
1
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.2 to 4.1.3

4

package.json
{
"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 = [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc