Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlee85 committed Dec 13, 2024
1 parent 10021f6 commit 2b781c3
Show file tree
Hide file tree
Showing 3 changed files with 899 additions and 1,162 deletions.
8 changes: 3 additions & 5 deletions extension.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
import fs from 'node:fs';
import path from 'node:path';
import assert from 'node:assert';
import { createRequire } from 'node:module';
import express from 'express';
import proxy from 'express-http-proxy';
import * as cheerio from 'cheerio';

/**
* Logger override for logging in this extension.
*/
logger.info = (message) => {
console.log(`[harperdb-express] ${message}`);
console.log(`[harperdb-proxy-transform] ${message}`);
};
logger.debug = (message) => {
console.log(`[harperdb-express] ${message}`);
console.log(`[harperdb-proxy-transform] ${message}`);
};
logger.error = (message) => {
console.error(`[harperdb-express] ${message}`);
console.error(`[harperdb-proxy-transform] ${message}`);
};

/**
Expand Down
Loading

0 comments on commit 2b781c3

Please sign in to comment.