Commit 8994a23b1ec for woocommerce

commit 8994a23b1ec9f2c4e581b9ead2ede5b13af26bac
Author: Raluca Stan <ralucastn@gmail.com>
Date:   Fri Oct 9 16:58:07 2026 +0200

    Fix the Checkout block rejecting 4-digit Argentine postcodes (#69658)

diff --git a/plugins/woocommerce/changelog/fix-wooplug-7949-argentine-postcodes b/plugins/woocommerce/changelog/fix-wooplug-7949-argentine-postcodes
new file mode 100644
index 00000000000..d7e4ff6304f
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-wooplug-7949-argentine-postcodes
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Accept legacy four-digit Argentine postcodes in the Checkout block again.
diff --git a/plugins/woocommerce/client/blocks/package.json b/plugins/woocommerce/client/blocks/package.json
index 0c491c4642b..0ae3c9bdf5a 100644
--- a/plugins/woocommerce/client/blocks/package.json
+++ b/plugins/woocommerce/client/blocks/package.json
@@ -256,7 +256,7 @@
 		"fast-deep-equal": "^3.1.3",
 		"fast-sort": "^3.4.0",
 		"html-react-parser": "3.0.4",
-		"postcode-validator": "3.10.22",
+		"postcode-validator": "3.9.2",
 		"preact": "^10.24.2",
 		"prop-types": "^15.8.1",
 		"react-number-format": "5.4.5",
diff --git a/plugins/woocommerce/client/blocks/packages/public-api/blocks-checkout/utils/validation/test/is-postcode.ts b/plugins/woocommerce/client/blocks/packages/public-api/blocks-checkout/utils/validation/test/is-postcode.ts
index 2804d3bc051..c274c43a14e 100644
--- a/plugins/woocommerce/client/blocks/packages/public-api/blocks-checkout/utils/validation/test/is-postcode.ts
+++ b/plugins/woocommerce/client/blocks/packages/public-api/blocks-checkout/utils/validation/test/is-postcode.ts
@@ -197,6 +197,17 @@ describe( 'isPostcode', () => {
 		[ true, '2000', 'AU' ],
 		[ false, '2000#', 'AU' ],

+		// Argentina uses the fallback too. The legacy four digit codes are
+		// still in everyday use next to the lettered format; postcode-validator
+		// 3.10 started rejecting them.
+		[ true, '1213', 'AR' ],
+		[ true, '7540', 'AR' ],
+		[ true, 'C1213', 'AR' ],
+		[ true, 'C1213ABC', 'AR' ],
+		[ true, 'B7540', 'AR' ],
+		[ false, '142', 'AR' ],
+		[ false, 'I1213', 'AR' ],
+
 		// Unknown country codes — assumed valid since no regex applies.
 		[ true, '12345', 'XX' ],
 		[ true, 'anything', 'ZZ' ],
diff --git a/plugins/woocommerce/i18n/postcode-validation-rules.json b/plugins/woocommerce/i18n/postcode-validation-rules.json
index d61b03ee459..73ad6196868 100644
--- a/plugins/woocommerce/i18n/postcode-validation-rules.json
+++ b/plugins/woocommerce/i18n/postcode-validation-rules.json
@@ -1,7 +1,7 @@
 {
 	"generatedFrom": {
 		"package": "postcode-validator",
-		"version": "3.10.22"
+		"version": "3.9.2"
 	},
 	"rules": {
 		"AT": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cec0e718320..b4df5aa1836 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3420,8 +3420,8 @@ importers:
         specifier: 3.0.4
         version: 3.0.4(react@18.3.1)
       postcode-validator:
-        specifier: 3.10.22
-        version: 3.10.22
+        specifier: 3.9.2
+        version: 3.9.2
       preact:
         specifier: ^10.24.2
         version: 10.29.1
@@ -16198,9 +16198,8 @@ packages:
     resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
     engines: {node: '>= 0.4'}

-  postcode-validator@3.10.22:
-    resolution: {integrity: sha512-4rQfw8cPGHaAwIJsOAh1RTxr34EkBcKYYgp72+IQrVTPnmmrdz45OsVeese6X7oOkJ19SY/leRP+o1syeWGJuw==}
-    engines: {node: '>=20.8.1'}
+  postcode-validator@3.9.2:
+    resolution: {integrity: sha512-C+oaXif+z+mAN1EWDZG/EM2dnrUxRQR0gpMq8VeLSZwHuT3Bqo4hR3+k7OaEevPl0VK/7W27JwEQb24CbdtzuQ==}

   postcss-calc@8.2.4:
     resolution: {integrity: sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==}
@@ -37768,7 +37767,7 @@ snapshots:

   possible-typed-array-names@1.1.0: {}

-  postcode-validator@3.10.22: {}
+  postcode-validator@3.9.2: {}

   postcss-calc@8.2.4(postcss@8.5.26):
     dependencies: