@versatiles/container 1.3.0 → 1.4.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/README.md CHANGED
@@ -1,5 +1,8 @@
1
- [![Code Coverage](https://codecov.io/gh/versatiles-org/node-versatiles-container/branch/main/graph/badge.svg?token=IDHAI13M0K)](https://codecov.io/gh/versatiles-org/node-versatiles-container)
2
- [![GitHub Workflow Status)](https://img.shields.io/github/actions/workflow/status/versatiles-org/node-versatiles-container/ci.yml)](https://github.com/versatiles-org/node-versatiles-container/actions/workflows/ci.yml)
1
+ [![NPM version](https://img.shields.io/npm/v/%40versatiles%2Fcontainer)](https://www.npmjs.com/package/@versatiles/container)
2
+ [![NPM downloads](https://img.shields.io/npm/dt/%40versatiles%2Fcontainer)](https://www.npmjs.com/package/@versatiles/container)
3
+ [![Code coverage](https://codecov.io/gh/versatiles-org/node-versatiles-container/branch/main/graph/badge.svg?token=IDHAI13M0K)](https://codecov.io/gh/versatiles-org/node-versatiles-container)
4
+ [![CI status](https://img.shields.io/github/actions/workflow/status/versatiles-org/node-versatiles-container/ci.yml)](https://github.com/versatiles-org/node-versatiles-container/actions/workflows/ci.yml)
5
+ [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
3
6
 
4
7
  A client library for [VersaTiles containers](https://github.com/versatiles-org/versatiles-spec).
5
8
 
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ export declare class Container {
96
96
  * @returns A promise that resolves with the block index map.
97
97
  * @protected
98
98
  */
99
- protected getBlockIndex(): Promise<Map<string, Block>>;
99
+ getBlockIndex(): Promise<Map<string, Block>>;
100
100
  /**
101
101
  * Asynchronously retrieves the tile index for a specified block. This is an internal method used to
102
102
  * maintain a lookup for every tile within a block.
@@ -105,7 +105,7 @@ export declare class Container {
105
105
  * @returns A promise that resolves with the tile index.
106
106
  * @protected
107
107
  */
108
- protected getTileIndex(block: Block): Promise<TileIndex>;
108
+ getTileIndex(block: Block): Promise<TileIndex>;
109
109
  /**
110
110
  * A protected method to read a chunk of data from the source based on the specified offset and length.
111
111
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/container",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "A client library for reading VersaTiles containers",
5
5
  "scripts": {
6
6
  "build": "rm -rf dist && tsc -p tsconfig.build.json && npm run doc-graph",
@@ -53,18 +53,19 @@
53
53
  "versatiles"
54
54
  ],
55
55
  "devDependencies": {
56
- "@types/node": "^25.2.3",
57
- "@typescript-eslint/eslint-plugin": "^8.55.0",
58
- "@typescript-eslint/parser": "^8.55.0",
59
- "@versatiles/release-tool": "^2.7.1",
56
+ "@eslint/js": "^10.0.1",
57
+ "@types/node": "^25.3.3",
58
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
59
+ "@typescript-eslint/parser": "^8.56.1",
60
+ "@versatiles/release-tool": "^2.7.3",
60
61
  "@vitest/coverage-v8": "^4.0.18",
61
- "eslint": "^9.39.2",
62
+ "eslint": "^10.0.2",
62
63
  "eslint-config-prettier": "^10.1.8",
63
64
  "prettier": "^3.8.1",
64
65
  "ts-node": "^10.9.2",
65
66
  "tsx": "^4.21.0",
66
67
  "typescript": "^5.9.3",
67
- "typescript-eslint": "^8.55.0",
68
+ "typescript-eslint": "^8.56.1",
68
69
  "vitest": "^4.0.18"
69
70
  }
70
71
  }