@lodestar/utils 1.28.0-dev.eaa83aa741 → 1.28.0-dev.f6146b8509

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/lib/assert.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare const assert: {
16
16
  * actual !== null
17
17
  * ```
18
18
  */
19
- notNull<T_1>(actual: T_1 | null, message?: string): asserts actual is T_1;
19
+ notNull<T>(actual: T | null, message?: string): asserts actual is T;
20
20
  /**
21
21
  * Assert less than or equal
22
22
  * ```js
package/lib/bytes.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  type Endianness = "le" | "be";
3
2
  /**
4
3
  * @deprecated Use toHex() instead.
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/ChainSafe/lodestar/issues"
13
13
  },
14
- "version": "1.28.0-dev.eaa83aa741",
14
+ "version": "1.28.0-dev.f6146b8509",
15
15
  "type": "module",
16
16
  "exports": "./lib/index.js",
17
17
  "files": [
@@ -27,14 +27,11 @@
27
27
  "build:watch": "yarn run build --watch",
28
28
  "build:release": "yarn clean && yarn build",
29
29
  "check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
30
- "check-types": "tsc && vitest --run --typecheck --dir test/types/",
30
+ "check-types": "tsc && vitest run --typecheck --dir test/types/",
31
31
  "lint": "biome check src/ test/",
32
32
  "lint:fix": "yarn run lint --write",
33
- "test:unit": "vitest --run --dir test/unit",
34
- "test:browsers": "yarn test:browsers:chrome && yarn test:browsers:firefox && yarn test:browsers:electron",
35
- "test:browsers:chrome": "vitest --run --browser chrome --config ./vitest.browser.config.ts --dir test/unit",
36
- "test:browsers:firefox": "vitest --run --browser firefox --config ./vitest.browser.config.ts --dir test/unit",
37
- "test:browsers:electron": "echo 'Electron tests will be introduced back in the future as soon vitest supports electron.'",
33
+ "test:unit": "vitest run --dir test/unit",
34
+ "test:browsers": "vitest run --config ./vitest.browser.config.ts --dir test/unit",
38
35
  "check-readme": "typescript-docs-verifier"
39
36
  },
40
37
  "types": "lib/index.d.ts",
@@ -56,5 +53,5 @@
56
53
  "beacon",
57
54
  "blockchain"
58
55
  ],
59
- "gitHead": "e1aeb658e0a8fb745bcb0bd580bc7b86b09fc30e"
56
+ "gitHead": "4f58cf9afb99f521a722afc71830e8f52a303f1a"
60
57
  }