@fireproof/core 0.7.0-alpha.1 → 0.7.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
- import { readFileSync } from 'node:fs';
2
- import { mkdir, writeFile } from 'node:fs/promises';
1
+ import { mkdir, writeFile } from 'fs/promises';
3
2
  import http from 'node:http';
4
3
  import https from 'node:https';
5
4
  import zlib from 'node:zlib';
@@ -8,6 +7,7 @@ import { Buffer as Buffer$H } from 'node:buffer';
8
7
  import { types, promisify as promisify$1, deprecate as deprecate$2 } from 'node:util';
9
8
  import { format as format$2 } from 'node:url';
10
9
  import { isIP } from 'node:net';
10
+ import 'node:fs';
11
11
  import 'node:path';
12
12
 
13
13
  var encode_1$2 = encode$9;
@@ -39184,6 +39184,10 @@ function homedir(){
39184
39184
  return '$HOME'
39185
39185
  }
39186
39186
 
39187
+ var fs = {};
39188
+
39189
+ const readFileSync = fs.readFileSync;
39190
+
39187
39191
  const defaultConfig$1 = {
39188
39192
  dataDir: join(homedir(), '.fireproof')
39189
39193
  };