Skip to content

Commit bfeb018

Browse files
committed
Refactor type definitions and improve data validation in geographic data functions
1 parent bd8136d commit bfeb018

File tree

10 files changed

+1094
-2060
lines changed

10 files changed

+1094
-2060
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,16 @@ If you prefer not to install the package and want to include the ECMAScript modu
172172
project, you can use the following script tag:
173173

174174
- CDN (
175-
jsDelivr): [`https://cdn.jsdelivr.net/npm/[email protected].11/dist/index.mjs`](https://cdn.jsdelivr.net/npm/[email protected]/dist/index.mjs)
175+
jsDelivr): [`https://cdn.jsdelivr.net/npm/[email protected].12/dist/index.mjs`](https://cdn.jsdelivr.net/npm/[email protected]/dist/index.mjs)
176176

177-
- NPM: [`https://unpkg.com/[email protected].11/dist/index.mjs`](https://unpkg.com/[email protected]/dist/index.mjs)
177+
- NPM: [`https://unpkg.com/[email protected].12/dist/index.mjs`](https://unpkg.com/[email protected]/dist/index.mjs)
178178

179179
Import Statement:
180180

181181
```html
182182

183183
<script type="module">
184-
import usePostalPH from 'https://unpkg.com/[email protected].11/dist/index.mjs';
184+
import usePostalPH from 'https://unpkg.com/[email protected].12/dist/index.mjs';
185185
186186
const {
187187
fetchDataLists,

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-postal-ph",
3-
"version": "1.1.11",
3+
"version": "1.1.12",
44
"description": "This utility library is specifically designed for the Philippines, providing comprehensive information on postal codes,\nmunicipalities, locations, and regions. Moreover, searching within the library is case insensitive.",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -37,22 +37,22 @@
3737
"email": "[email protected]"
3838
},
3939
"devDependencies": {
40-
"@playwright/test": "^1.46.1",
41-
"@swc/core": "^1.7.18",
42-
"@types/node": "^22.5.0",
43-
"terser": "^5.31.6",
44-
"tsup": "^8.2.4",
45-
"typescript": "^5.5.4"
40+
"@playwright/test": "^1.51.1",
41+
"@swc/core": "^1.11.16",
42+
"@types/node": "^22.14.0",
43+
"terser": "^5.39.0",
44+
"tsup": "^8.4.0",
45+
"typescript": "^5.8.3"
4646
},
4747
"publishConfig": {
4848
"access": "public"
4949
},
5050
"scripts": {
51-
"test": "yarn playwright test",
52-
"test-headed": "yarn playwright test --headed",
53-
"test-web": "yarn playwright test --ui web",
54-
"codegen": "yarn playwright codegen",
55-
"debug-web": "yarn playwright test web --debug",
51+
"test": "pnpm playwright test",
52+
"test-headed": "pnpm playwright test --headed",
53+
"test-web": "pnpm playwright test --ui web",
54+
"codegen": "pnpm playwright codegen",
55+
"debug-web": "pnpm playwright test web --debug",
5656
"report": "playwright show-report",
5757
"build": "tsup",
5858
"start": "node dist/index.js"

0 commit comments

Comments
 (0)