HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/share/node_modules/tcompare/dist/mjs/
Upload File :
Current File : //proc/self/root/usr/share/node_modules/tcompare/dist/mjs/index.js
import { Format } from './format.js';
import { Has } from './has.js';
import { HasStrict } from './has-strict.js';
import { Match } from './match.js';
import { MatchOnly } from './match-only.js';
import { MatchStrict } from './match-strict.js';
import { Same } from './same.js';
import { Strict } from './strict.js';
const simple = (o) => ({
    diff: o.print(),
    match: o.match,
});
const fn = (Cls) => (obj, pattern, options = {}) => simple(new Cls(obj, {
    ...options,
    expect: pattern,
    parent: undefined,
}));
export const format = (obj, options = {}) => new Format(obj, options).print();
export const same = fn(Same);
export const strict = fn(Strict);
export const has = fn(Has);
export const hasStrict = fn(HasStrict);
export const match = fn(Match);
export const matchOnly = fn(MatchOnly);
export const matchStrict = fn(MatchStrict);
export { Format } from './format.js';
export { Has } from './has.js';
export { HasStrict } from './has-strict.js';
export { Match } from './match.js';
export { MatchOnly } from './match-only.js';
export { MatchStrict } from './match-strict.js';
export { Same } from './same.js';
export { Strict } from './strict.js';
export { styles } from './styles.js';
//# sourceMappingURL=index.js.map