libphonenumber-js 1.13.5 → 1.13.7

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/.gitlab-ci.yml CHANGED
@@ -1,4 +1,6 @@
1
- image: node:22
1
+ # Node 24+ ensures that npm 11.5+ is natively available.
2
+ # The `npm` version must meet the minimum requirements for "trusted publishing".
3
+ image: node:24
2
4
 
3
5
  pages:
4
6
  script:
@@ -12,20 +14,38 @@ pages:
12
14
  paths:
13
15
  - public
14
16
 
15
- # Does not run on schedule
17
+ # Does not run on schedule.
16
18
  rules:
17
19
  - if: $CI_PIPELINE_SOURCE == "schedule" || $CI_COMMIT_BRANCH != "master"
18
20
  when: never # Excludes this job from scheduled pipeline types
19
21
  - when: on_success
20
22
 
21
23
  update-metadata:
24
+ # OIDC ID token that is used for "trusted publishing".
25
+ id_tokens:
26
+ NPM_ID_TOKEN:
27
+ aud: "npm:registry.npmjs.org"
28
+ SIGSTORE_ID_TOKEN:
29
+ aud: sigstore
30
+
31
+ # (security) Restrict publishing to tagged releases only.
32
+ # But it did output an error: "jobs:update-metadata config key may not be used with `rules`: only".
33
+ # only:
34
+ # - tags
35
+
36
+ before_script:
37
+ - git config --global user.email "metadata-updater@gay.com"
38
+ - git config --global user.name "Metadata Updater"
39
+
22
40
  script:
41
+ # Verify that `npm` version meets the minimum requirements for "trusted publishing".
42
+ - npm --version
23
43
  - git checkout master
24
44
  - npm install
25
45
  - npm run metadata:update:job
26
46
 
27
- # Only runs on schedule
47
+ # Only runs on schedule.
28
48
  rules:
29
49
  - if: $CI_PIPELINE_SOURCE == "schedule" && $TASK_TYPE == "metadata-update"
30
50
  when: always
31
- - when: never # Excludes this job from non-scheduled pipeline types
51
+ - when: never # Excludes this job from non-scheduled pipeline types.
package/CHANGELOG.md CHANGED
@@ -69,6 +69,25 @@ And edit the README:
69
69
 
70
70
  <!-- CHANGELOG START -->
71
71
 
72
+ 1.13.7 / 18.6.2026
73
+ ===================
74
+
75
+ * Updated metadata to version 9.0.33:
76
+ - Updated phone metadata for region code(s):
77
+ BF, KE, MC, MW, NO, SG, SI, UG, VN
78
+ - Updated geocoding data for country calling code(s): 47 (en)
79
+ - Updated carrier data for country calling code(s):
80
+ 36 (en), 40 (en), 65 (en), 84 (en), 232 (en), 235 (en), 250 (en), 256 (en),
81
+ 265 (en), 386 (en), 503 (en), 1868 (en)
82
+
83
+ 1.13.6 / 5.6.2026
84
+ ===================
85
+
86
+ * Updated metadata to version 9.0.32:
87
+ - Updated phone metadata for region code(s): DZ, JP, NO, SJ, SO, UG
88
+ - Updated carrier data for country calling code(s):
89
+ 33 (en), 47 (en), 233 (en), 252 (en), 256 (en)
90
+
72
91
  1.13.5 / 03.06.2026
73
92
  ===================
74
93