Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
15
node_modules/temp-dir/index.js
generated
vendored
15
node_modules/temp-dir/index.js
generated
vendored
|
|
@ -1,13 +1,6 @@
|
|||
'use strict';
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
import {promises as fs} from 'node:fs';
|
||||
import os from 'node:os';
|
||||
|
||||
const tempDirectorySymbol = Symbol.for('__RESOLVED_TEMP_DIRECTORY__');
|
||||
const temporaryDirectory = await fs.realpath(os.tmpdir());
|
||||
|
||||
if (!global[tempDirectorySymbol]) {
|
||||
Object.defineProperty(global, tempDirectorySymbol, {
|
||||
value: fs.realpathSync(os.tmpdir())
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = global[tempDirectorySymbol];
|
||||
export default temporaryDirectory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue