cpp.js 1.0.0-beta.24 → 1.0.0-beta.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cpp.js",
3
- "version": "1.0.0-beta.24",
3
+ "version": "1.0.0-beta.26",
4
4
  "license": "MIT",
5
5
  "homepage": "https://cpp.js.org",
6
6
  "repository": "https://github.com/bugra9/cpp.js.git",
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable no-await-in-loop */
2
2
  /* eslint-disable no-restricted-syntax */
3
- import fs from 'fs';
4
3
  import { rollup } from 'rollup';
5
4
  import { nodeResolve } from '@rollup/plugin-node-resolve';
6
5
  import commonjs from '@rollup/plugin-commonjs';
package/src/bin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import fs, { mkdirSync } from 'node:fs';
3
+ import fs from 'node:fs';
4
4
  import { Command, Option } from 'commander';
5
5
  import glob from 'glob';
6
6
  import upath from 'upath';
@@ -1,4 +1,4 @@
1
- import os from 'os';
1
+ import os from 'node:os';
2
2
 
3
3
  let osUserAndGroupId;
4
4
  export default function getOsUserAndGroupId() {
@@ -1,4 +1,4 @@
1
- import { execFileSync } from 'child_process';
1
+ import { execFileSync } from 'node:child_process';
2
2
 
3
3
  let isDockerImageAvailable = false;
4
4