@cypress/schema-tools
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -20,2 +20,3 @@ "use strict"; | ||
var format = formats[name]; | ||
var formatName = format.name; | ||
var r = format.detect.toString(); | ||
@@ -31,3 +32,3 @@ var escaped = escapedCode(r); | ||
return { | ||
name: name, | ||
name: formatName, | ||
'regular expression': escaped, | ||
@@ -34,0 +35,0 @@ dynamic: dynamic, |
{ | ||
"name": "@cypress/schema-tools", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "Validate, sanitize and document JSON schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -23,2 +23,3 @@ import { CustomFormats } from '../formats' | ||
const format = formats[name] | ||
const formatName = format.name | ||
const r = format.detect.toString() | ||
@@ -37,3 +38,3 @@ const escaped = escapedCode(r) | ||
return { | ||
name, | ||
name: formatName, | ||
'regular expression': escaped, | ||
@@ -40,0 +41,0 @@ dynamic, |
66440
1649