Skip to content

Commit

Permalink
Add node: prefix in require for built-in modules
Browse files Browse the repository at this point in the history
PR-URL: #443
  • Loading branch information
tshemsedinov committed Feb 19, 2023
1 parent e0d1085 commit e7b248b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/loader.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use strict';

const fsp = require('fs').promises;
const path = require('path');

const fsp = require('node:fs').promises;
const path = require('node:path');
const metavm = require('metavm');

const { Schema } = require('./schema.js');
Expand Down
1 change: 1 addition & 0 deletions test/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict';

const metatests = require('metatests');
const { typeFactory, TYPES } = require('../lib/types.js');

Expand Down

0 comments on commit e7b248b

Please sign in to comment.