svelte-tel-input 3.2.1 → 3.2.2

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
@@ -20,6 +20,7 @@ npm install --save svelte-tel-input
20
20
 
21
21
  ## Features
22
22
 
23
+ - Support SSR/SSG.
23
24
  - Parse and validate phone number.You can store one exact format (`E164`), no matter how users type their phone numbers.
24
25
  - Format (specified to its country), to make it more readable.
25
26
  - Prevent non-digits typing into the input, except the leading `+` sign (and `space` optionally).
@@ -190,17 +191,15 @@ The default export of the library is the main TelInput component. It has the fol
190
191
 
191
192
  ## Dependencies
192
193
 
193
- [svelte](https://svelte.dev/)
194
-
195
194
  [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js)
196
195
 
197
196
  <p align="right">(<a href="#readme-top">back to top</a>)</p>
198
197
 
199
198
  ## Changelog
200
199
 
201
- | Package | Changelog |
202
- | ------------------------------ | ------------------------- |
203
- | [@gyurielf/svelte-tel-input]() | [Changelog](CHANGELOG.md) |
200
+ | Package | Changelog |
201
+ | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
202
+ | [@gyurielf/svelte-tel-input](https://github.com/gyurielf/svelte-tel-input/tree/main/packages/svelte-tel-input) | [Changelog](https://github.com/gyurielf/svelte-tel-input/blob/main/packages/svelte-tel-input/CHANGELOG.md) |
204
203
 
205
204
  <p align="right">(<a href="#readme-top">back to top</a>)</p>
206
205
 
@@ -1,5 +1,4 @@
1
- /// <reference types="svelte" />
2
1
  export declare const watcher: (initialValue: string | null, watchFunction: (oldVal: string | null, newVal: string | null) => void) => {
3
- subscribe: (this: void, run: import("svelte/store").Subscriber<string | null>, invalidate?: import("svelte/store").Invalidator<string | null> | undefined) => import("svelte/store").Unsubscriber;
2
+ subscribe: (this: void, run: import("svelte/store").Subscriber<string | null>, invalidate?: ((value?: string | null | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
4
3
  set: (value: string | null) => void;
5
4
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-tel-input",
3
3
  "description": "svelte-tel-input",
4
- "version": "3.2.1",
4
+ "version": "3.2.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/gyurielf/svelte-tel-input.git"
@@ -27,12 +27,10 @@
27
27
  "pnpm": ">= 8"
28
28
  },
29
29
  "peerDependencies": {
30
- "libphonenumber-js": "^1.10.30",
31
30
  "svelte": "^3.58.0 || ^4.0.0"
32
31
  },
33
32
  "dependencies": {
34
- "libphonenumber-js": "^1.10.37",
35
- "svelte": "^4.0.5"
33
+ "libphonenumber-js": "^1.10.37"
36
34
  },
37
35
  "devDependencies": {
38
36
  "@sveltejs/adapter-auto": "2.1.0",
@@ -41,27 +39,28 @@
41
39
  "@testing-library/svelte": "^4.0.3",
42
40
  "@testing-library/user-event": "^14.4.3",
43
41
  "@types/micromatch": "^4.0.2",
44
- "@typescript-eslint/eslint-plugin": "^6.0.0",
45
- "@typescript-eslint/parser": "^6.0.0",
42
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
43
+ "@typescript-eslint/parser": "^6.1.0",
46
44
  "autoprefixer": "^10.4.14",
47
45
  "cssnano": "^6.0.1",
48
46
  "dotenv": "^16.3.1",
49
47
  "eslint": "^8.45.0",
50
48
  "eslint-config-prettier": "^8.8.0",
51
49
  "eslint-plugin-import": "^2.27.5",
52
- "eslint-plugin-svelte": "^2.32.2",
50
+ "eslint-plugin-svelte": "^2.32.4",
53
51
  "jsdom": "^22.1.0",
54
52
  "micromatch": "^4.0.5",
55
- "postcss": "^8.4.26",
53
+ "postcss": "^8.4.27",
56
54
  "prettier": "^2.8.8",
57
55
  "prettier-plugin-svelte": "^2.10.1",
58
56
  "publint": "^0.1.16",
57
+ "svelte": "^3.58.0",
59
58
  "svelte-check": "^3.4.6",
60
59
  "svelte2tsx": "^0.6.19",
61
60
  "tailwindcss": "^3.3.3",
62
61
  "tslib": "^2.6.0",
63
62
  "typescript": "^5.1.6",
64
- "vite": "^4.4.4",
63
+ "vite": "^4.4.6",
65
64
  "vitest": "^0.33.0"
66
65
  },
67
66
  "type": "module",