@densetsuuu/docteur 0.1.1-beta.0 → 0.1.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,12 @@
7
7
  | tracing channels for provider lifecycle timing.
8
8
  |
9
9
  */
10
- import { tracingChannels } from '@adonisjs/application';
11
- import { register } from 'node:module';
10
+ import { createRequire, register } from 'node:module';
11
+ import { join } from 'node:path';
12
12
  import { performance } from 'node:perf_hooks';
13
13
  import { MessageChannel } from 'node:worker_threads';
14
+ const require = createRequire(join(process.cwd(), 'node_modules', '_'));
15
+ const { tracingChannels } = require('@adonisjs/application');
14
16
  // Module timing data from hooks
15
17
  const parents = new Map();
16
18
  const loadTimes = new Map();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@densetsuuu/docteur",
3
3
  "description": "AdonisJS cold start profiler - analyze and optimize your application boot time",
4
- "version": "0.1.1-beta.0",
4
+ "version": "0.1.1-beta.2",
5
5
  "engines": {
6
6
  "node": ">=21.0.0"
7
7
  },