app-store-scraper-bun 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +13 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  A modern, fully-typed TypeScript library for scraping public data from the Apple App Store.
4
4
 
5
- [![Tests](https://img.shields.io/badge/tests-44%20passed-brightgreen)](#test-coverage)
6
- [![Coverage](https://img.shields.io/badge/coverage-85%25-green)](#test-coverage)
5
+ [![Tests](https://img.shields.io/badge/tests-49%20passed-brightgreen)](#test-coverage)
6
+ [![Coverage](https://img.shields.io/badge/coverage-95%25-green)](#test-coverage)
7
7
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue)](https://www.typescriptlang.org/)
8
8
  [![Bun](https://img.shields.io/badge/Bun-1.0+-black)](https://bun.sh/)
9
9
 
@@ -164,25 +164,28 @@ bun test --coverage
164
164
 
165
165
  | Metric | Coverage |
166
166
  |--------|----------|
167
- | **Functions** | 95.02% |
168
- | **Lines** | 84.98% |
169
- | **Tests** | 44 passed |
170
- | **Assertions** | 1,616 |
167
+ | **Functions** | 97.07% |
168
+ | **Lines** | 95.06% |
169
+ | **Tests** | 49 passed |
170
+ | **Assertions** | 1,661 |
171
171
 
172
172
  ### Per-File Coverage
173
173
 
174
174
  | File | Functions | Lines |
175
175
  |------|-----------|-------|
176
176
  | src/app.ts | 100% | 100% |
177
- | src/search.ts | 100% | 100% |
177
+ | src/common.ts | 92% | 100% |
178
178
  | src/constants.ts | 100% | 100% |
179
179
  | src/developer.ts | 100% | 100% |
180
+ | src/index.ts | 100% | 95% |
180
181
  | src/list.ts | 100% | 97% |
182
+ | src/privacy.ts | 100% | 99% |
181
183
  | src/ratings.ts | 100% | 97% |
184
+ | src/reviews.ts | 100% | 93% |
185
+ | src/search.ts | 100% | 100% |
182
186
  | src/similar.ts | 100% | 93% |
183
- | src/reviews.ts | 100% | 87% |
184
187
  | src/suggest.ts | 67% | 84% |
185
- | src/common.ts | 64% | 76% |
188
+ | src/version-history.ts | 100% | 97% |
186
189
 
187
190
  ## Running Tests
188
191
 
@@ -199,7 +202,7 @@ bun test --coverage
199
202
 
200
203
  ## Known Limitations
201
204
 
202
- 1. **Privacy & Version History**: These endpoints require extracting authentication tokens from Apple's web pages, which may break if Apple changes their page structure
205
+ 1. **Privacy & Version History**: These endpoints parse data directly from App Store HTML pages. If Apple significantly changes their page structure, these functions may need updates
203
206
  2. **Rate Limits**: Apple may rate-limit or block requests if too many are made in a short period
204
207
  3. **Data Accuracy**: Data comes from public App Store pages and APIs; some information may be region-specific
205
208
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app-store-scraper-bun",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Modern TypeScript library for scraping Apple App Store data. Fully typed, minimal dependencies, optimized for Bun.",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",