@xbbg/core 1.2.1 → 1.2.3
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/README.md +20 -4
- package/dist/index.d.ts +90 -51
- package/dist/index.js +769 -527
- package/dist/index.js.map +1 -1
- package/package.json +82 -56
package/package.json
CHANGED
|
@@ -1,66 +1,98 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xbbg/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Independent Node.js client for Bloomberg-connected data workflows",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist/**",
|
|
9
|
-
"README.md",
|
|
10
|
-
"LICENSE"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build:native": "node ./scripts/build-native.js",
|
|
14
|
-
"build:ts": "tsup",
|
|
15
|
-
"build": "npm run build:native && npm run build:ts",
|
|
16
|
-
"prepack": "npm run build:ts",
|
|
17
|
-
"stage:native-package": "node ./scripts/stage-native-package.js",
|
|
18
|
-
"stamp:version": "node ./scripts/stamp-version.js",
|
|
19
|
-
"smoke:packaged-install": "node ./scripts/smoke-packaged-install.js --packed",
|
|
20
|
-
"bench:subscription-replay": "node ./benchmarks/bench-subscription-replay.js",
|
|
21
|
-
"lint": "eslint .",
|
|
22
|
-
"lint:fix": "eslint --fix .",
|
|
23
|
-
"format": "eslint --fix .",
|
|
24
|
-
"typecheck": "tsc --noEmit",
|
|
25
|
-
"test": "vitest run test/resolve-native.test.ts",
|
|
26
|
-
"test:watch": "vitest test/resolve-native.test.ts",
|
|
27
|
-
"test:smoke": "vitest run test/smoke.test.ts",
|
|
28
|
-
"test:live": "vitest run test/live.test.ts --testTimeout=120000"
|
|
29
|
-
},
|
|
30
5
|
"keywords": [
|
|
6
|
+
"apache-arrow",
|
|
7
|
+
"arrow",
|
|
31
8
|
"bloomberg",
|
|
32
9
|
"blpapi",
|
|
33
10
|
"bpipe",
|
|
34
|
-
"zfp",
|
|
35
11
|
"finance",
|
|
36
12
|
"market-data",
|
|
37
|
-
"apache-arrow",
|
|
38
|
-
"arrow",
|
|
39
13
|
"napi",
|
|
40
14
|
"node-api",
|
|
41
15
|
"rust",
|
|
42
|
-
"typescript"
|
|
16
|
+
"typescript",
|
|
17
|
+
"zfp"
|
|
43
18
|
],
|
|
19
|
+
"homepage": "https://xbbg.org/javascript/",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/alpha-xone/xbbg/issues"
|
|
22
|
+
},
|
|
44
23
|
"license": "Apache-2.0",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/alpha-xone/xbbg.git",
|
|
27
|
+
"directory": "js-xbbg"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist/**",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"type": "commonjs",
|
|
35
|
+
"main": "dist/index.js",
|
|
36
|
+
"types": "dist/index.d.ts",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"require": "./dist/index.js",
|
|
41
|
+
"default": "./dist/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"bench:subscription-replay": "tsx ./benchmarks/bench-subscription-replay.ts",
|
|
50
|
+
"build": "npm run build:native && npm run build:ts",
|
|
51
|
+
"build:native": "tsx ./scripts/build-native.ts",
|
|
52
|
+
"build:offline-bundle": "tsx ./scripts/build-offline-bundle.ts",
|
|
53
|
+
"build:package-loaders": "tsx ./scripts/build-package-loaders.ts",
|
|
54
|
+
"build:ts": "tsup && npm run build:package-loaders",
|
|
55
|
+
"format": "oxfmt .",
|
|
56
|
+
"format:check": "oxfmt --check .",
|
|
57
|
+
"lint": "npm run lint:ox && npm run lint:eslint",
|
|
58
|
+
"lint:eslint": "eslint .",
|
|
59
|
+
"lint:fix": "oxlint . --fix && eslint --fix .",
|
|
60
|
+
"lint:ox": "oxlint .",
|
|
61
|
+
"pack:dry-run": "tsx ./scripts/validate-packages.ts --dry-run",
|
|
62
|
+
"pack:lint": "tsx ./scripts/validate-packages.ts --publint",
|
|
63
|
+
"prepack": "npm run build:ts",
|
|
64
|
+
"quality": "npm run format:check && npm run lint && npm run typecheck && npm run build:ts && npm test",
|
|
65
|
+
"smoke:packaged-install": "tsx ./scripts/smoke-packaged-install.ts --packed",
|
|
66
|
+
"stage:native-package": "tsx ./scripts/stage-native-package.ts",
|
|
67
|
+
"stamp:version": "tsx ./scripts/stamp-version.ts",
|
|
68
|
+
"test": "vitest run test/resolve-native.test.ts",
|
|
69
|
+
"test:live": "vitest run test/live.test.ts --testTimeout=120000",
|
|
70
|
+
"test:smoke": "vitest run test/smoke.test.ts",
|
|
71
|
+
"test:watch": "vitest test/resolve-native.test.ts",
|
|
72
|
+
"typecheck": "tsc --noEmit",
|
|
73
|
+
"types:attw": "tsx ./scripts/validate-packages.ts --attw"
|
|
74
|
+
},
|
|
45
75
|
"dependencies": {
|
|
46
76
|
"apache-arrow": "^21.1.0"
|
|
47
77
|
},
|
|
48
|
-
"optionalDependencies": {
|
|
49
|
-
"@xbbg/core-darwin-arm64": "1.2.1",
|
|
50
|
-
"@xbbg/core-linux-x64": "1.2.1",
|
|
51
|
-
"@xbbg/core-win32-x64": "1.2.1"
|
|
52
|
-
},
|
|
53
78
|
"devDependencies": {
|
|
79
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
80
|
+
"@arethetypeswrong/core": "^0.18.2",
|
|
54
81
|
"@eslint/js": "^10.0.1",
|
|
55
|
-
"@types/node": "^25.
|
|
56
|
-
"eslint": "^10.
|
|
57
|
-
"eslint-plugin-n": "^
|
|
58
|
-
"globals": "^17.
|
|
59
|
-
"jiti": "^2.
|
|
82
|
+
"@types/node": "^25.9.1",
|
|
83
|
+
"eslint": "^10.4.0",
|
|
84
|
+
"eslint-plugin-n": "^18.0.1",
|
|
85
|
+
"globals": "^17.6.0",
|
|
86
|
+
"jiti": "^2.7.0",
|
|
87
|
+
"oxfmt": "^0.51.0",
|
|
88
|
+
"oxlint": "^1.66.0",
|
|
89
|
+
"oxlint-tsgolint": "^0.23.0",
|
|
90
|
+
"publint": "^0.3.21",
|
|
60
91
|
"tsup": "^8.5.1",
|
|
61
|
-
"
|
|
62
|
-
"typescript
|
|
63
|
-
"
|
|
92
|
+
"tsx": "^4.22.3",
|
|
93
|
+
"typescript": "~6.0.3",
|
|
94
|
+
"typescript-eslint": "^8.59.4",
|
|
95
|
+
"vitest": "^4.1.6"
|
|
64
96
|
},
|
|
65
97
|
"peerDependencies": {
|
|
66
98
|
"nodejs-polars": ">=0.10.0"
|
|
@@ -70,19 +102,13 @@
|
|
|
70
102
|
"optional": true
|
|
71
103
|
}
|
|
72
104
|
},
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
},
|
|
78
|
-
"homepage": "https://xbbg.org/javascript/",
|
|
79
|
-
"bugs": {
|
|
80
|
-
"url": "https://github.com/alpha-xone/xbbg/issues"
|
|
81
|
-
},
|
|
82
|
-
"publishConfig": {
|
|
83
|
-
"access": "public"
|
|
105
|
+
"optionalDependencies": {
|
|
106
|
+
"@xbbg/core-darwin-arm64": "1.2.3",
|
|
107
|
+
"@xbbg/core-linux-x64": "1.2.3",
|
|
108
|
+
"@xbbg/core-win32-x64": "1.2.3"
|
|
84
109
|
},
|
|
85
110
|
"engines": {
|
|
86
|
-
"node": ">=
|
|
87
|
-
}
|
|
111
|
+
"node": ">=24"
|
|
112
|
+
},
|
|
113
|
+
"packageManager": "npm@11.13.0"
|
|
88
114
|
}
|