@react-grab/cursor 0.0.80 → 0.0.82
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/cli.cjs +2 -6
- package/dist/cli.js +3 -6
- package/dist/server.cjs +3072 -178
- package/dist/server.js +3069 -179
- package/package.json +4 -5
package/dist/cli.cjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var url = require('url');
|
|
5
4
|
var path = require('path');
|
|
6
5
|
|
|
7
|
-
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
6
|
var __create = Object.create;
|
|
9
7
|
var __defProp = Object.defineProperty;
|
|
10
8
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -605,10 +603,8 @@ var import_picocolors = __toESM(require_picocolors());
|
|
|
605
603
|
var DEFAULT_PORT = 5567;
|
|
606
604
|
|
|
607
605
|
// src/cli.ts
|
|
608
|
-
var VERSION = "0.0.
|
|
609
|
-
var
|
|
610
|
-
var __dirname$1 = path.dirname(__filename$1);
|
|
611
|
-
var serverPath = path.join(__dirname$1, "server.js");
|
|
606
|
+
var VERSION = "0.0.82";
|
|
607
|
+
var serverPath = path.join(__dirname, "server.cjs");
|
|
612
608
|
(0, import_cross_spawn.default)(process.execPath, [serverPath], {
|
|
613
609
|
detached: true,
|
|
614
610
|
stdio: "ignore"
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { dirname, join } from 'path';
|
|
2
|
+
import { join } from 'path';
|
|
4
3
|
|
|
5
4
|
var __create = Object.create;
|
|
6
5
|
var __defProp = Object.defineProperty;
|
|
@@ -602,10 +601,8 @@ var import_picocolors = __toESM(require_picocolors());
|
|
|
602
601
|
var DEFAULT_PORT = 5567;
|
|
603
602
|
|
|
604
603
|
// src/cli.ts
|
|
605
|
-
var VERSION = "0.0.
|
|
606
|
-
var
|
|
607
|
-
var __dirname = dirname(__filename);
|
|
608
|
-
var serverPath = join(__dirname, "server.js");
|
|
604
|
+
var VERSION = "0.0.82";
|
|
605
|
+
var serverPath = join(__dirname, "server.cjs");
|
|
609
606
|
(0, import_cross_spawn.default)(process.execPath, [serverPath], {
|
|
610
607
|
detached: true,
|
|
611
608
|
stdio: "ignore"
|