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

rheactor-value-objects

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rheactor-value-objects - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

dist/uri.js

@@ -16,4 +16,4 @@ 'use strict';

// http://stackoverflow.com/a/3809435
var URIRegex = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/;
// http://stackoverflow.com/a/3809435, + DomainRegex
var uriRegex = /^https?:\/\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9](\/[-a-zA-Z0-9@:%_+.~#?&//=()]*)*$/i;

@@ -38,3 +38,3 @@ var URIValue = exports.URIValue = function () {

}
if (!URIRegex.test(uri)) {
if (!uriRegex.test(uri)) {
throw new _errors.ValidationFailedError('Not a URI: ' + uri);

@@ -41,0 +41,0 @@ }

{
"name": "rheactor-value-objects",
"description": "A collection of value objects",
"version": "4.0.0",
"version": "4.0.1",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

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