Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@live-change/framework

Package Overview
Dependencies
Maintainers
0
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/framework - npm Package Compare versions

Comparing version 0.8.93 to 0.8.94

10

lib/utils/validators.js

@@ -172,6 +172,8 @@ import { mergeDeep } from "../utils.js"

if(!value) return false // ignore empty
const match = value.match(
/^(?:http(s)?:\/\/)[\w.-]+(?:\.[\w\.-]+)+[\w\-\._%~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/
)
if(!match) return 'wrongUrl'
try {
const url = new URL(value)
if(url.protocol !== 'http:' && url.protocol !== 'https:') return 'wrongUrl'
} catch(e) {
return 'wrongUrl'
}
}

@@ -178,0 +180,0 @@ }

8

package.json
{
"name": "@live-change/framework",
"version": "0.8.93",
"version": "0.8.94",
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",

@@ -25,6 +25,6 @@ "main": "index.js",

"devDependencies": {
"@live-change/dao": "^0.8.93",
"@live-change/uid": "^0.8.93"
"@live-change/dao": "^0.8.94",
"@live-change/uid": "^0.8.94"
},
"gitHead": "c5c699c6f29b735dd1597ddf572a8b956b338329"
"gitHead": "1c40a298d8d39dfcf4fc17bb754df365e7214d3e"
}
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