@hpcc-js/wasm 1.15.4 → 1.15.5
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/bin/cli.js +1 -1
- package/dist/expat.es6.js +6 -3
- package/dist/expat.es6.js.map +1 -1
- package/dist/expat.js +6 -3
- package/dist/expat.js.map +1 -1
- package/dist/expatlib.wasm +0 -0
- package/dist/graphviz.es6.js +6 -3
- package/dist/graphviz.es6.js.map +1 -1
- package/dist/graphviz.js +6 -3
- package/dist/graphviz.js.map +1 -1
- package/dist/graphvizlib.wasm +0 -0
- package/dist/index.es6.js +7 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.es6.js +294 -0
- package/dist/index.node.es6.js.map +1 -0
- package/dist/index.node.js +306 -0
- package/dist/index.node.js.map +1 -0
- package/package.json +24 -11
- package/types/util.d.ts +1 -0
- package/types/util.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/wasm",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.5",
|
|
4
4
|
"description": "hpcc-js - WASM Libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphviz",
|
|
@@ -15,8 +15,19 @@
|
|
|
15
15
|
"patchwork",
|
|
16
16
|
"xml"
|
|
17
17
|
],
|
|
18
|
-
"
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./types/index.d.ts",
|
|
21
|
+
"node": {
|
|
22
|
+
"import": "./dist/index.node.es6.js",
|
|
23
|
+
"require": "./dist/index.node.js"
|
|
24
|
+
},
|
|
25
|
+
"default": "./dist/index.es6.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"main": "dist/index.node.js",
|
|
19
29
|
"module": "dist/index.es6",
|
|
30
|
+
"module-node": "dist/index.node.es6",
|
|
20
31
|
"browser": "dist/index.js",
|
|
21
32
|
"unpkg": "dist/index.min.js",
|
|
22
33
|
"jsdelivr": "dist/index.min.js",
|
|
@@ -44,7 +55,7 @@
|
|
|
44
55
|
"install-vcpkg:win32": "wsl -e ./scripts/cpp-install-vcpkg.sh",
|
|
45
56
|
"install-build-deps": "run-p install-emsdk install-graphviz install-vcpkg",
|
|
46
57
|
"uninstall-build-deps": "rimraf ./emsdk ./src-graphviz ./vcpkg ./src-expat ./src-vcpkg",
|
|
47
|
-
"clean": "rimraf coverage
|
|
58
|
+
"clean": "rimraf build coverage dist lib* tmp types *.tsbuildinfo",
|
|
48
59
|
"compile-es6": "tsc --module es6 --outDir ./lib-es6",
|
|
49
60
|
"compile-es6-watch": "npm run compile-es6 -- -w",
|
|
50
61
|
"compile-umd": "tsc --module umd --outDir ./lib-umd",
|
|
@@ -64,10 +75,12 @@
|
|
|
64
75
|
"lint": "eslint src/**/*.ts",
|
|
65
76
|
"lint-fix": "npm run lint -- --fix",
|
|
66
77
|
"test-cli": "node ./bin/cli.js -v",
|
|
78
|
+
"test-bundle": "npx -y esbuild --bundle ./dist/index.js --bundle ./dist/index.es6.js --outdir=tmp",
|
|
79
|
+
"test-bundle-node": "npx -y esbuild --bundle --platform=node --bundle ./dist/index.node.js ./dist/index.node.es6.js --outdir=tmp",
|
|
67
80
|
"test-chrome": "karma start --single-run --browsers ChromeHeadless karma.conf.js",
|
|
68
81
|
"test-firefox": "karma start --single-run --browsers Firefox karma.conf.js",
|
|
69
|
-
"test-node": "node ./bin/cli.js -v && mocha ./dist/test.js --reporter spec",
|
|
70
|
-
"test": "run-
|
|
82
|
+
"test-node": "node ./bin/cli.js -v && mocha ./dist/test.node.js --reporter spec",
|
|
83
|
+
"test": "run-s test-bundle test-bundle-node test-chrome test-node",
|
|
71
84
|
"tag": "run-s standard-version git-push",
|
|
72
85
|
"purge-jsdelivr": "node ./utils/purge-jsdelivr.js",
|
|
73
86
|
"update-major": "npx npm-check-updates -u",
|
|
@@ -84,10 +97,10 @@
|
|
|
84
97
|
"@types/chai": "4.3.3",
|
|
85
98
|
"@types/mocha": "9.1.1",
|
|
86
99
|
"@types/emscripten": "1.39.6",
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
88
|
-
"@typescript-eslint/parser": "5.
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "5.36.2",
|
|
101
|
+
"@typescript-eslint/parser": "5.36.2",
|
|
89
102
|
"chai": "4.3.6",
|
|
90
|
-
"eslint": "8.
|
|
103
|
+
"eslint": "8.23.0",
|
|
91
104
|
"karma": "6.4.0",
|
|
92
105
|
"karma-chai": "0.1.0",
|
|
93
106
|
"karma-chrome-launcher": "3.1.1",
|
|
@@ -98,13 +111,13 @@
|
|
|
98
111
|
"mocha": "10.0.0",
|
|
99
112
|
"npm-run-all": "4.1.5",
|
|
100
113
|
"rimraf": "3.0.2",
|
|
101
|
-
"rollup": "2.
|
|
114
|
+
"rollup": "2.79.0",
|
|
102
115
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
103
116
|
"run-script-os": "1.1.6",
|
|
104
117
|
"standard-version": "9.5.0",
|
|
105
|
-
"terser": "5.
|
|
118
|
+
"terser": "5.15.0",
|
|
106
119
|
"tslib": "2.4.0",
|
|
107
|
-
"typescript": "4.
|
|
120
|
+
"typescript": "4.8.2"
|
|
108
121
|
},
|
|
109
122
|
"repository": {
|
|
110
123
|
"type": "git",
|
package/types/util.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function wasmFolder(_?: string): string | undefined;
|
|
2
|
+
export declare function __require__(filePath: string): void;
|
|
2
3
|
export declare function loadWasm(_wasmLib: any, filename: string, wf?: string, wasmBinary?: ArrayBuffer): Promise<any>;
|
|
3
4
|
export declare function loadWasmOld(_wasmLib: any, filename: string, wf?: string, wasmBinary?: Uint8Array): Promise<any>;
|
|
4
5
|
//# sourceMappingURL=util.d.ts.map
|
package/types/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKzD;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKzD;AAiCD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,QAE3C;AASD,wBAAsB,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAMnH;AAYD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,CAY/G"}
|