@hpcc-js/wasm-zstd 1.0.2 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/wasm-zstd",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "hpcc-js - WASM zstd",
5
5
  "type": "module",
6
6
  "exports": {
@@ -27,16 +27,14 @@
27
27
  "build": "run-p build-types build-ts",
28
28
  "lint-skypack": "npx -y @skypack/package-check",
29
29
  "lint-eslint": "eslint src/**/*.ts",
30
- "lint": "run-p lint-eslint lint-skypack",
30
+ "lint": "run-p lint-eslint",
31
31
  "test-chrome": "karma start --single-run --browsers ChromiumHeadless karma.conf.cjs",
32
32
  "test-firefox": "karma start --single-run --browsers Firefox karma.conf.cjs",
33
33
  "test-node": "mocha ./dist-test/index.node.js --reporter spec",
34
- "test": "run-s test-chrome test-node"
34
+ "test": "run-s test-chrome test-node",
35
+ "update": "npx -y npm-check-updates -u -t minor",
36
+ "update-major": "npx -y npm-check-updates -u"
35
37
  },
36
- "dependencies": {
37
- "yargs": "17.7.2"
38
- },
39
- "devDependencies": {},
40
38
  "keywords": [
41
39
  "graphviz",
42
40
  "typescript",
@@ -52,5 +50,6 @@
52
50
  "url": "git+https://github.com/hpcc-systems/hpcc-js-wasm.git"
53
51
  },
54
52
  "homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/",
55
- "license": "Apache-2.0"
56
- }
53
+ "license": "Apache-2.0",
54
+ "gitHead": "7c8edd51ff7229d9ccb3264bba3485b89f3d2f0d"
55
+ }
package/src/zstd.ts CHANGED
@@ -1,4 +1,4 @@
1
- // @ts-ignore
1
+ // @ts-expect-error importing from a wasm file is resolved via a custom esbuild plugin
2
2
  import load, { reset } from "../../../build/packages/zstd/src-cpp/zstdlib.wasm";
3
3
  import { WasmLibrary } from "./wasm-library.ts";
4
4
 
@@ -13,7 +13,7 @@ let g_zstd: Promise<Zstd>;
13
13
  * See [Zstandard](https://facebook.github.io/zstd/) for more details.
14
14
  *
15
15
  * ```ts
16
- * import { Zstd } from "@hpcc-js/wasm/zstd";
16
+ * import { Zstd } from "@hpcc-js/wasm-zstd";
17
17
  *
18
18
  * const zstd = await Zstd.load();
19
19
  *
package/types/zstd.d.ts CHANGED
@@ -5,7 +5,7 @@ import { WasmLibrary } from "./wasm-library.ts";
5
5
  * See [Zstandard](https://facebook.github.io/zstd/) for more details.
6
6
  *
7
7
  * ```ts
8
- * import { Zstd } from "@hpcc-js/wasm/zstd";
8
+ * import { Zstd } from "@hpcc-js/wasm-zstd";
9
9
  *
10
10
  * const zstd = await Zstd.load();
11
11
  *