@camera.ui/go2rtc 0.0.4 → 0.0.6
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/CHANGELOG.md +7 -7
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/install.js +5 -5
- package/dist/install.js.map +1 -1
- package/package.json +58 -59
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
All notable changes to this project will be documented in this file.
|
|
2
|
-
|
|
3
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
-
|
|
6
|
-
## [1.0.0] - 2019-08-06
|
|
7
|
-
|
|
1
|
+
All notable changes to this project will be documented in this file.
|
|
2
|
+
|
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
|
|
6
|
+
## [1.0.0] - 2019-08-06
|
|
7
|
+
|
|
8
8
|
- Initial Release
|
package/dist/index.js
CHANGED
|
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.isGo2rtcAvailable = exports.go2rtcPath = void 0;
|
|
7
|
-
const path_1 = __importDefault(require("path"));
|
|
8
|
-
const os_1 = __importDefault(require("os"));
|
|
9
7
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
8
|
+
const os_1 = __importDefault(require("os"));
|
|
9
|
+
const path_1 = __importDefault(require("path"));
|
|
10
10
|
const platform = os_1.default.platform();
|
|
11
11
|
const go2rtcBinaryPath = path_1.default.resolve(__dirname, 'binary');
|
|
12
12
|
const go2rtcFile = 'go2rtc' + (platform === 'win32' ? '.exe' : '');
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA0B;AAC1B,4CAAoB;AACpB,gDAAwB;AAExB,MAAM,QAAQ,GAAG,YAAE,CAAC,QAAQ,EAAE,CAAC;AAE/B,MAAM,gBAAgB,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAC3D,MAAM,UAAU,GAAG,QAAQ,GAAG,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACnE,MAAM,uBAAuB,GAAG,cAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;AAEpE,MAAM,UAAU,GAAG,GAAW,EAAE,CAAC,uBAAuB,CAAC;AAAnD,QAAA,UAAU,cAAyC;AAEzD,MAAM,iBAAiB,GAAG,GAAY,EAAE;IAC7C,OAAO,kBAAE,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChD,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B"}
|
package/dist/install.js
CHANGED
|
@@ -4,20 +4,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const
|
|
7
|
+
const axios_1 = __importDefault(require("axios"));
|
|
8
8
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
9
|
+
const os_1 = __importDefault(require("os"));
|
|
9
10
|
const path_1 = __importDefault(require("path"));
|
|
10
11
|
const promises_1 = require("stream/promises");
|
|
11
|
-
const axios_1 = __importDefault(require("axios"));
|
|
12
12
|
const unzipper_1 = __importDefault(require("unzipper"));
|
|
13
13
|
const _1 = require(".");
|
|
14
14
|
const binaries = {
|
|
15
15
|
darwin: {
|
|
16
|
-
|
|
16
|
+
x64: 'go2rtc_mac_amd64.zip',
|
|
17
17
|
arm64: 'go2rtc_mac_arm64.zip',
|
|
18
18
|
},
|
|
19
19
|
linux: {
|
|
20
|
-
|
|
20
|
+
x64: 'go2rtc_linux_amd64',
|
|
21
21
|
arm: 'go2rtc_linux_arm',
|
|
22
22
|
armv6: 'go2rtc_linux_armv6',
|
|
23
23
|
arm64: 'go2rtc_linux_arm64',
|
|
@@ -33,8 +33,8 @@ const binaries = {
|
|
|
33
33
|
const GO2RTC_VERSION = 'v1.8.5';
|
|
34
34
|
const arch = os_1.default.arch();
|
|
35
35
|
const platform = os_1.default.platform();
|
|
36
|
-
const releasesUrl = 'https://api.github.com/repos/AlexxIT/go2rtc/releases';
|
|
37
36
|
const filename = binaries[platform]?.[arch];
|
|
37
|
+
const releasesUrl = 'https://api.github.com/repos/AlexxIT/go2rtc/releases';
|
|
38
38
|
const go2rtcBinaryPath = path_1.default.resolve(__dirname, 'binary');
|
|
39
39
|
const go2rtcFilePath = path_1.default.resolve(go2rtcBinaryPath, filename);
|
|
40
40
|
const go2rtcExtractedFilePath = (0, _1.go2rtcPath)();
|
package/dist/install.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":";;;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":";;;;;;AAEA,kDAAkD;AAClD,wDAA0B;AAC1B,4CAAoB;AACpB,gDAAwB;AACxB,8CAA2C;AAC3C,wDAAgC;AAEhC,wBAA+B;AAQ/B,MAAM,QAAQ,GAAoB;IAChC,MAAM,EAAE;QACN,GAAG,EAAE,sBAAsB;QAC3B,KAAK,EAAE,sBAAsB;KAC9B;IACD,KAAK,EAAE;QACL,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AM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAE,CAAC;IAEtE,MAAM,YAAY,CAAC,WAAW,CAAC,CAAC;IAEhC,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,UAAU,uBAAuB,gBAAgB,CAAC,CAAC;QAC/D,kBAAE,CAAC,SAAS,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACvB,CAAC,CAAC;AAEF,cAAc,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,59 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@camera.ui/go2rtc",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "camera.ui go2rtc",
|
|
5
|
-
"author": "seydx (https://github.com/seydx/camera.ui)",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"default": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "rimraf dist && tsc",
|
|
16
|
-
"format": "prettier --write 'src/' --ignore-unknown --no-error-on-unmatched-pattern",
|
|
17
|
-
"install": "node dist/install.js",
|
|
18
|
-
"lint": "eslint --fix --ext .js,.ts .",
|
|
19
|
-
"update": "updates --update ./",
|
|
20
|
-
"install-updates": "npm i --save",
|
|
21
|
-
"prepublishOnly": "npm i --package-lock-only && npm run lint && npm run format && npm run build"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"axios": "^1.6.7",
|
|
25
|
-
"fs-extra": "11.2.0",
|
|
26
|
-
"unzipper": "^0.10.14"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@rushstack/eslint-patch": "^1.7.2",
|
|
30
|
-
"@types/node": "^20.11.
|
|
31
|
-
"@types/ws": "^8.5.10",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^7.0
|
|
33
|
-
"@typescript-eslint/parser": "^7.0
|
|
34
|
-
"concurrently": "^8.2.2",
|
|
35
|
-
"eslint": "^8.57.0",
|
|
36
|
-
"eslint-config-prettier": "^9.1.0",
|
|
37
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
38
|
-
"prettier": "^3.2.5",
|
|
39
|
-
"rimraf": "^5.0.5",
|
|
40
|
-
"typescript": "^5.
|
|
41
|
-
"updates": "^15.1
|
|
42
|
-
},
|
|
43
|
-
"bugs": {
|
|
44
|
-
"url": "https://github.com/seydx/camera.ui/issues"
|
|
45
|
-
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@camera.ui/go2rtc",
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "camera.ui go2rtc",
|
|
5
|
+
"author": "seydx (https://github.com/seydx/camera.ui)",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"default": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rimraf dist && tsc",
|
|
16
|
+
"format": "prettier --write 'src/' --ignore-unknown --no-error-on-unmatched-pattern",
|
|
17
|
+
"install": "node dist/install.js",
|
|
18
|
+
"lint": "eslint --fix --ext .js,.ts .",
|
|
19
|
+
"update": "updates --update ./",
|
|
20
|
+
"install-updates": "npm i --save",
|
|
21
|
+
"prepublishOnly": "npm i --package-lock-only && npm run lint && npm run format && npm run build"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"axios": "^1.6.7",
|
|
25
|
+
"fs-extra": "11.2.0",
|
|
26
|
+
"unzipper": "^0.10.14"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@rushstack/eslint-patch": "^1.7.2",
|
|
30
|
+
"@types/node": "^20.11.26",
|
|
31
|
+
"@types/ws": "^8.5.10",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
33
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
34
|
+
"concurrently": "^8.2.2",
|
|
35
|
+
"eslint": "^8.57.0",
|
|
36
|
+
"eslint-config-prettier": "^9.1.0",
|
|
37
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
38
|
+
"prettier": "^3.2.5",
|
|
39
|
+
"rimraf": "^5.0.5",
|
|
40
|
+
"typescript": "^5.4.2",
|
|
41
|
+
"updates": "^15.3.1"
|
|
42
|
+
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/seydx/camera.ui/issues"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18.12.0"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/seydx/camera.ui#readme",
|
|
50
|
+
"keywords": [
|
|
51
|
+
"camera.ui"
|
|
52
|
+
],
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/seydx/camera.ui.git"
|
|
57
|
+
}
|
|
58
|
+
}
|