Home
last modified time | relevance | path

Searched refs:stringifyJsonSorted (Results 1 – 6 of 6) sorted by relevance

/expo/packages/@expo/fingerprint/src/sourcer/__tests__/
H A DUtils-test.ts1 import { stringifyJsonSorted } from '../Utils';
3 describe(stringifyJsonSorted, () => {
5 expect(stringifyJsonSorted(1)).toEqual('1');
6 expect(stringifyJsonSorted('s')).toEqual('"s"');
7 expect(stringifyJsonSorted(true)).toEqual('true');
8 expect(stringifyJsonSorted(false)).toEqual('false');
9 expect(stringifyJsonSorted(null)).toEqual('null');
13 expect(stringifyJsonSorted([])).toEqual('[]');
20 expect(stringifyJsonSorted({})).toEqual('{}');
31 expect(stringifyJsonSorted([{ b: '2' }, {}, { a: '3' }, null])).toEqual(
[all …]
/expo/packages/@expo/fingerprint/build/sourcer/
H A DUtils.js6 exports.stringifyJsonSorted = exports.getFileBasedHashSourceAsync = void 0;
28 function stringifyJsonSorted(target, space) { function
31 exports.stringifyJsonSorted = stringifyJsonSorted;
39 const stringifiedA = stringifyJsonSorted(a);
40 const stringifiedB = stringifyJsonSorted(b);
H A DUtils.d.ts6 export declare function stringifyJsonSorted(target: any, space?: string | number | undefined): stri…
H A DExpo.js90 return (0, Utils_1.stringifyJsonSorted)(normalizedConfig);
/expo/packages/@expo/fingerprint/src/sourcer/
H A DUtils.ts28 export function stringifyJsonSorted(target: any, space?: string | number | undefined): string { function
39 const stringifiedA = stringifyJsonSorted(a);
40 const stringifiedB = stringifyJsonSorted(b);
H A DExpo.ts10 import { getFileBasedHashSourceAsync, stringifyJsonSorted } from './Utils';
109 return stringifyJsonSorted(normalizedConfig);