@simon_he/pi 0.0.3 → 0.0.4
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/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/seprateThread.cjs +5 -0
- package/dist/seprateThread.d.ts +1 -0
- package/dist/seprateThread.mjs +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13,11 +13,11 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
const path__default = /*#__PURE__*/_interopDefaultLegacy(path);
|
|
14
14
|
const ora__default = /*#__PURE__*/_interopDefaultLegacy(ora);
|
|
15
15
|
|
|
16
|
-
const version = "0.0.
|
|
16
|
+
const version = "0.0.4";
|
|
17
17
|
|
|
18
18
|
const __filename$1 = url$1.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.cjs', document.baseURI).href)));
|
|
19
19
|
const __dirname$1 = path__default.dirname(__filename$1);
|
|
20
|
-
const url = path__default.resolve(__dirname$1, "./seprateThread.
|
|
20
|
+
const url = path__default.resolve(__dirname$1, "./seprateThread.mjs");
|
|
21
21
|
async function pi() {
|
|
22
22
|
const argv2 = process.argv.slice(2);
|
|
23
23
|
await installDeps();
|
package/dist/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import { fileURLToPath } from 'url';
|
|
|
4
4
|
import { useNodeWorker, jsShell } from 'simon-js-tool';
|
|
5
5
|
import ora from 'ora';
|
|
6
6
|
|
|
7
|
-
const version = "0.0.
|
|
7
|
+
const version = "0.0.4";
|
|
8
8
|
|
|
9
9
|
const __filename = fileURLToPath(import.meta.url);
|
|
10
10
|
const __dirname = path.dirname(__filename);
|
|
11
|
-
const url = path.resolve(__dirname, "./seprateThread.
|
|
11
|
+
const url = path.resolve(__dirname, "./seprateThread.mjs");
|
|
12
12
|
async function pi() {
|
|
13
13
|
const argv2 = process.argv.slice(2);
|
|
14
14
|
await installDeps();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|