File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { canonicalDouble } from '@iden3/js-jsonld-merklization/dist/types/lib/types/types' ;
3
2
import { W3CCredential , ProofQuery } from '../../verifiable' ;
4
3
5
4
/**
@@ -97,9 +96,9 @@ const greaterThan = (
97
96
b : ComparableType | ComparableType [ ]
98
97
) => {
99
98
const predicate = ( a : ComparableType , b : ComparableType ) => {
100
- console . time ( " detectDataFormat" )
99
+ console . time ( ' detectDataFormat' ) ;
101
100
const dataFormat = detectDataFormat ( a . toString ( ) ) ;
102
- console . timeEnd ( " detectDataFormat" )
101
+ console . timeEnd ( ' detectDataFormat' ) ;
103
102
104
103
switch ( dataFormat ) {
105
104
case SupportedDataFormat . BigInt :
@@ -354,6 +353,7 @@ const operatorIndependentCheck = (
354
353
const regExBigInt = / ^ [ + - ] ? \d + $ / ;
355
354
const regExDouble = / ^ [ + - ] ? \d + $ / ;
356
355
const regExDateTimeRFC3339Nano =
356
+ /* eslint-disable-next-line */
357
357
/ ^ ( [ 0 - 9 ] + ) - ( 0 [ 1 - 9 ] | 1 [ 0 1 2 ] ) - ( 0 [ 1 - 9 ] | [ 1 2 ] [ 0 - 9 ] | 3 [ 0 1 ] ) [ T t ] ( [ 0 1 ] [ 0 - 9 ] | 2 [ 0 - 3 ] ) : ( [ 0 - 5 ] [ 0 - 9 ] ) : ( [ 0 - 5 ] [ 0 - 9 ] | 6 0 ) ( \. [ 0 - 9 ] + ) ? ( ( [ Z z ] ) | ( [ \+ | \- ] ( [ 0 1 ] [ 0 - 9 ] | 2 [ 0 - 3 ] ) : [ 0 - 5 ] [ 0 - 9 ] ) ) $ / ;
358
358
const regExBoolean = / ^ ( t r u e ) | ( f a l s e ) $ / ;
359
359
const regExDateTimeYYYYMMDD = / ^ \d { 4 } - \d { 2 } - \d { 2 } $ / ;
You can’t perform that action at this time.
0 commit comments