@rel-packages/osu-beatmap-parser 0.1.7 → 0.1.8
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.js
CHANGED
|
@@ -8,8 +8,9 @@ exports.get_properties = get_properties;
|
|
|
8
8
|
exports.process_beatmaps = process_beatmaps;
|
|
9
9
|
exports.get_duration = get_duration;
|
|
10
10
|
exports.get_audio_duration = get_audio_duration;
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const node_gyp_build_1 = __importDefault(require("node-gyp-build"));
|
|
12
|
+
const path_1 = __importDefault(require("path"));
|
|
13
|
+
const native = (0, node_gyp_build_1.default)(path_1.default.join(__dirname, ".."));
|
|
13
14
|
function get_property(location, key) {
|
|
14
15
|
return native.get_property(location, key);
|
|
15
16
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rel-packages/osu-beatmap-parser",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": ".osu parser for nodejs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"homepage": "https://github.com/mezleca/osu-beatmap-parser",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"install": "prebuild-install || npm run compile",
|
|
10
9
|
"dev": "npm run compile:native && tsx scripts/verify.ts",
|
|
11
10
|
"compile": "npm run compile:native && npm run compile:tsc",
|
|
12
11
|
"compile:tsc": "tsc",
|
|
@@ -19,24 +18,16 @@
|
|
|
19
18
|
"repository": {
|
|
20
19
|
"url": "https://github.com/mezleca/osu-beatmap-parser.git"
|
|
21
20
|
},
|
|
22
|
-
"binary": {
|
|
23
|
-
"module_name": "osu-beatmap-parser",
|
|
24
|
-
"module_path": "./build/Release/",
|
|
25
|
-
"host": "https://github.com/mezleca/osu-beatmap-parser/releases/download/",
|
|
26
|
-
"remote_path": "{version}"
|
|
27
|
-
},
|
|
28
21
|
"type": "commonjs",
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"bindings": "^1.5.0",
|
|
31
|
-
"prebuild-install": "^7.1.2"
|
|
32
|
-
},
|
|
33
22
|
"devDependencies": {
|
|
34
23
|
"@types/bindings": "^1.5.5",
|
|
35
24
|
"@types/node": "^24.10.1",
|
|
36
25
|
"cmake-js": "^7.4.0",
|
|
37
26
|
"node-addon-api": "^8.5.0",
|
|
38
|
-
"prebuild": "^13.0.1",
|
|
39
27
|
"tsx": "^4.21.0",
|
|
40
28
|
"typescript": "^5.9.3"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"node-gyp-build": "^4.8.4"
|
|
41
32
|
}
|
|
42
33
|
}
|
|
Binary file
|
|
Binary file
|