@teleporthq/teleport-uidl-validator
Advanced tools
Comparing version 0.24.0 to 0.25.0
@@ -40,3 +40,3 @@ "use strict"; | ||
return new CustomCombinators(function (json) { | ||
var fileNameRegex = new RegExp('^[a-zA-Z0-9-_.]*$'); | ||
var fileNameRegex = new RegExp('^[a-zA-Z0-9-_./]*$'); | ||
if (json && typeof json === 'string' && fileNameRegex.test(json)) { | ||
@@ -43,0 +43,0 @@ return json_type_validation_1.Result.ok(json); |
@@ -37,3 +37,3 @@ /* tslint:disable member-ordering */ | ||
return new CustomCombinators(function (json) { | ||
var fileNameRegex = new RegExp('^[a-zA-Z0-9-_.]*$'); | ||
var fileNameRegex = new RegExp('^[a-zA-Z0-9-_./]*$'); | ||
if (json && typeof json === 'string' && fileNameRegex.test(json)) { | ||
@@ -40,0 +40,0 @@ return Result.ok(json); |
{ | ||
"name": "@teleporthq/teleport-uidl-validator", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"description": "A module that offers validation and parsing for non-standard UIDL structures", | ||
@@ -28,6 +28,6 @@ "author": "teleportHQ", | ||
"@mojotech/json-type-validation": "^3.1.0", | ||
"@teleporthq/teleport-shared": "^0.24.0", | ||
"@teleporthq/teleport-types": "^0.24.0" | ||
"@teleporthq/teleport-shared": "^0.25.0", | ||
"@teleporthq/teleport-types": "^0.25.0" | ||
}, | ||
"gitHead": "c361278e5b51cc1b2dcbd0b4f49dc92c07a80bf1" | ||
"gitHead": "0db44af7e94b3dd510c368e8b00b3b6b5ee7b61a" | ||
} |
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
414693
+ Added@teleporthq/teleport-shared@0.25.4(transitive)
+ Added@teleporthq/teleport-types@0.25.2(transitive)
- Removed@teleporthq/teleport-shared@0.24.0(transitive)
- Removed@teleporthq/teleport-types@0.24.0(transitive)