chore: bump packages
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Kieran 2023-11-14 12:07:25 +00:00
parent eb47da0417
commit 5fea9f3dfb
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
4 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@snort/shared",
"version": "1.0.8",
"version": "1.0.9",
"description": "Shared components for Snort",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system-react",
"version": "1.0.19",
"version": "1.1.1",
"description": "React hooks for @snort/system",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -15,8 +15,8 @@
"dist"
],
"dependencies": {
"@snort/shared": "^1.0.8",
"@snort/system": "^1.0.22",
"@snort/shared": "^1.0.9",
"@snort/system": "^1.1.1",
"react": "^18.2.0"
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system",
"version": "1.0.22",
"version": "1.1.1",
"description": "Snort nostr system package",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -33,7 +33,7 @@
"@noble/curves": "^1.2.0",
"@noble/hashes": "^1.3.2",
"@scure/base": "^1.1.2",
"@snort/shared": "^1.0.7",
"@snort/shared": "^1.0.9",
"@stablelib/xchacha20": "^1.0.1",
"debug": "^4.3.4",
"eventemitter3": "^5.0.1",

View File

@ -46,7 +46,7 @@ export function flatFilterEq(a: FlatReqFilter, b: FlatReqFilter): boolean {
export function splitByUrl(str: string) {
const urlRegex =
/((?:http|ftp|https|nostr|web\+nostr|magnet):\/?\/?(?:[\w+?.\w+])+(?:[\p{L}\p{N}~!@#$%^&*()_\-=+\\/?.:;',]*)?(?:[-a-z0-9+&@#/%=~()_|]))/iu;
/((?:http|ftp|https|nostr|web\+nostr|magnet|lnurl[p|w]?):\/?\/?(?:[\w+?.\w+])+(?:[\p{L}\p{N}~!@#$%^&*()_\-=+\\/?.:;',]*)?(?:[-a-z0-9+&@#/%=~()_|]))/iu;
return str.split(urlRegex);
}