Skip to content

Commit 2b70c7c

Browse files
author
Lars-Erik Roald
committed
lint
1 parent 7b9d0a4 commit 2b70c7c

File tree

4 files changed

+335
-340
lines changed

4 files changed

+335
-340
lines changed

src/client/index.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,6 @@ function requireStringify () {
773773
}
774774

775775
function replacer(key, value) {
776-
// if (isNode && isNodeBuffer(value))
777-
// return value.toString('base64');
778776
// // @ts-ignore
779777
if (value instanceof Date && !isNaN(value))
780778
return dateToISOString(value);
@@ -1295,7 +1293,6 @@ function requireExecutePath () {
12951293
let allowedOps = { ..._allowedOps, insert: !readonly, ...extractRelations(getMeta(table)) };
12961294
let ops = { ..._ops, ...getCustomFilterPaths(customFilters), getManyDto, getMany, aggregate, count, delete: _delete, cascadeDelete, update, replace };
12971295

1298-
console.dir(JSONFilter, {depth: Infinity});
12991296
let res = await parseFilter(JSONFilter, table);
13001297
if (res === undefined)
13011298
return {};
@@ -2377,7 +2374,6 @@ function requireNetAdapter () {
23772374

23782375
async function post(body) {
23792376
try {
2380-
console.dir(body, {depth: Infinity});
23812377
const headers = { 'Content-Type': 'application/json' };
23822378
const res = await axios.request(path, { headers, method: 'post', data: body });
23832379
return res.data;

src/client/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
},
1212

1313
// plugins: [json(), commonjs()],
14-
plugins: [json(), nodeResolve({ preferBuiltins: false, browser: true }), commonjs({
14+
plugins: [json(), nodeResolve({ preferBuiltins: false }), commonjs({
1515
transformMixedEsModules: true,
1616
esmExternals: true, // Add this
1717
requireReturnsDefault: 'preferred' // Change this

0 commit comments

Comments
 (0)