New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@livekit/components-core

Package Overview
Dependencies
Maintainers
21
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/components-core - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

dist/index.js

@@ -5,3 +5,3 @@ 'use strict';

var ipRegex = require('ip-regex');
var tlds = require('tlds');
var globalTldList = require('global-tld-list');
var createEmailRegExp = require('email-regex');

@@ -147,3 +147,3 @@ var dom = require('@floating-ui/dom');

const domain = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*";
const tld = `(?:\\.${options.strict ? "(?:[a-z\\u00a1-\\uffff]{2,})" : `(?:${tlds.sort((a, b) => b.length - a.length).join("|")})`})\\.?`;
const tld = `(?:\\.${options.strict ? "(?:[a-z\\u00a1-\\uffff]{2,})" : `(?:${globalTldList.TLDs.sort((a, b) => b.length - a.length).join("|")})`})\\.?`;
const port = "(?::\\d{2,5})?";

@@ -150,0 +150,0 @@ const path = '(?:[/?#][^\\s"]*)?';

{
"name": "@livekit/components-core",
"version": "0.2.3",
"version": "0.2.4",
"license": "Apache-2.0",

@@ -40,3 +40,3 @@ "author": "LiveKit",

"ip-regex": "^5.0.0",
"tlds": "^1.236.0"
"global-tld-list": "^0.0.995"
},

@@ -47,3 +47,3 @@ "peerDependencies": {

"devDependencies": {
"@livekit/components-styles": "~0.1.12",
"@livekit/components-styles": "~0.1.13",
"@size-limit/file": "^8.1.2",

@@ -59,3 +59,3 @@ "@size-limit/webpack": "^8.1.2",

"engines": {
"node": ">=10"
"node": ">=14"
},

@@ -62,0 +62,0 @@ "publishConfig": {

@@ -24,4 +24,3 @@ // The MIT License (MIT)

import ipRegex from 'ip-regex';
import tlds from 'tlds';
import { TLDs } from 'global-tld-list';
interface RegExOptions {

@@ -55,3 +54,3 @@ /**

? '(?:[a-z\\u00a1-\\uffff]{2,})'
: `(?:${tlds.sort((a, b) => b.length - a.length).join('|')})`
: `(?:${TLDs.sort((a, b) => b.length - a.length).join('|')})`
})\\.?`;

@@ -58,0 +57,0 @@ const port = '(?::\\d{2,5})?';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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